|
|
@@ -70,7 +70,8 @@
|
|
|
</view>
|
|
|
<view class="recent-info">
|
|
|
<text class="recent-title">{{ item.courseName }}</text>
|
|
|
- <text class="recent-meta">{{ item.courseDesc }}</text>
|
|
|
+ <!-- <text class="recent-meta">{{ item.courseDesc }}</text> -->
|
|
|
+ <text class="recent-progress">已学: {{ item.progress }}%</text>
|
|
|
<view class="y-end">
|
|
|
<view class="btn-watch" @click.stop="onCourseClick(item)">回看</view>
|
|
|
</view>
|
|
|
@@ -174,7 +175,7 @@ export default {
|
|
|
|
|
|
// 获取学习记录课程列表
|
|
|
async getCourseStudyListMethos() {
|
|
|
- const res = await getCourseStudyList({},
|
|
|
+ const res = await getCourseStudyList({courseType:1},
|
|
|
this.recentPage.pageNum,
|
|
|
this.recentPage.pageSize,
|
|
|
);
|
|
|
@@ -665,7 +666,7 @@ export default {
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
display: -webkit-box;
|
|
|
- -webkit-line-clamp: 1;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
-webkit-box-orient: vertical;
|
|
|
}
|
|
|
|