|
@@ -140,6 +140,7 @@ watch(() => progress2.value, (newVal, oldVal) => {
|
|
|
progress: progress2.value,
|
|
progress: progress2.value,
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
+ data.value.videoSrc = course.value?.detailItem?.observeVideoPath
|
|
|
break
|
|
break
|
|
|
case 3:
|
|
case 3:
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
@@ -168,6 +169,7 @@ watch(() => progress2.value, (newVal, oldVal) => {
|
|
|
progress: progress2.value,
|
|
progress: progress2.value,
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
+ data.value.videoSrc = course.value?.detailItem?.testVideoPath
|
|
|
break
|
|
break
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -214,7 +216,8 @@ onUnmounted(() => {
|
|
|
:show-casting-button="false" autoplay @controlstoggle="handleControlsToggle" @ended="handleEnded">
|
|
:show-casting-button="false" autoplay @controlstoggle="handleControlsToggle" @ended="handleEnded">
|
|
|
</video>
|
|
</video>
|
|
|
<view v-else class="w-full h-full ">
|
|
<view v-else class="w-full h-full ">
|
|
|
- <image mode="aspectFill" src="https://oss.xiaoxiongcode.com/static/home/assert_1.gif" alt="" class="w-full h-full object-cover" />
|
|
|
|
|
|
|
+ <image mode="aspectFill" src="https://oss.xiaoxiongcode.com/static/home/assert_1.gif" alt=""
|
|
|
|
|
+ class="w-full h-full object-cover" />
|
|
|
<!-- 顶部提示文字 -->
|
|
<!-- 顶部提示文字 -->
|
|
|
<view class="absolute text-[20px] top-[20vh] w-full flex flex-row items-center justify-center">
|
|
<view class="absolute text-[20px] top-[20vh] w-full flex flex-row items-center justify-center">
|
|
|
<!-- <cl-icon name="notification-3-fill" color="#FCE762" :size="40"></cl-icon> -->
|
|
<!-- <cl-icon name="notification-3-fill" color="#FCE762" :size="40"></cl-icon> -->
|