diff --git a/src/views/Index.vue b/src/views/Index.vue index 1e764de5..f994f04a 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -211,7 +211,7 @@ -->
+ + +
+
+ + + +
+ +
+ + 录播课 +
+
+ {{ course.name }} +
+
+
+ {{ course.authorInfo.name }} + + {{ formatNum(course.studys) }}人学习 +
+
+
+ {{ toScore(course.score) }}分 +
+
未评分
+
+
+
@@ -1163,6 +1217,12 @@ export default { swiper() { return this.$refs.mySwiper.swiper; }, + courseComputedOneList(){ + return this.courseList.list.slice(0,3) + }, + courseComputedTwoList(){ + return this.courseList.list.slice(3) + }, }, methods: { getPositive() {