Parcourir la source

超级会员免运费修改

zhengjinyi il y a 3 ans
Parent
commit
af3c82f11a

+ 2 - 1
components/cm-module/creatOrder/freight.vue

@@ -110,7 +110,8 @@
 				}
 			},
 			selectFreight (){//切换运费
-				let self = this,value
+				if(this.vipFlag==1){ return }
+				let self = this
 				uni.showActionSheet({
 				    itemList: self.optionList,
 				    success: function (res) {

+ 3 - 1
components/cm-module/listTemplate/immediatelyList.vue

@@ -279,6 +279,7 @@ export default {
 			priceLoading: true,
 			isShowEmpty: false,
 			isShowEmptyText: '搜索相关商品',
+			userId:0,
 			clubUserId: '',
 			identity: 0,
 			isFocus: false,
@@ -324,6 +325,7 @@ export default {
 		async initGetStotage() {// 初始化
 			const userInfo = await this.$api.getStorage()
 			const clubInfo = await this.$api.getComStorage('orderUserInfo')
+			this.userId = userInfo.userId ? userInfo.userId : 0
 			this.identity = userInfo.userIdentity ? userInfo.userIdentity : 0
 			this.clubUserId = clubInfo.userId ? clubInfo.userId : 0
 			this.getProductAgainInfo()
@@ -410,7 +412,7 @@ export default {
 			productIds = productIdArr.join(',')
 			this.ProductService.querySearchProductPrice({
 				flag:this.identity, //查询促销标记 1协销 2机构 3供应商
-				userId: this.clubUserId,
+				userId: this.userId,
 				productIds: productIds,
 				source: 2
 			})

+ 5 - 5
pages/user/member/member.vue

@@ -247,6 +247,11 @@ export default {
 					privText: '专属优惠券',
 					privName: '超级会员专享'
 				},
+				{
+					icon: 'https://static.caimei365.com/app/img/icon/icon-member-prer8@2x.png',
+					privText: '免运费',
+					privName: '下单全包邮'
+				},
 				{
 					icon: 'https://static.caimei365.com/app/img/icon/icon-member-prer3@2x.png',
 					privText: '采美豆翻倍',
@@ -271,11 +276,6 @@ export default {
 					icon: 'https://static.caimei365.com/app/img/icon/icon-member-prer7@2x.png',
 					privText: '售后服务',
 					privName: '会员加速'
-				},
-				{
-					icon: 'https://static.caimei365.com/app/img/icon/icon-member-prer8@2x.png',
-					privText: '敬请期待',
-					privName: '更多特权'
 				}
 			],
 			listQuery: {