Compare commits

...

4 Commits

Author SHA1 Message Date
a96f53cd0d feat: 右侧菜单高度调整为 650 2025-09-09 17:19:42 +08:00
2a124e78a9 feat: 溢出控制高度的代码, 防止内容塌陷 2025-09-09 17:19:41 +08:00
f6e99a1657 feat: 溢出控制高度的代码, 防止内容塌陷 2025-09-09 17:19:40 +08:00
67f7e9e70d fix: 修复火狐报错的问题
去除冗余的接口请求
2025-08-14 13:37:41 +08:00

View File

@@ -177,7 +177,7 @@
</div>
<!-- 课程单元 -->
<div class="course-units" v-if="tab == 1">
<div :style="`height: ${controlHeight}px;overflow-y: auto;`">
<div style="min-height: 350px;max-height: 650px ;overflow-y: auto;">
<div class="catalog" v-if="courseInfo.type == 20">
<div v-for="(item, index) in catalogTree" :key="index" :name="index">
<el-menu
@@ -816,7 +816,8 @@
}else if(h>500){
h=h+60;
}
$this.controlHeight=h-95;
// 移除高度控制 防止内容塌陷
// $this.controlHeight=h-95;
})
@@ -1428,9 +1429,9 @@
});
},
refreshPage() {
location.reload(true);
this.getInternet();
this.loadData();
location.reload();
// this.getInternet();
// this.loadData();
},
getXmlHttpRequest() {
if (window.XMLHttpRequest) {
@@ -1800,7 +1801,7 @@
margin: 20px auto;
.course-playbox {
background-color: #fff;
min-height: 400px;
//min-height: 400px;
display: flex;
justify-content: space-between;
.course-player-container {