mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 01:46:42 +08:00
提交个人中心,我的笔记编辑跳转课程学习页面
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
</div>
|
||||
<div class="edit-content">
|
||||
<div class="note-tit">
|
||||
<h3> {{ editdata.courseName }} </h3>
|
||||
<div v-if="editdata.playTime != ''"><img :src="`${webBaseUrl}/images/coteplay.png`" alt="">8:40</div>
|
||||
<h3 @click="toCoursePage()" :style="{cursor:editdata.type==1? 'pointer':''}"> {{ editdata.courseName }} </h3>
|
||||
<div @click="toCoursePage()" v-if="editdata.playTime != ''" :style="{cursor:editdata.type==1? 'pointer':''}"><img :src="`${webBaseUrl}/images/coteplay.png`" alt="">8:40</div>
|
||||
</div>
|
||||
<div class="note-text" v-if="editdata.contentType != 3">
|
||||
<!-- <input style="vertical-align:top;outline:none;" type="textarea" :rows="4" v-model="editdata.content"> -->
|
||||
@@ -71,6 +71,8 @@ export default {
|
||||
editdata:{
|
||||
content:'',
|
||||
isAuto:false,
|
||||
type:0,
|
||||
courseId:''
|
||||
},
|
||||
histId:'',
|
||||
histdata:[],
|
||||
@@ -86,6 +88,11 @@ export default {
|
||||
},30000);
|
||||
},
|
||||
methods:{
|
||||
toCoursePage(){
|
||||
if(this.editdata.type==1){
|
||||
this.$router.push('/course/detail?id='+this.editdata.courseId);
|
||||
}
|
||||
},
|
||||
imgDel(index) {
|
||||
this.imgContent.splice(index,1);
|
||||
},
|
||||
|
||||
@@ -124,7 +124,7 @@ module.exports = {
|
||||
},
|
||||
'/uboeApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'http://u-pre.boe1.com',
|
||||
target: 'http://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
|
||||
Reference in New Issue
Block a user