소스 검색

update link

tremble 3 년 전
부모
커밋
322fb22960
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  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") {