|
@@ -286,14 +286,15 @@ onMounted(async () => {
|
|
|
// 聚焦當前點擊的熱點
|
|
|
view.focus(tag.sid).then(() => {
|
|
|
if (tag.type == "coupon") {
|
|
|
-
|
|
|
- let hotcontent = JSON.parse(tag.hotContent);
|
|
|
- browser.openLink(
|
|
|
- "/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 });
|
|
|
+ try {
|
|
|
+ let hotcontent = JSON.parse(tag.hotContent);
|
|
|
+ browser.openLink(
|
|
|
+ "/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 });
|
|
|
+ } catch (error) {}
|
|
|
} else if (tag.type == "waterfall") {
|
|
|
store.commit("tag/setTagClickType", {
|
|
|
type: "waterfall",
|