修复评分会点错

This commit is contained in:
joshen
2025-07-23 15:07:30 +08:00
parent a968062936
commit ea97aee4af

View File

@@ -1800,13 +1800,17 @@
min-height: 400px; min-height: 400px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.course-player-container {
display: flex;
flex-direction: column;
height: 100%;
}
.course-player{ //内容播放区域 .course-player{ //内容播放区域
background-color: #f5f7fa; flex: 4; // 80%高度
flex:1;
min-width: 700px; min-width: 700px;
min-height: 400px; // min-height: 400px;
max-height: 800px; // max-height: 800px;
//height: 100%; height: 80%;
border: 1px solid #ffffff; border: 1px solid #ffffff;
padding-right: 20px; padding-right: 20px;
// overflow: auto; // overflow: auto;
@@ -1815,6 +1819,23 @@
width: 420px; width: 420px;
} }
} }
@media screen and (max-width: 1200px) {
.course-playbox,
.course-infobox {
flex-direction: column;
}
.course-player,
.course-info {
min-width: 100%;
padding-right: 0;
}
.course-control,
.course-teacher {
width: 100%;
margin-top: 20px;
}
}
.course-infobox { .course-infobox {
margin-top: 20px; margin-top: 20px;
display: flex; display: flex;
@@ -1934,13 +1955,10 @@
} }
.player-box { .player-box {
position: absolute; position: relative;
// top: 62px; width: 100%;
// left: 184px; max-width: 300px;
width: 300px; margin: 20px auto;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
height: 187px; height: 187px;
background: rgba(74, 74, 74, .5); background: rgba(74, 74, 74, .5);
border-radius: 33px; border-radius: 33px;
@@ -2083,6 +2101,7 @@
} }
.course-interact { .course-interact {
flex: 1; // 20%高度
height: 54px; height: 54px;
// padding-top: 10px; // padding-top: 10px;
// padding-right: 10px; // padding-right: 10px;