mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
少一个接口,增加一下
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -336,7 +336,7 @@
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(['userInfo']),
|
...mapGetters(['userInfo']),
|
||||||
catalogTree() {
|
catalogTree(){
|
||||||
let treeList = [];
|
let treeList = [];
|
||||||
this.completed = [];
|
this.completed = [];
|
||||||
let $this = this;
|
let $this = this;
|
||||||
@@ -379,7 +379,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onPlayVideo(time) {
|
onPlayVideo(time){
|
||||||
this.playerBoxShow = false;
|
this.playerBoxShow = false;
|
||||||
this.notePlay = null;
|
this.notePlay = null;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@@ -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{ //内容播放区域
|
||||||
@@ -1254,21 +1254,21 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-info-row{
|
.course-info-row{
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: #343434;
|
color: #343434;
|
||||||
img{
|
img{
|
||||||
width:18px
|
width:18px
|
||||||
}
|
}
|
||||||
.course-info-text{
|
.course-info-text{
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
text-indent: 2em;
|
text-indent: 2em;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//右侧老师部分头部及标题
|
//右侧老师部分头部及标题
|
||||||
.cteacher-top {
|
.cteacher-top {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@@ -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,36 +1334,35 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.score {
|
.score-text {
|
||||||
display: flex;
|
font-size: 28px;
|
||||||
justify-content: center;
|
color: #ffb30f;
|
||||||
align-items: center;
|
font-family: 'Arial';
|
||||||
|
margin-left: 23px;
|
||||||
.el-rate {
|
// font-weight: 600;
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.score-text {
|
|
||||||
font-size: 28px;
|
|
||||||
color: #ffb30f;
|
|
||||||
font-family: 'Arial';
|
|
||||||
margin-left: 23px;
|
|
||||||
// font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
// margin-bottom: 19px;
|
|
||||||
.score-no {
|
|
||||||
color: #ffb30f;
|
|
||||||
padding: 5px 0;
|
|
||||||
background: #efefef;
|
|
||||||
border-radius: 20px;
|
|
||||||
width: 65px;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 600;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .score {
|
||||||
|
// display: flex;
|
||||||
|
// justify-content: center;
|
||||||
|
// align-items: center;
|
||||||
|
|
||||||
|
// .el-rate {
|
||||||
|
// display: inline-block;
|
||||||
|
// }
|
||||||
|
// // margin-bottom: 19px;
|
||||||
|
// .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;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
Reference in New Issue
Block a user