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: '加载失败',