mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
提交
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
<!-- <img style="width:254px;height:144px" src="/images/list-img.png" alt=""> -->
|
||||
<div class="data-cen">
|
||||
<h6 class="course-tit portal-title-tow">{{item.info.name || item.contentInfo}} <span class="score-info">{{item.info.score}}分</span> </h6>
|
||||
<h6 class="course-tit portal-title-tow">{{item.info.name || item.contentInfo}} <span class="score-info">{{toScore(item.info.score)}}分</span> </h6>
|
||||
<p class="title-info">{{item.info.summary}}</p>
|
||||
<div class="pro-line"> <div>当前进度:</div> <div style="width:200px"><el-progress :percentage="50"></el-progress></div></div>
|
||||
<p class="portal-time">最新一次学习时间:2022-5-28 22:30:28</p>
|
||||
@@ -41,10 +41,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { toScore} from '@/utils/tools.js';
|
||||
import courseImage from "@/components/Course/courseImage.vue";
|
||||
export default{
|
||||
data(){
|
||||
return{
|
||||
toScore,
|
||||
courseList:[]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -425,7 +425,9 @@ export default {
|
||||
this.loading=true;
|
||||
if(this.type==1){
|
||||
postData.title=this.data.name;
|
||||
}else{
|
||||
}else if(this.type==60){
|
||||
postData.title=this.data.content;
|
||||
} else {
|
||||
postData.title=this.data.title;
|
||||
}
|
||||
if(this.isFavorite) {// 已经收藏,再次点击取消收藏
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<div class="note-all">
|
||||
<div class="note-all-info" v-for="(item,idx) in datalist" :key="idx">
|
||||
<div class="all-title">
|
||||
<h3> {{ item.courseName }} </h3>
|
||||
<h3 :class="item.courseId != ''?'pointer':''" @click="routerTo(item)"> {{ item.courseName }} </h3>
|
||||
<div v-if="item.type==2">导入</div>
|
||||
<div v-if="item.playTime != ''"><img :src="`${webBaseUrl}/images/coteplay.png`" alt=""> {{ getHMS(item.playTime) }} </div>
|
||||
<span style="margin-left:14px">{{item.openType == 9?'公开':'私密'}}</span>
|
||||
@@ -248,6 +248,11 @@ export default {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
routerTo(item) {
|
||||
if(item.courseId) {
|
||||
this.$router.push('/course/studyindex?id+'+item.courseId);
|
||||
}
|
||||
},
|
||||
exportCommand(e) {
|
||||
this.exportType = e;
|
||||
this.dialogVisible = false;
|
||||
|
||||
Reference in New Issue
Block a user