hml 2 lat temu
rodzic
commit
5064bcab17

+ 8 - 8
purchase_H5/src/components/unbuyModal.vue

@@ -110,14 +110,6 @@ export default {
       reason: "",
       resonList: [
         {
-          title: "流量无法激活",
-          value: "1",
-        },
-        {
-          title: "会员无法领取",
-          value: "2",
-        },
-        {
           title: "最近不用客户端",
           value: "3",
         },
@@ -133,6 +125,14 @@ export default {
           title: "误点误操作",
           value: "6",
         },
+          {
+              title: "流量无法激活",
+              value: "1",
+          },
+          {
+              title: "会员无法领取",
+              value: "2",
+          },
         {
           title: "其他",
           value: "7",

+ 5 - 3
purchase_H5/src/templates/templateTogether-Col/index.vue

@@ -245,7 +245,7 @@ export default {
               c: viceProduct.orderImg,
               p: viceProduct.explainImg
             },
-            id: info.data.primaryProductId,
+            id: info.data.id,
             isCompositeProduct: 0,   //是否复合产品
             logoPic: mainJson.logoPic,
             manualInfo: info.data.manualInfo,
@@ -297,7 +297,7 @@ export default {
               c: mainJson.orderImg,
               p: mainJson.explainImg
             },
-            id: info.data.primaryProductId,
+            id: info.data.id,
             isCompositeProduct: 0,   //是否复合产品
             logoPic: mainJson.logoPic,
             manualInfo: info.data.manualInfo,
@@ -335,7 +335,9 @@ export default {
           this.$store.commit("setPageData", this.pageData);
         });
       }
-      this.callSvg()
+      setTimeout(() => {
+           this.callSvg()
+       }, 500)
     },
     extendClick () {
       if (this.pageData.remarks.extendVal && this.pageData.remarks.extendVal === "1") {

Plik diff jest za duży
+ 459 - 193
purchase_H5/src/templates/templateTogether/index.vue


+ 4 - 4
purchase_H5/src/views/index.vue

@@ -151,7 +151,7 @@ export default {
           attr3: "订购页",
         });
         let info = await detMainProduct({ productId: data.primaryProductId })
-        // console.log(info)
+
         let productJson = JSON.parse(data.productJson)
         let mainJson = productJson.product;
         let viceJson = productJson.viceProduct ? productJson.viceProduct : ''
@@ -185,7 +185,7 @@ export default {
             c: mainJson.orderImg,
             p: mainJson.explainImg
           },
-          id: info.data.primaryProductId,
+          id: data.primaryProductId,
           isCompositeProduct: info.data.isCompositeProduct,   //是否复合产品
           logoPic: mainJson.logoPic,
           manualInfo: info.data.manualInfo,
@@ -222,14 +222,14 @@ export default {
           recommend: recommend,
           remarks: JSON.parse(data.extJson),
           viceJson: viceJson, //副产品json
-          mainJson: productJson,
+          mainJson: mainJson,
           otherJson: data.otherJson, //备用json
           strategyInfo: {
             activityLogo: data.activityLogo,
             activityType: data.activityType,
             directCharge: null,
             extJson: data.extJson,
-            id: null,
+            id: data.id,
             linkUrl: data.linkUrl,
             maskText: data.maskText,
             posterPhoto: data.posterPhoto,

+ 1 - 1
purchase_H5/src/views/indexMobile.vue

@@ -110,7 +110,7 @@ export default {
             activityType: data.item.activityType,
             directCharge: null,
             extJson: data.extJson,
-            id: null,
+            id: 11111,
             linkUrl: data.item.linkUrl,
             maskText: data.item.maskText,
             posterPhoto: data.item.posterPhoto,