Feat(寻看点):增加逻辑判断,如果不是点击进入则强制跳转至首页

This commit is contained in:
lifizer
2025-03-06 09:49:24 +08:00
parent 0fdee74098
commit ed9ae77ead
3 changed files with 16 additions and 8 deletions
+3 -3
View File
@@ -183,7 +183,7 @@
</swiper-item>
</swiper> -->
<view class="new-zone-wrap">
<view class="kd" id="xkd">
<view v-if="indexVideo" class="kd" id="xkd">
<view class="img-wrap" style="padding-top: 10rpx; box-sizing:border-box">
<image style="width: 112rpx; height:26rpx" :src="webUrl + '/orderIcon/kd.png'" mode="heightFix|widthFix"></image>
</view>
@@ -191,7 +191,7 @@
<image style="width: 142rpx; height:66.11rpx;border-radius: 0" :src="webUrl + '/orderIcon/dot.png'" mode="heightFix|widthFix"></image>
</view>
<view class="kd-cover" @click.stop="played">
<video play-btn-position="center" id="indexVideo" v-if="indexVideo" :show-fullscreen-btn="false" class="kd-cover v12-mt-0" :src="indexVideo" controls autoplay :poster="indexVideo + '?vframe/jpg/offset/1'"></video>
<video play-btn-position="center" id="indexVideo" :show-fullscreen-btn="false" class="kd-cover v12-mt-0" :src="indexVideo" controls autoplay :poster="indexVideo + '?vframe/jpg/offset/1'"></video>
<view class="enter-btn" >点击进入</view>
</view>
</view>
@@ -1295,7 +1295,7 @@ export default {
pause() {
},
toKD() {
this.$yrouter.push('/pages/VideoPlayBackList/VideoPlayBackList')
this.$yrouter.push('/pages/VideoPlayBackList/VideoPlayBackList?click=1')
},
toNewZone() {
this.$yrouter.push('/pages/home/newZone')