mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
课程学习及笔记页面
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="newcote-text">
|
<div class="newcote-text">
|
||||||
<el-input type="textarea" :autofocus="true" placeholder="好记性不如烂笔头,记录些什么吧~"
|
<el-input type="textarea" :autofocus="true" placeholder="好记性不如烂笔头,记录些什么吧~"
|
||||||
v-model="mynoteData.content" maxlength="200" :autosize="{ minRows: 18, maxRows: 20}"
|
v-model="mynoteData.content" maxlength="200" :autosize="{ minRows: 8, maxRows: 20}"
|
||||||
show-word-limit>
|
show-word-limit>
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
<span class="sm">{{mynoteData.openType == 1?'公开':'私密'}}</span>
|
<span class="sm">{{mynoteData.openType == 1?'公开':'私密'}}</span>
|
||||||
<svg-icon style="float:right;font-size:26px;margin-top:16px" icon-class="spot"></svg-icon>
|
<svg-icon style="float:right;font-size:26px;margin-top:16px" icon-class="spot"></svg-icon>
|
||||||
</p>
|
</p>
|
||||||
<div class="newcote-content" style="margin-top:10px;height:436px">
|
<div class="newcote-content" style="margin-top:10px;min-height:236px;height: 100%;">
|
||||||
<div class="newcote-time" v-if="mynoteData.playTime != 0">
|
<div class="newcote-time" v-if="mynoteData.playTime != 0">
|
||||||
<img src="../../../public/images/coteplay.png" />
|
<img src="../../../public/images/coteplay.png" />
|
||||||
{{formatSeconds(mynoteData.playTime)}}
|
{{formatSeconds(mynoteData.playTime)}}
|
||||||
@@ -277,11 +277,11 @@ export default {
|
|||||||
// courseName: '',// 课程名称
|
// courseName: '',// 课程名称
|
||||||
openType: 9,// 1表不公开 9表完全公开
|
openType: 9,// 1表不公开 9表完全公开
|
||||||
};
|
};
|
||||||
|
|
||||||
}, 2000)
|
}, 2000)
|
||||||
// 是编辑新增
|
// 是编辑新增
|
||||||
let event = {
|
let event = {
|
||||||
key: "PublishNote",//后台的事件key
|
key: "PublishNote",//后台的事件key
|
||||||
title: '编辑了笔记',//事件的标题
|
title: '编辑了笔记',//事件的标题
|
||||||
parameters: "",//用户自定义参数 name:value,name:value
|
parameters: "",//用户自定义参数 name:value,name:value
|
||||||
content: "编辑了笔记",//this.mynoteData.content,//事件的内容
|
content: "编辑了笔记",//this.mynoteData.content,//事件的内容
|
||||||
@@ -294,7 +294,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$store.dispatch("userTrigger", event);
|
this.$store.dispatch("userTrigger", event);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -306,7 +306,7 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
::v-deep .el-dropdown-menu__item:hover {
|
::v-deep .el-dropdown-menu__item:hover {
|
||||||
background: #333333;
|
background: #333333;
|
||||||
@@ -329,7 +329,6 @@ export default {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 200px;
|
right: 200px;
|
||||||
|
|
||||||
.box-text {
|
.box-text {
|
||||||
padding: 12px 16px;
|
padding: 12px 16px;
|
||||||
width: 252px;
|
width: 252px;
|
||||||
@@ -409,7 +408,7 @@ export default {
|
|||||||
margin: 30px 0px;
|
margin: 30px 0px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 35px 30px;
|
padding: 35px 30px;
|
||||||
height: 474px;
|
height: 100%;
|
||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -417,7 +416,7 @@ export default {
|
|||||||
margin: 30px 0px;
|
margin: 30px 0px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 8px 30px;
|
padding: 8px 30px;
|
||||||
height: 550px;
|
min-height: 300px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
@@ -436,7 +435,7 @@ export default {
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.more {
|
.more {
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
@@ -474,4 +473,3 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 课程单元 -->
|
<!-- 课程单元 -->
|
||||||
<div class="course-units" v-if="tab == 1">
|
<div class="course-units" v-if="tab == 1">
|
||||||
<div style="min-height: 500px;overflow-y: auto;">
|
<div style="min-height: 200px;overflow-y: auto;">
|
||||||
<div class="catalog" v-if="courseInfo.type == 20">
|
<div class="catalog" v-if="courseInfo.type == 20">
|
||||||
<div v-for="(item, index) in catalogTree" :key="index" :name="index">
|
<div v-for="(item, index) in catalogTree" :key="index" :name="index">
|
||||||
<div style="margin: 10px 0px;font-weight: 700;">{{item.section.name}}</div>
|
<div style="margin: 10px 0px;font-weight: 700;">{{item.section.name}}</div>
|
||||||
@@ -1174,7 +1174,7 @@
|
|||||||
margin: 20px 80px;
|
margin: 20px 80px;
|
||||||
.course-playbox {
|
.course-playbox {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
min-height: 545px;
|
min-height: 400px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
.course-player{ //内容播放区域
|
.course-player{ //内容播放区域
|
||||||
@@ -1569,7 +1569,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.catalog {
|
.catalog {
|
||||||
height: 500px;
|
height: 100%;
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user