shish hace 2 años
padre
commit
4c2b67f8bb
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      hdApp/src/pagesPurchase/ghsProduct.vue

+ 5 - 2
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -266,7 +266,8 @@ export default {
 			showClassRemind:false,
 			showClassRemind:false,
 			buyNotice:0,
 			buyNotice:0,
 			getappIdList: {},
 			getappIdList: {},
-			backAction:''
+			backAction:'',
+			shareImgUrl:''
 		};
 		};
 	},
 	},
 	onPullDownRefresh() {
 	onPullDownRefresh() {
@@ -357,7 +358,7 @@ export default {
 		return {
 		return {
 			title: this.ghsInfo.name,
 			title: this.ghsInfo.name,
 			desc: "首次下单领红包",
 			desc: "首次下单领红包",
-			imageUrl: this.constant.imgUrl + "/buy_logo.jpg",
+			imageUrl: this.shareImgUrl,
 			path: `pagesPurchase/ghsProduct?hdShopAdminId=${this.loginInfo.shopAdminId}&ghsShopAdminId=${ghsShopAdminId}&shopId=${this.shopId}&id=0&fromGhsId=${this.ghsId}&fromCg=${fromCg}`
 			path: `pagesPurchase/ghsProduct?hdShopAdminId=${this.loginInfo.shopAdminId}&ghsShopAdminId=${ghsShopAdminId}&shopId=${this.shopId}&id=0&fromGhsId=${this.ghsId}&fromCg=${fromCg}`
 		}
 		}
 	},
 	},
@@ -518,6 +519,7 @@ export default {
 			if(this.option.id == 0) {
 			if(this.option.id == 0) {
 				ghsInfo({shopId: this.option.shopId}).then(res => {
 				ghsInfo({shopId: this.option.shopId}).then(res => {
 					this.ghsInfo = res.data
 					this.ghsInfo = res.data
+					this.shareImgUrl = res.data.shareLogo ? res.data.shareLogo : ''
 					let id = res.data.id
 					let id = res.data.id
 					this.ghsId = id
 					this.ghsId = id
 					this.buyNotice = res.data.buyNotice
 					this.buyNotice = res.data.buyNotice
@@ -549,6 +551,7 @@ export default {
 					this.ghsInfo = res.data
 					this.ghsInfo = res.data
 					this.shopId = res.data.shopId
 					this.shopId = res.data.shopId
 					this.buyNotice = res.data.buyNotice
 					this.buyNotice = res.data.buyNotice
+					this.shareImgUrl = res.data.shareLogo ? res.data.shareLogo : ''
 					//只有注册了和没有列入黑名单才判断他是不是花店身份
 					//只有注册了和没有列入黑名单才判断他是不是花店身份
 					if(this.buyNotice == 1){
 					if(this.buyNotice == 1){
 						this.myClass = 'fadeIn'
 						this.myClass = 'fadeIn'