shish 1 год назад
Родитель
Сommit
b5830a577f

+ 1 - 1
mallApp/src/pages/home/recent.vue

@@ -159,7 +159,7 @@ export default {
       this.$msg('开发中')
     },
     bug(item){
-      this.pageTo({ url:'/pages/item/item?account='+item.shopId})
+      this.pageTo({ url:'/pages/item/item?account='+item.shopId+'&hdId='+item.id})
     },
     init () {
         this.getShopList()

+ 4 - 2
mallApp/src/pages/item/detail.vue

@@ -111,10 +111,12 @@ export default {
     nextFn(num){
       let customData = {...this.data,bigCount: Number(num),smallCount:0,itemPrice:this.data.skPrice,bigPrice:this.data.skPrice,smallPrice:0}
       this.addItemEvent(customData)
-      this.$util.pageTo({url:"/pages/billing/affirmGhs?account="+this.option.account,type:2})
+      let hdId = this.option.hdId ? this.option.hdId : 0
+      this.$util.pageTo({url:"/pages/billing/affirmGhs?account="+this.option.account+'&hdId='+hdId,type:2})
     },
     goShopIndex(){
-      this.$util.pageTo({url:"/pages/item/item?account="+this.option.account,type:2})
+      let hdId = this.option.hdId ? this.option.hdId : 0
+      this.$util.pageTo({url:"/pages/item/item?account="+this.option.account+'&hdId='+hdId,type:2})
     },
     init() {
       let that = this

+ 2 - 1
mallApp/src/pages/item/item.vue

@@ -314,7 +314,8 @@ export default {
 			this.$util.pageTo({url: "/pages/home/category?account="+account+'&hdId='+hdId,type:2})
 		},
 		showBigCover(item){
-      		this.$util.pageTo({url: "/pages/item/detail?id="+item.id+"&account="+this.option.account})
+			let hdId = this.option.hdId ? this.option.hdId : 0
+      		this.$util.pageTo({url: "/pages/item/detail?id="+item.id+"&account="+this.option.account+'&hdId='+hdId})
 		},
 		init(){
 			this.init = false