【新增】前端个人中心增加【我的发票】的按钮显示,通过后台可开启或关闭。

This commit is contained in:
JianWeie
2022-09-28 13:09:39 +08:00
parent 62065457c4
commit 1ca80e97d8
2 changed files with 19 additions and 16 deletions

View File

@@ -278,14 +278,14 @@
name: '我的发票',
icon: 'calendar',
router: '/pages/member/invoice/index',
showItem: true
showItem: false
},
myServices: {
name: '我的服务卡',
icon: 'bell',
router: '/pages/member/serviceOrder/index/index',
showItem: false
},
//myServices: {
// name: '我的服务卡',
// icon: 'bell',
// router: '/pages/member/serviceOrder/index/index',
// showItem: true
//},
myIntegral: {
name: '我的' + this.$store.state.config.pointShowName,
icon: 'integral',
@@ -486,6 +486,7 @@
_this.vas.storeMap.showItem = _this.config.showStoresSwitch == 1;
//服务商品
_this.vas.servicePackage.showItem = _this.config.showServicePackage == 1;
_this.utilityMenus.myServices.showItem = _this.config.showServicePackage == 1;
//优惠券
_this.vas.coupons.showItem = _this.config.showCoupon == 1;
//拼团
@@ -498,6 +499,8 @@
_this.vas.solitaire.showItem = _this.config.showSolitaire == 1;
//签到
_this.vas.calendar.showItem = _this.config.showCalendar == 1;
//显示我的发票
_this.utilityMenus.myInvoice.showItem = _this.config.invoiceSwitch == 1;
//获取用户信息
_this.getUserInfo();