shish 3 years ago
parent
commit
3fe98a5290
2 changed files with 6 additions and 8 deletions
  1. 1 1
      hdApp/src/pagesPurchase/ghsProduct.vue
  2. 5 7
      hdApp/src/pagesPurchase/readMe.vue

+ 1 - 1
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -428,7 +428,7 @@ export default {
 			this.showInvite = true
 		},
 		getReadMe(info){
-			this.$util.pageTo({url:'/pagesPurchase/readMe?id='+info.id})
+			this.$util.pageTo({url:'/pagesPurchase/readMe?shopId='+info.shopId})
 		},
 		recharge(item){
 			this.$util.pageTo({url:'/pagesStore/me/recharge',query:{ghsId:item.id}})

+ 5 - 7
hdApp/src/pagesPurchase/readMe.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="app-content">
 
-		<view class="list" v-if="ghsId == 8543">
+		<view class="list" v-if="shopId == 520 || shopId == 1489">
 			<view>
 				<view class="title">配送范围:</view>
 			</view>
@@ -26,7 +26,7 @@
 			</view>
 		</view>
 
-		<view class="list" v-if="ghsId == 8241">
+		<view class="list" v-if="shopId == 4804">
 			<view>
 				<view class="title">下单须知:</view>
 			</view>
@@ -67,20 +67,18 @@ export default {
 	mixins: [],
 	data() {
 		return {
-			ghsId:0
+			shopId:0
 		};
 	},
 	onLoad(){
-		this.ghsId = this.option.id
+		this.shopId = this.option.shopId
 	},
 	methods: {
 		goBack(){
 			uni.navigateBack()
 		},
 		toPhone(phone){
-			uni.makePhoneCall({
-				phoneNumber: phone
-			})
+			uni.makePhoneCall({ phoneNumber: phone })
 		}
 	}
 };