From f8f71f6bb4eceb25512bfa764c6989af8215e964 Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Thu, 13 Oct 2022 17:25:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/src/views/Index.vue b/src/views/Index.vue index dc456b51..866e2d60 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -47,7 +47,7 @@
-
+
推荐课程 最热 @@ -180,15 +180,18 @@

-
- +
+ -
-
+
人观看
+
+
@@ -212,7 +215,7 @@
-
+
推荐文章 最热 @@ -319,7 +322,7 @@
-
+
推荐问答 最热 @@ -545,7 +548,7 @@ }, getAnkingData() { // 文章排行榜 - apiIndex.articleViews(7).then(res => { + apiIndex.articleViews(10).then(res => { if (res.status == 200) { this.ankingList = res.result; } @@ -1227,13 +1230,19 @@ .case-inter { position: absolute; - // left: 30px; - // bottom: 30px; - display: flex; - // ::v-deep .el-avatar--small{ - // width: 32px; - // height: 32px; - // } + width: 100%; + .case-inter-box{ + display: flex; + margin-right: 35px; + + .case-inter-left{ + flex: 1; + } + .interact-bar-index{ + margin-left: auto; + } + } + } .case-top {