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 {