Просмотр исходного кода

关闭活动入口,关闭收款码需开启会员中心限制条件

lianghanqiang 4 лет назад
Родитель
Сommit
1d0bef6470
2 измененных файлов с 18 добавлено и 14 удалено
  1. 2 1
      assets/http/api.js
  2. 16 13
      pages/index/index.vue

+ 2 - 1
assets/http/api.js

@@ -45,7 +45,8 @@ const shop={
 	statistic:p => http.get('shop/indexInfo',{params:p}),
 	memberInfo:p => http.get('shop/memberInfo',{params:p}),
 	shopBillsInfo:p => http.get('shop/shopBillsInfo',{params:p}),
-	feedback: p => http.post('ldt_feedback/feedback/submit', p)
+	feedback: p => http.post('ldt_feedback/feedback/submit', p),
+	queryProductInfo: p => http.get('shop/yeepay/product/fee/query',{params:p}),
 }
 
 

+ 16 - 13
pages/index/index.vue

@@ -135,18 +135,19 @@
 						name: '卡包',
 					}
 				],
-				marketList: [{
-						icon: '/static/index/faqi.png',
-						name: '发起活动',
-						path: '/pages/publish/publish',
-						count: 0
-					},
-					{
-						icon: '/static/index/qingdan.png',
-						name: '活动清单',
-						path: '/pages/activity/activity',
-						count: 0
-					},
+				marketList: [
+					// {
+					// 	icon: '/static/index/faqi.png',
+					// 	name: '发起活动',
+					// 	path: '/pages/publish/publish',
+					// 	count: 0
+					// },
+					// {
+					// 	icon: '/static/index/qingdan.png',
+					// 	name: '活动清单',
+					// 	path: '/pages/activity/activity',
+					// 	count: 0
+					// },
 					{
 						icon: '/static/index/mendian-add.png',
 						name: '添加门店',
@@ -319,7 +320,9 @@
 					return
 				}
 				//审核通过,校验是否开启会员中心
-				if (!this.vuex_isOpenMember && (index == 0 || index == 1)) {
+				// if (!this.vuex_isOpenMember && (index == 0 || index == 1)) {
+				//暂不用开启会员中心也可以使用收款码
+				 if (!(index == 0 || index == 1)) {
 					this.isOpenMemberShow = true
 					return
 				}