少一个接口,增加一下

This commit is contained in:
daihh
2022-10-09 16:26:50 +08:00
parent 98f09b0d69
commit e4cbbebbcf
2 changed files with 50 additions and 74 deletions

View File

@@ -21,8 +21,14 @@ const treeList = function (query) {
const listByParent = function (parentId) { const listByParent = function (parentId) {
return ajax.get('/xboe/org/list-by-parent?parentId='+parentId); return ajax.get('/xboe/org/list-by-parent?parentId='+parentId);
} }
export default {
treeList, const getSimple = function (id) {
listByParent return ajax.get('/xboe/org/simple?id='+id);
}
export default {
treeList,
listByParent,
getSimple
} }

View File

@@ -1171,7 +1171,7 @@
margin: 20px 80px; margin: 20px 80px;
.course-playbox { .course-playbox {
background-color: #fff; background-color: #fff;
min-height: 745px; min-height: 545px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.course-player{ //内容播放区域 .course-player{ //内容播放区域
@@ -1292,6 +1292,7 @@
padding: 36px; padding: 36px;
} }
//以下是未整理的样式,上面的整理之后的样式
.coures-note { .coures-note {
min-height: 500px; min-height: 500px;
padding-left: 17px; padding-left: 17px;
@@ -1306,36 +1307,6 @@
.note-info {} .note-info {}
} }
.coures-tearch {
margin-top: 24px;
margin-left: 20px;
}
.mltit {
// width: 70%;
// width: ;
word-break: break-all;
// line-height: 25px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.catalog-text {
width: 70%;
overflow: hidden;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
height: 40px;
}
.player-box { .player-box {
position: absolute; position: absolute;
// top: 62px; // top: 62px;
@@ -1363,15 +1334,6 @@
} }
} }
.score {
display: flex;
justify-content: center;
align-items: center;
.el-rate {
display: inline-block;
}
.score-text { .score-text {
font-size: 28px; font-size: 28px;
color: #ffb30f; color: #ffb30f;
@@ -1380,18 +1342,26 @@
// font-weight: 600; // font-weight: 600;
} }
// margin-bottom: 19px; // .score {
.score-no { // display: flex;
color: #ffb30f; // justify-content: center;
padding: 5px 0; // align-items: center;
background: #efefef;
border-radius: 20px; // .el-rate {
width: 65px; // display: inline-block;
font-size: 12px; // }
font-weight: 600; // // margin-bottom: 19px;
text-align: center; // .score-no {
} // color: #ffb30f;
} // padding: 5px 0;
// background: #efefef;
// border-radius: 20px;
// width: 65px;
// font-size: 12px;
// font-weight: 600;
// text-align: center;
// }
// }
.portal-content-title { .portal-content-title {
font-weight: 600; font-weight: 600;