|
@@ -336,12 +336,13 @@ const guideclicktag = (tag) => {
|
|
sid: tag.sid,
|
|
sid: tag.sid,
|
|
},
|
|
},
|
|
});
|
|
});
|
|
- console.log(tag, "触发--------------");
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
return;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
onMounted(async () => {
|
|
onMounted(async () => {
|
|
apis.burying_point({ type: 0 });
|
|
apis.burying_point({ type: 0 });
|
|
|
|
|
|
@@ -409,6 +410,9 @@ onMounted(async () => {
|
|
view.focus(tag.sid).then(() => {
|
|
view.focus(tag.sid).then(() => {
|
|
if (tag.type == "coupon") {
|
|
if (tag.type == "coupon") {
|
|
try {
|
|
try {
|
|
|
|
+ if (isshoppingguide.value) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
document.querySelector(`[data-tag-id="${tag.sid}"] .tag-icon`).style.display = "none";
|
|
document.querySelector(`[data-tag-id="${tag.sid}"] .tag-icon`).style.display = "none";
|
|
let hotcontent = typeof tag.hotContent == "string" ? JSON.parse(tag.hotContent) : tag.hotContent;
|
|
let hotcontent = typeof tag.hotContent == "string" ? JSON.parse(tag.hotContent) : tag.hotContent;
|
|
browser.openLink(
|
|
browser.openLink(
|
|
@@ -417,6 +421,7 @@ onMounted(async () => {
|
|
`/pages/showactivity/showactivity?pageId=${hotcontent.couponLink}`
|
|
`/pages/showactivity/showactivity?pageId=${hotcontent.couponLink}`
|
|
);
|
|
);
|
|
apis.burying_point({ type: 2 });
|
|
apis.burying_point({ type: 2 });
|
|
|
|
+
|
|
} catch (error) {}
|
|
} catch (error) {}
|
|
} else if (tag.type == "waterfall") {
|
|
} else if (tag.type == "waterfall") {
|
|
store.commit("tag/setTagClickType", {
|
|
store.commit("tag/setTagClickType", {
|
|
@@ -426,6 +431,9 @@ onMounted(async () => {
|
|
guideclicktag(tag);
|
|
guideclicktag(tag);
|
|
} else if (tag.type == "applet_link") {
|
|
} else if (tag.type == "applet_link") {
|
|
try {
|
|
try {
|
|
|
|
+ if (isshoppingguide.value) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
let hotcontent = typeof tag.hotContent == "string" ? JSON.parse(tag.hotContent) : tag.hotContent;
|
|
let hotcontent = typeof tag.hotContent == "string" ? JSON.parse(tag.hotContent) : tag.hotContent;
|
|
browser.openLink(
|
|
browser.openLink(
|
|
"/subPackage/pages/home/home?pageType=2&pageId=" + hotcontent.liveLink,
|
|
"/subPackage/pages/home/home?pageType=2&pageId=" + hotcontent.liveLink,
|
|
@@ -435,10 +443,8 @@ onMounted(async () => {
|
|
} catch (error) {}
|
|
} catch (error) {}
|
|
} else if (tag.type == "link_scene") {
|
|
} else if (tag.type == "link_scene") {
|
|
guideclicktag(tag);
|
|
guideclicktag(tag);
|
|
- setTimeout(() => {
|
|
|
|
- let sceneFirstView = tag.hotContent.sceneFirstView;
|
|
|
|
- window.location.href = jumpNewScene(sceneFirstView);
|
|
|
|
- }, 100);
|
|
|
|
|
|
+ let sceneFirstView = tag.hotContent.sceneFirstView;
|
|
|
|
+ window.location.href = jumpNewScene(sceneFirstView);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|