商城下单购买,品类接口,钱包依赖
This commit is contained in:
@@ -9,8 +9,10 @@
|
||||
<view class="address--lists">
|
||||
<view class="address--item" :class="[pattern ? 'chunk': 'broad', {'edit': isEdit}]" v-for="(item, index) in lists" :key="index">
|
||||
<view class="city">
|
||||
<text v-if="item.default" class="city--tag city--default">默认</text>
|
||||
<text v-if="item.tag && item.tag != ''" class="city--tag city--type">{{item.tag}}</text>
|
||||
<block v-if="isTag">
|
||||
<text v-if="item.default" class="city--tag city--default">默认</text>
|
||||
<text v-if="item.tag && item.tag != ''" class="city--tag city--type">{{item.tag}}</text>
|
||||
</block>
|
||||
{{item.city}}
|
||||
</view>
|
||||
<view class="address">{{item.address}}</view>
|
||||
@@ -79,6 +81,11 @@
|
||||
default : () => {
|
||||
return require('../../static/null-icon.png')
|
||||
}
|
||||
},
|
||||
// 是否显示地址标签
|
||||
isTag: {
|
||||
type : Boolean,
|
||||
default : true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user