From 5ef919875d30bdb8123026e13a57126b1c1eba18 Mon Sep 17 00:00:00 2001 From: NiSen Date: Thu, 26 Oct 2023 09:56:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A8=E8=8D=90=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 62 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) 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() {