积分抵扣、霸王餐、优惠券分享新增
This commit is contained in:
@@ -24,8 +24,13 @@
|
||||
<view class="price-wrap" style="padding-top: 0;" >
|
||||
<view class="price">
|
||||
<text class="i">¥</text>
|
||||
<text class="num">{{ item.salePrice }}</text>
|
||||
<text class="num" v-if="shopUserInfo.isVip ==1 && item.memberPrice>0" style="margin-right: 10rpx;">{{ item.memberPrice }}</text>
|
||||
<text class="i" v-if="shopUserInfo.isVip ==1 && item.memberPrice>0" :class="{lineThrough: shopUserInfo.isVip ==1 && item.memberPrice>0}">¥</text>
|
||||
<text class="num" :class="{lineThrough: shopUserInfo.isVip ==1 && item.memberPrice>0}">{{ item.salePrice }}</text>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
<view class="operation-wrap">
|
||||
<view class="btn" v-if="item.number" >
|
||||
<u-icon name="minus-circle-fill" size="50"></u-icon>
|
||||
@@ -82,7 +87,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
shopUserInfo: uni.cache.get('shopUserInfo')
|
||||
|
||||
}
|
||||
},
|
||||
@@ -297,6 +302,12 @@
|
||||
}
|
||||
|
||||
.num {}
|
||||
.lineThrough{
|
||||
font-weight: normal;
|
||||
text-decoration:line-through;
|
||||
color: #999!important;
|
||||
font-size: 24rpx!important;
|
||||
}
|
||||
}
|
||||
|
||||
.sku-wrap {
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
</view>
|
||||
|
||||
<text class="i">¥</text>
|
||||
<text class="num">{{cartLists.amount||'0.00'}}</text>
|
||||
<text class="num" v-if="shopUserInfo.isVip == 1 && cartLists.memberAmount > 0">{{cartLists.memberAmount||'0.00'}}</text>
|
||||
<text class="num" v-else >{{cartLists.amount||'0.00'}}</text>
|
||||
</view>
|
||||
<view class="btn" @tap="$u.debounce(orderdetail, 500)" >
|
||||
<text class="t">去结算</text>
|
||||
@@ -26,7 +27,7 @@
|
||||
|
||||
data() {
|
||||
return {
|
||||
|
||||
shopUserInfo: uni.cache.get('shopUserInfo')
|
||||
}
|
||||
},
|
||||
props:{
|
||||
|
||||
Reference in New Issue
Block a user