返回键 显示 隐藏

This commit is contained in:
GYJ 2024-12-14 17:08:05 +08:00
parent cfcc0c15ec
commit 31601ff334
1 changed files with 5 additions and 2 deletions

View File

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