【修复】修复后台开启屏蔽优惠券功能,小程序个人中心界面未屏蔽优惠券统计数量展示区域。

This commit is contained in:
大灰灰
2022-12-07 00:08:14 +08:00
parent 7130a0dd09
commit afa3ea4451

View File

@@ -74,22 +74,22 @@
<view class="user-info-num-box">
<u-row customStyle="margin-bottom: 10px">
<u-col span="3" @tap="navigateToHandle('/pages/member/history/index')" textAlign="center">
<u-col :span="userInfoNavSpan" @tap="navigateToHandle('/pages/member/history/index')" textAlign="center">
<view class="coreshop-font-18" v-if="!hasLogin">-</view>
<view class="coreshop-font-18" v-else>{{ userInfo.footPrintCount }}</view>
<text class="coreshop-font-11">足迹</text>
</u-col>
<u-col span="3" @tap="navigateToHandle('/pages/member/coupon/index')" textAlign="center">
<u-col :span="userInfoNavSpan" @tap="navigateToHandle('/pages/member/coupon/index')" textAlign="center" v-if="config.showCoupon == 1">
<view class="coreshop-font-18" v-if="!hasLogin">-</view>
<view class="coreshop-font-18" v-else>{{ userInfo.userCouponCount }}</view>
<text class="coreshop-font-11">优惠券</text>
</u-col>
<u-col span="3" @tap="navigateToHandle('/pages/member/collection/index')" textAlign="center">
<u-col :span="userInfoNavSpan" @tap="navigateToHandle('/pages/member/collection/index')" textAlign="center">
<view class="coreshop-font-18" v-if="!hasLogin">-</view>
<view class="coreshop-font-18" v-else>{{ userInfo.collectionCount }}</view>
<text class="coreshop-font-11">收藏</text>
</u-col>
<u-col span="3" @tap="navigateToHandle('/pages/member/afterSales/list/list')" textAlign="center">
<u-col :span="userInfoNavSpan" @tap="navigateToHandle('/pages/member/afterSales/list/list')" textAlign="center">
<view class="coreshop-font-18" v-if="!hasLogin">-</view>
<view class="coreshop-font-18" v-else>{{afterSaleNums || 0}}</view>
<text class="coreshop-font-11">售后</text>
@@ -391,6 +391,7 @@
list: 2,
suTipStatus: false,
opacity: 0,
userInfoNavSpan: 3,
}
},
onShow() {
@@ -496,6 +497,7 @@
//优惠券
_this.vas.coupons.showItem = _this.config.showCoupon == 1;
_this.utilityMenus.myCoupon.showItem = _this.config.showCoupon == 1;
_this.userInfoNavSpan = _this.config.showCoupon == 1 ? 3 : 4;
//拼团
_this.vas.pinTuan.showItem = _this.config.showPinTuan == 1;
//秒杀