修改热点论坛方案

This commit is contained in:
zhangsir
2024-07-26 17:55:38 +08:00
parent 22cd82b1a4
commit ab2ee0d9a9
29 changed files with 43 additions and 38 deletions

View File

@@ -4,7 +4,7 @@
<watermark></watermark>
<u-toast ref="messager"></u-toast>
<!-- <page-title :showBack="true"></page-title> -->
<view class="playbox"><!--内容播放区域-->
<view class="playbox" v-if="isShowPdt"><!--内容播放区域-->
<view style="min-height: 440upx;" >
<view v-if="curContent.contentType==10" style="background-color: #000000;">
<!--视频-->
@@ -117,6 +117,7 @@
<view class="contentbox" v-if="courseInfo.name">
<view v-if="!catalogShow">
<view class="tabrow">
<view class="tabrow-item" @click="goTop">目录</view>
<view class="tabrow-item" @click="changeTab(1)"><text :class="{'tabrow-active':tabIndex==1}">简介</text></view>
<view class="tabrow-item" @click="changeTab(2)"><text :class="{'tabrow-active':tabIndex==2}">评论</text></view>
<view class="player-box-tabrow">
@@ -428,6 +429,7 @@
export default {
data(){
return{
isShowPdt: true,
progressData: 0,
contentTypeV: '',
trueFalse: true,
@@ -777,6 +779,7 @@
});
},
playContent(con,conIndex,catIndex){
this.isShowPdt = true
//对于需要控制学习顺序的
if(conIndex!=undefined && catIndex!=undefined) {
if(this.courseInfo.orderStudy) {
@@ -1028,6 +1031,11 @@
}
},
goTop(){
window.scrollTo(0, 0);
this.showAllCatalog()
this.isShowPdt = false
},
changeTab(idx){
this.tabIndex=idx;
},
@@ -1037,6 +1045,7 @@
},
closeAllCatalog(){
this.catalogShow=false;
this.isShowPdt = true
//定位目录
},
openScore(){