mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 05:09:49 +08:00
【修复】修复后台开启屏蔽优惠券功能,小程序个人中心界面未屏蔽优惠券统计数量展示区域。
This commit is contained in:
@@ -74,22 +74,22 @@
|
|||||||
<view class="user-info-num-box">
|
<view class="user-info-num-box">
|
||||||
|
|
||||||
<u-row customStyle="margin-bottom: 10px">
|
<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-if="!hasLogin">-</view>
|
||||||
<view class="coreshop-font-18" v-else>{{ userInfo.footPrintCount }}</view>
|
<view class="coreshop-font-18" v-else>{{ userInfo.footPrintCount }}</view>
|
||||||
<text class="coreshop-font-11">足迹</text>
|
<text class="coreshop-font-11">足迹</text>
|
||||||
</u-col>
|
</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-if="!hasLogin">-</view>
|
||||||
<view class="coreshop-font-18" v-else>{{ userInfo.userCouponCount }}</view>
|
<view class="coreshop-font-18" v-else>{{ userInfo.userCouponCount }}</view>
|
||||||
<text class="coreshop-font-11">优惠券</text>
|
<text class="coreshop-font-11">优惠券</text>
|
||||||
</u-col>
|
</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-if="!hasLogin">-</view>
|
||||||
<view class="coreshop-font-18" v-else>{{ userInfo.collectionCount }}</view>
|
<view class="coreshop-font-18" v-else>{{ userInfo.collectionCount }}</view>
|
||||||
<text class="coreshop-font-11">收藏</text>
|
<text class="coreshop-font-11">收藏</text>
|
||||||
</u-col>
|
</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-if="!hasLogin">-</view>
|
||||||
<view class="coreshop-font-18" v-else>{{afterSaleNums || 0}}</view>
|
<view class="coreshop-font-18" v-else>{{afterSaleNums || 0}}</view>
|
||||||
<text class="coreshop-font-11">售后</text>
|
<text class="coreshop-font-11">售后</text>
|
||||||
@@ -391,6 +391,7 @@
|
|||||||
list: 2,
|
list: 2,
|
||||||
suTipStatus: false,
|
suTipStatus: false,
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
|
userInfoNavSpan: 3,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -496,6 +497,7 @@
|
|||||||
//优惠券
|
//优惠券
|
||||||
_this.vas.coupons.showItem = _this.config.showCoupon == 1;
|
_this.vas.coupons.showItem = _this.config.showCoupon == 1;
|
||||||
_this.utilityMenus.myCoupon.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;
|
_this.vas.pinTuan.showItem = _this.config.showPinTuan == 1;
|
||||||
//秒杀
|
//秒杀
|
||||||
|
|||||||
Reference in New Issue
Block a user