mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-04 21:19:54 +08:00
【新增】前端个人中心增加【我的发票】的按钮显示,通过后台可开启或关闭。
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -80,7 +80,14 @@
|
||||
<blockquote class="layui-elem-quote" style="padding-top: 20px;line-height: 30px;">
|
||||
控制个人中心面板是否显示以下组件按钮
|
||||
</blockquote>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">{{d.data.configs['invoiceSwitch']['sKey']}}:</label>
|
||||
<div class="layui-input-inline layui-inline-7">
|
||||
<input type="radio" lay-filter="invoiceSwitch" name="invoiceSwitch" value="1" title="开启" {{d.data.configs['invoiceSwitch']['sValue']==="1" ? 'checked':''}}>
|
||||
<input type="radio" lay-filter="invoiceSwitch" name="invoiceSwitch" value="2" title="不开启" {{d.data.configs['invoiceSwitch']['sValue']==="2" ? 'checked':''}}>
|
||||
</div>
|
||||
<div class="layui-form-mid layui-word-aux">关闭后除了不在个人中心显示【我的发票】,下单也不会显示发票模块。</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">{{d.data.configs['showVas']['sKey']}}:</label>
|
||||
<div class="layui-input-inline layui-inline-7">
|
||||
@@ -223,14 +230,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">{{d.data.configs['invoiceSwitch']['sKey']}}:</label>
|
||||
<div class="layui-input-inline layui-inline-7">
|
||||
<input type="radio" lay-filter="invoiceSwitch" name="invoiceSwitch" value="1" title="开启" {{d.data.configs['invoiceSwitch']['sValue']==="1" ? 'checked':''}}>
|
||||
<input type="radio" lay-filter="invoiceSwitch" name="invoiceSwitch" value="2" title="不开启" {{d.data.configs['invoiceSwitch']['sValue']==="2" ? 'checked':''}}>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item" style="margin-top: 20px;">
|
||||
<label class="layui-form-label">{{d.data.configs['recommendKeys']['sKey']}}:</label>
|
||||
<div class="layui-input-inline layui-inline-5">
|
||||
@@ -391,6 +390,7 @@
|
||||
<div class="layui-form-mid layui-word-aux">订单催付款时间,单位为【分钟】,请设置10分钟以上时间,因为催付款任务5分钟执行一次</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
rm
|
||||
<label class="layui-form-label">{{d.data.configs['reshipName']['sKey']}}:</label>
|
||||
<div class="layui-input-inline layui-inline-3">
|
||||
<input type="text" name="reshipName" value="{{d.data.configs['reshipName']['sValue']}}" lay-verify="title" autocomplete="off" placeholder="收货人名称" class="layui-input">
|
||||
|
||||
Reference in New Issue
Block a user