商城下单购买,品类接口,钱包依赖

This commit is contained in:
唐明明
2022-01-07 16:28:29 +08:00
parent 6d4971bc5e
commit a75b9e7964
20 changed files with 1176 additions and 69 deletions

View File

@@ -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
}
}
}