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>
|
||||||
<div class="edit-content">
|
<div class="edit-content">
|
||||||
<div class="note-tit">
|
<div class="note-tit">
|
||||||
<h3> {{ editdata.courseName }} </h3>
|
<h3 @click="toCoursePage()" :style="{cursor:editdata.type==1? 'pointer':''}"> {{ editdata.courseName }} </h3>
|
||||||
<div v-if="editdata.playTime != ''"><img :src="`${webBaseUrl}/images/coteplay.png`" alt="">8:40</div>
|
<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>
|
||||||
<div class="note-text" v-if="editdata.contentType != 3">
|
<div class="note-text" v-if="editdata.contentType != 3">
|
||||||
<!-- <input style="vertical-align:top;outline:none;" type="textarea" :rows="4" v-model="editdata.content"> -->
|
<!-- <input style="vertical-align:top;outline:none;" type="textarea" :rows="4" v-model="editdata.content"> -->
|
||||||
@@ -71,6 +71,8 @@ export default {
|
|||||||
editdata:{
|
editdata:{
|
||||||
content:'',
|
content:'',
|
||||||
isAuto:false,
|
isAuto:false,
|
||||||
|
type:0,
|
||||||
|
courseId:''
|
||||||
},
|
},
|
||||||
histId:'',
|
histId:'',
|
||||||
histdata:[],
|
histdata:[],
|
||||||
@@ -86,6 +88,11 @@ export default {
|
|||||||
},30000);
|
},30000);
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
toCoursePage(){
|
||||||
|
if(this.editdata.type==1){
|
||||||
|
this.$router.push('/course/detail?id='+this.editdata.courseId);
|
||||||
|
}
|
||||||
|
},
|
||||||
imgDel(index) {
|
imgDel(index) {
|
||||||
this.imgContent.splice(index,1);
|
this.imgContent.splice(index,1);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'/uboeApi': {
|
'/uboeApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'http://u-pre.boe1.com',
|
target: 'http://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|||||||
Reference in New Issue
Block a user