From 8a31aa557b4b797b56e6a453f18ff4696766a13c Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Thu, 9 Jan 2025 16:58:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- me/detail/detailIOS.nvue | 53 ++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/me/detail/detailIOS.nvue b/me/detail/detailIOS.nvue index 2d3bc58..7ed1736 100644 --- a/me/detail/detailIOS.nvue +++ b/me/detail/detailIOS.nvue @@ -12,8 +12,8 @@ :enable-progress-gesture="false" :poster="item.titleImg" :ref="'myVideo'+item.courseDetailsId" :id="'myVideo'+item.courseDetailsId" :src="item.videoUrl" :autoplay="item.autoPlay" class="swipersastqw"> - + - + @@ -247,24 +247,23 @@ - - - - - + + + + + + + + + + 使用金币解锁此视频 + + + 看免费视频 + 去登录 + + + @@ -505,14 +504,14 @@ } }, methods: { - dialogClose(){ + dialogClose() { uni.navigateTo({ - url:'/pages/video/video' + url: '/pages/video/video' }) }, - dialogConfirm (){ + dialogConfirm() { uni.navigateTo({ - url:'/pages/login/login' + url: '/pages/login/login' }) }, /** @@ -1012,7 +1011,7 @@ }); }, // 弹出弹出层 - upPop(){ + upPop() { this.$refs.alertDialog.open() }, //打开购买弹窗 @@ -1164,7 +1163,7 @@ this.current = current; //插入历史记录 this.setHistor(this.videoList[this.current].courseId, this.videoList[this.current].courseDetailsId); - }, + }, //控制播放 startPlay(current) { if (this.videoContext) { //判断之前是否有视频的上下文