shish 2 ani în urmă
părinte
comite
a19b34ea4c

+ 0 - 12
hdApp/src/admin/billing/affirmGhs.vue

@@ -78,15 +78,6 @@
 		<button class="admin-button-com middle" :class="[form.transType == 5 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;font-size:23upx;"  @click="changeTransType(5)">到店自取</button>
 	</tui-list-cell>
 
-	<tui-list-cell class="line-cell" :hover="false" :arrow="false" v-else-if="ghsInfo.shopId == 16781">
-		<button class="admin-button-com middle" :class="[form.transType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;"  @click="changeTransType(0)">德邦物流</button>
-		<button class="admin-button-com middle" :class="[form.transType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;"  @click="changeTransType(1)">顺丰物流</button>
-		<button class="admin-button-com middle" :class="[form.transType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(2)">冷链物流</button>
-		<button class="admin-button-com middle" :class="[form.transType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;" @click="changeTransType(3)">航空物流</button>
-		<button class="admin-button-com middle" :class="[form.transType == 4 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;"  @click="changeTransType(4)">同城配送</button>
-		<button class="admin-button-com middle" :class="[form.transType == 5 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;font-size:23upx;"  @click="changeTransType(5)">到店自取</button>
-	</tui-list-cell>
-
 	<tui-list-cell class="line-cell" :hover="false" :arrow="false" v-else-if="ghsInfo.shopId == 29136">
 		<button class="admin-button-com middle" :class="[form.transType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;"  @click="changeTransType(0)">德邦物流</button>
 		<button class="admin-button-com middle" :class="[form.transType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;margin-right:11upx;font-size:23upx;"  @click="changeTransType(1)">顺丰物流</button>
@@ -695,9 +686,6 @@ export default {
 				}else if(res.data && res.data.shopId == 3){
 					//石头花艺
 					this.changeTransType(2)
-				}else if(res.data && res.data.shopId == 16781){
-					//云中花花卉默认德邦
-					this.changeTransType(0)
 				}else if(res.data && res.data.shopId == 29136){
 					this.changeTransType(0)
 				}else{

+ 21 - 1
hdApp/src/admin/ghsProduct/detail.vue

@@ -80,7 +80,12 @@ export default {
       showShare: false,
       isShare:true,
       pageType: "cg",
-      notOpenShop:true
+      notOpenShop:true,
+      title:'',
+      price:0,
+      largeCover:'',
+      id:0,
+      shopId:0
     };
   },
   onLoad(option) {},
@@ -170,6 +175,13 @@ export default {
           if(res.data.discountPrice && Number(res.data.discountPrice) > 0){
             title = '【特价】'+title
           }
+
+          this.title = title
+          this.price = res.data.price
+          this.largeCover = res.data.largeCover
+          this.id = id
+          this.shopId = shopId
+
           let shareParams = {
             title: title,
             desc: res.data.price,
@@ -180,6 +192,14 @@ export default {
         }
       })
     },
+    onShareAppMessage(res) {
+      return {
+        title: this.title,
+        desc: this.price,
+        imageUrl: this.largeCover,
+        path: 'admin/ghsProduct/detail?id='+this.id+'&shopId='+this.shopId
+      }
+    },
     changeNum(e) {
       this.buyNum = e.value;
     },