From 31601ff334e49e96c307abe37b3fcec0c75ead23 Mon Sep 17 00:00:00 2001 From: GYJ <1157756119@qq.com> Date: Sat, 14 Dec 2024 17:08:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E9=94=AE=20=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=20=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- me/detail/detail.nvue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/me/detail/detail.nvue b/me/detail/detail.nvue index 6583eec..ecbb3b5 100644 --- a/me/detail/detail.nvue +++ b/me/detail/detail.nvue @@ -319,7 +319,7 @@ return { //可抽奖次数 freeNum: 0, - showBack: false, + showBack: true, noBuyVideoIndex: null, // 奖品列表, showMoney: true, @@ -947,7 +947,7 @@ //显示/隐藏适配控制器的回调 controlstoggles(e) { this.showControls = e.detail.show - this.showBack = !this.showBack + this.showBack = this.showControls // console.log(e.detail.show, '显示/隐藏控制栏') }, //打开倍速弹框 @@ -1248,6 +1248,8 @@ const indexs = arr.findIndex(menu => menu.courseDetailsId === Number(courseDetailsId)); this.current = indexs + this.scrollIntoViews = 'video' + indexs + this.scrollIntoView = 'video' + indexs console.log(this.current) // this.scrollIntoView = 'video' + indexs arr.map((item, index) => { @@ -1344,6 +1346,7 @@ this.$forceUpdate(); } + } else { uni.showToast({ title: '加载失败',