From 2c2505087ca0067b7937599499d6486afae8d801 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Tue, 27 Sep 2022 13:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal.scss | 6 +- src/views/Index.vue | 250 +++++++++++++++++++++++----------- 2 files changed, 173 insertions(+), 83 deletions(-) diff --git a/src/assets/styles/portal.scss b/src/assets/styles/portal.scss index 5ad5a9f8..97b739a7 100644 --- a/src/assets/styles/portal.scss +++ b/src/assets/styles/portal.scss @@ -13,7 +13,7 @@ body { } .course-index{ - width: 33.34%; + // width: 33.34%; } .xrow{ @@ -57,11 +57,11 @@ body { } .index-course{ // width: 20%; - width: 33.3333%; + // width: 33.3333%; } .course-index{ // width: 25%; - width: 33.3333%; + // width: 33.3333%; } } diff --git a/src/views/Index.vue b/src/views/Index.vue index 750487f6..4d483ca9 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -55,7 +55,7 @@ 查看更多 -
+
@@ -64,10 +64,10 @@ 录播课
-
高效谈判系列课
+
高效谈判系列课
-
-
+ +
2581人学习
@@ -87,13 +87,10 @@ 录播课
-
{{ course.name }}
+
{{ course.name }}
- {{ course.authorInfo.name }} -
-
- {{ course.studys }}人学习 + {{ course.authorInfo.name }} {{ course.studys }}人学习
@@ -109,8 +106,8 @@
-
-
+
+

课程排行榜

  • @@ -162,7 +159,7 @@

    人气榜NO.{{ind+1}} - 2022-05-19 + {{ca.sysCreateTime.substring(0, 10)}}

    {{ca.title}}

    {{ca.summary}}

    @@ -177,7 +174,7 @@
-
+

案例排行榜

  • @@ -216,7 +213,7 @@ {{ articleList.first.title }}
- +
@@ -235,39 +232,62 @@
-
-
+

文章排行榜

@@ -316,7 +336,7 @@
-
+

问答排行榜

@@ -539,7 +559,7 @@ export default { this.isNext = false; let { orderType, num } = this.courseList; let course = { - pageSize: num, + pageSize: 5, device:1, orderField: orderType == 1 ? '' : 'studys', orderAsc: false, @@ -776,6 +796,66 @@ export default {