From 99b59a39fddabca99781376edda78c9f33ce0eb7 Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Tue, 20 Dec 2022 17:04:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../recommend-index/recommend-index.vue | 33 +++++++++++++++--- pages/my/myAssesses.vue | 2 +- pages/my/myMedal.vue | 9 +++++ pages/study/courseStudy.vue | 12 +++++-- static/images/login_medal.png | Bin 0 -> 118154 bytes static/images/ranking/listblue010.png | Bin 0 -> 1097 bytes static/images/ranking/listblue04.png | Bin 0 -> 1340 bytes static/images/ranking/listblue05.png | Bin 0 -> 1572 bytes static/images/ranking/listblue06.png | Bin 0 -> 1606 bytes static/images/ranking/listblue07.png | Bin 0 -> 1367 bytes static/images/ranking/listblue08.png | Bin 0 -> 1690 bytes static/images/ranking/listblue09.png | Bin 0 -> 1619 bytes 12 files changed, 47 insertions(+), 9 deletions(-) create mode 100644 static/images/login_medal.png create mode 100644 static/images/ranking/listblue010.png create mode 100644 static/images/ranking/listblue04.png create mode 100644 static/images/ranking/listblue05.png create mode 100644 static/images/ranking/listblue06.png create mode 100644 static/images/ranking/listblue07.png create mode 100644 static/images/ranking/listblue08.png create mode 100644 static/images/ranking/listblue09.png diff --git a/components/recommend-index/recommend-index.vue b/components/recommend-index/recommend-index.vue index f2770ed..0d46fa6 100644 --- a/components/recommend-index/recommend-index.vue +++ b/components/recommend-index/recommend-index.vue @@ -25,7 +25,7 @@ 排行榜 - + 热门课程排行榜 @@ -33,6 +33,13 @@ + + + + + + + {{cou.name}} @@ -44,6 +51,13 @@ + + + + + + + {{arl.title}} @@ -55,6 +69,13 @@ + + + + + + + {{qa.title}} @@ -223,7 +244,7 @@ }), //问答排行榜 getQaRanking(){ - apiIndex.qaAnswers(3).then(res=>{ + apiIndex.qaAnswers(10).then(res=>{ if(res.status == 200) { this.qaRankingList = res.result; } @@ -231,7 +252,7 @@ }, //文章排行榜 getArtRanking(){ - apiIndex.articleViews(3).then(res=>{ + apiIndex.articleViews(10).then(res=>{ if(res.status == 200){ this.arlRankingList = res.result; } @@ -239,9 +260,11 @@ }, //课程排行榜 getCourseRanking(){ - apiIndex.scorelist(3,1).then(res=>{ + apiIndex.scorelist(10,1).then(res=>{ if(res.status == 200){ this.courseRankingList = res.result; + console.log(res,'qqq') + console.log(this.courseRankingList) } }) }, @@ -369,7 +392,7 @@ .list-box-index{ width: 560upx; min-width: 560upx; - height: 332upx; + height: 880upx; box-sizing: border-box; border-radius: 24upx; border: 2upx solid #E4EAEF; diff --git a/pages/my/myAssesses.vue b/pages/my/myAssesses.vue index dfd2a80..f09803b 100644 --- a/pages/my/myAssesses.vue +++ b/pages/my/myAssesses.vue @@ -161,7 +161,7 @@ overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; - display: -webkit-box;-webkit-line-clamp: 1; + display: -webkit-box;-webkit-line-clamp: 3; word-break:break-all; } .assess-text-text{ diff --git a/pages/my/myMedal.vue b/pages/my/myMedal.vue index 59a6a41..7c4c15f 100644 --- a/pages/my/myMedal.vue +++ b/pages/my/myMedal.vue @@ -26,6 +26,15 @@ {{me.medalName}} LV.{{me.medalLevel}} + + + + 上线纪念章 + + + + 上线纪念章 + diff --git a/pages/study/courseStudy.vue b/pages/study/courseStudy.vue index 900b3c7..abd2342 100644 --- a/pages/study/courseStudy.vue +++ b/pages/study/courseStudy.vue @@ -152,9 +152,9 @@ {{tea.teacherName}} ({{tea.orgInfo}}) - - 已关注 - +关注 + + 已关注 + +关注 @@ -1516,6 +1516,12 @@