|
@@ -171,11 +171,9 @@ const resize = () => {
|
|
|
watch(
|
|
|
() => isshoppingguide.value,
|
|
|
(val, old) => {
|
|
|
-
|
|
|
let $minmap = document.querySelector("[xui_min_map]");
|
|
|
if ($minmap) {
|
|
|
setTimeout(async () => {
|
|
|
-
|
|
|
if (role.value == "leader") {
|
|
|
return;
|
|
|
}
|
|
@@ -267,8 +265,10 @@ const onClickTagInfo = (el) => {
|
|
|
});
|
|
|
} else if (item.type == "link_scene") {
|
|
|
guideclicktag(item);
|
|
|
- let sceneFirstView = item.hotContent.sceneFirstView;
|
|
|
- window.location.href = jumpNewScene(sceneFirstView);
|
|
|
+ setTimeout(() => {
|
|
|
+ let sceneFirstView = item.hotContent.sceneFirstView;
|
|
|
+ window.location.href = jumpNewScene(sceneFirstView);
|
|
|
+ }, 100);
|
|
|
}
|
|
|
};
|
|
|
|
|
@@ -282,8 +282,10 @@ const guideclicktag = (tag) => {
|
|
|
sid: tag.sid,
|
|
|
},
|
|
|
});
|
|
|
+ console.log(tag, "触发--------------");
|
|
|
}
|
|
|
}
|
|
|
+ return;
|
|
|
};
|
|
|
|
|
|
onMounted(async () => {
|
|
@@ -379,9 +381,10 @@ onMounted(async () => {
|
|
|
} catch (error) {}
|
|
|
} else if (tag.type == "link_scene") {
|
|
|
guideclicktag(tag);
|
|
|
- let sceneFirstView = tag.hotContent.sceneFirstView;
|
|
|
- window.location.href = jumpNewScene(sceneFirstView);
|
|
|
-
|
|
|
+ setTimeout(() => {
|
|
|
+ let sceneFirstView = tag.hotContent.sceneFirstView;
|
|
|
+ window.location.href = jumpNewScene(sceneFirstView);
|
|
|
+ }, 100);
|
|
|
}
|
|
|
});
|
|
|
});
|
|
@@ -417,7 +420,6 @@ onMounted(async () => {
|
|
|
// }
|
|
|
app.Scene.on("ready", () => {
|
|
|
show.value = true;
|
|
|
-
|
|
|
});
|
|
|
app.Scene.on("error", (data) => {
|
|
|
switch (data.code) {
|
|
@@ -442,22 +444,22 @@ onMounted(async () => {
|
|
|
|
|
|
if (browser.getURLParam("roomId")) {
|
|
|
store.commit("showShoppingguide", true);
|
|
|
- }else{
|
|
|
- if (!localStorage.getItem("user_guide")) {
|
|
|
- Dialog.confirm({
|
|
|
- showCloseIcon: false,
|
|
|
- okText: "我知道了",
|
|
|
- content:
|
|
|
- "<span style='font-size: 16px; line-height: 1.5;'>開發者已遵守收集、使用最終用戶個人信息有關的所有可適用法律、政策和法規,保護用戶個人信息安全。<span/>",
|
|
|
- title: "隱私條款:",
|
|
|
- single: true,
|
|
|
- func: (state) => {
|
|
|
- if (state == "ok") {
|
|
|
- localStorage.setItem("user_guide", Date.now());
|
|
|
- }
|
|
|
- },
|
|
|
- });
|
|
|
- }
|
|
|
+ } else {
|
|
|
+ if (!localStorage.getItem("user_guide")) {
|
|
|
+ Dialog.confirm({
|
|
|
+ showCloseIcon: false,
|
|
|
+ okText: "我知道了",
|
|
|
+ content:
|
|
|
+ "<span style='font-size: 16px; line-height: 1.5;'>開發者已遵守收集、使用最終用戶個人信息有關的所有可適用法律、政策和法規,保護用戶個人信息安全。<span/>",
|
|
|
+ title: "隱私條款:",
|
|
|
+ single: true,
|
|
|
+ func: (state) => {
|
|
|
+ if (state == "ok") {
|
|
|
+ localStorage.setItem("user_guide", Date.now());
|
|
|
+ }
|
|
|
+ },
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
app.resource.tags(`${process.env.VUE_APP_RESOURCE_URL}cdf/hot/${browser.getURLParam("m")}/hot.json?rnd=${Math.random()}`);
|