|
@@ -65,7 +65,7 @@
|
|
|
}"
|
|
|
>
|
|
|
<div
|
|
|
- @click="closeImg"
|
|
|
+ @click="jumpImage"
|
|
|
class="image-front"
|
|
|
:style="{
|
|
|
backgroundImage: `url(${coverData.coverMo})`,
|
|
@@ -162,7 +162,7 @@ const videoIndex = ref(1);
|
|
|
const currentScene = computed(() => store.getters["scene/currentScene"]);
|
|
|
|
|
|
const handleVideoPlay = () => {
|
|
|
- window.alert("play");
|
|
|
+ // window.alert("play");
|
|
|
let video = unref(openvideo$);
|
|
|
video && video.play();
|
|
|
};
|
|
@@ -177,6 +177,10 @@ const jumpImage = () => {
|
|
|
} else {
|
|
|
toApp();
|
|
|
}
|
|
|
+ } else {
|
|
|
+ if (unref(isImageCountDone)) {
|
|
|
+ toApp();
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
|
|
@@ -190,6 +194,10 @@ const jumpVideo = () => {
|
|
|
} else {
|
|
|
toApp();
|
|
|
}
|
|
|
+ } else {
|
|
|
+ if (unref(isVideoCountDone)) {
|
|
|
+ toApp();
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
|
|
@@ -223,6 +231,7 @@ watch(
|
|
|
[isMixinMode, isImageMode, isVideoMode, showImageFirst],
|
|
|
([val1, val2, val3, val4]) => {
|
|
|
//混合模式
|
|
|
+
|
|
|
if (unref(val1)) {
|
|
|
//图片优先
|
|
|
if (unref(val4)) {
|
|
@@ -233,13 +242,15 @@ watch(
|
|
|
startVideoCount();
|
|
|
}
|
|
|
} else {
|
|
|
+ //非混合模式
|
|
|
if (unref(val2)) {
|
|
|
+ imgShow.value = true;
|
|
|
startImageCount();
|
|
|
}
|
|
|
if (unref(val3)) {
|
|
|
+ videoShow.value = true;
|
|
|
startVideoCount();
|
|
|
}
|
|
|
- //非混合模式
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -273,6 +284,11 @@ watch(
|
|
|
}
|
|
|
} else {
|
|
|
//非混合模式
|
|
|
+ if (unref(val2)) {
|
|
|
+ if (unref(isImageAutoNext)) {
|
|
|
+ toApp();
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
{
|