tremble 3 lat temu
rodzic
commit
322fb22960
1 zmienionych plików z 5 dodań i 3 usunięć
  1. 5 3
      src/app.vue

+ 5 - 3
src/app.vue

@@ -286,10 +286,12 @@ onMounted(async () => {
         // 聚焦當前點擊的熱點
         view.focus(tag.sid).then(() => {
           if (tag.type == "coupon") {
+            
+            let hotcontent = JSON.parse(tag.hotContent);
             browser.openLink(
-              "/subPackage/pages/activity/activity?pageId=" + tag.hotContent.couponLink,
-              `https://m.cdfmembers.com/shop/600667208/showactivity?pageId=${tag.hotContent.couponLink}`,
-              `/pages/showactivity/main?pageId=${tag.hotContent.couponLink}`
+              "/subPackage/pages/activity/activity?pageId=" + hotcontent.couponLink,
+              `https://m.cdfmembers.com/shop/600667208/showactivity?pageId=${hotcontent.couponLink}`,
+              `/pages/showactivity/main?pageId=${hotcontent.couponLink}`
             );
             apis.burying_point({ type: 2 });
           } else if (tag.type == "waterfall") {