Explorar o código

更新直播跳轉方式

tremble %!s(int64=3) %!d(string=hai) anos
pai
achega
724968b052
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      src/app.vue

+ 8 - 1
src/app.vue

@@ -310,7 +310,14 @@ onMounted(async () => {
               data: tag,
             });
           } else if (tag.type == "applet_link") {
-            browser.openLink(tag.hotContent.liveLink);
+            try {
+              let hotcontent = JSON.parse(tag.hotContent);
+              browser.openLink(
+                "/subPackage/pages/home/home?pageType=2&pageId=" + hotcontent.liveLink,
+                `https://m.cdfmembers.com/shop/600667208/showactivity?pageId=${hotcontent.liveLink}`,
+                `/pages/showactivity/showactivity?pageId=${hotcontent.liveLink}`
+              );
+            } catch (error) {}
           } else if (tag.type == "link_scene") {
             let sceneFirstView = tag.hotContent.sceneFirstView;
             window.location.href = jumpNewScene(sceneFirstView);