Commit c7adb9e0 authored by Mac's avatar Mac

首店认证

parent aa995aab
......@@ -7,7 +7,7 @@
<block v-for="(item, index) in list" :key="index">
<view @touchmove.stop.prevent @tap="itemClick(index)" :style="[itemStyle(index)]" class="u-action-sheet-item" :class="[index < list.length - 1 ? 'u-border-bottom' : '']"
hover-class="u-hover-class" :hover-stay-time="150">
{{item.text}}
{{ item[name] || item['name']}}
</view>
</block>
<view class="u-gab" v-if="cancelBtn">
......@@ -89,7 +89,12 @@
zIndex: {
type: [String, Number],
default: 0
}
},
// 读取传入的数组对象的属性
name: {
type: String,
default: 'text'
},
},
computed: {
// 顶部提示的样式
......
......@@ -117,7 +117,7 @@ export default {
type: String,
default: '#606266'
},
borderBottom{
borderBottom:{
type: Boolean,
default: false
},
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment