mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-18 00:15:54 +08:00
购物车新增领劵判断,优化我的优惠券中可能出现的Bug
This commit is contained in:
@@ -27,10 +27,11 @@
|
||||
<!-- #endif -->
|
||||
</u-checkbox-group>
|
||||
<span class="store-name store-line-desc" @click.stop="navigateToStore(item)">{{
|
||||
item.storeName
|
||||
item.storeName
|
||||
}}</span>
|
||||
<u-icon @click="navigateToStore(item)" size="24" style="margin-left:10rpx;" name="arrow-right"></u-icon>
|
||||
</view>
|
||||
<view class="right-col" @click="navigateToConpon(item)">
|
||||
<view class="right-col" v-if="item.canReceiveCoupon" @click="navigateToConpon(item)">
|
||||
<div class="right-line"></div>
|
||||
<span>领劵</span>
|
||||
</view>
|
||||
@@ -214,6 +215,10 @@ export default {
|
||||
uni.showShareMenu({ withShareTicket: true });
|
||||
// #endif
|
||||
},
|
||||
onPullDownRefresh(){
|
||||
console.log("132")
|
||||
this.getCardData();
|
||||
},
|
||||
/**
|
||||
* 初始化信息
|
||||
*/
|
||||
@@ -508,6 +513,7 @@ export default {
|
||||
});
|
||||
API_Trade.getCarts()
|
||||
.then((result) => {
|
||||
uni.stopPullDownRefresh();
|
||||
if (result.data.success) {
|
||||
this.cartDetail = result.data.result;
|
||||
this.checkout = true;
|
||||
@@ -596,6 +602,7 @@ page {
|
||||
|
||||
.store-name {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.invalid {
|
||||
filter: grayscale(1);
|
||||
|
||||
Reference in New Issue
Block a user