From f998be66c8e6254cc4a2997eb734401016883302 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Fri, 2 Sep 2022 18:00:18 +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/components/Portal/interactBar.vue | 14 +++++------ src/icons/svg/collected.svg | 2 +- src/icons/svg/praised.svg | 2 +- src/icons/svg/question-mark.svg | 2 +- src/icons/svg/time.svg | 1 - src/views/portal/article/Detail.vue | 11 ++------ src/views/portal/article/Index.vue | 5 +++- src/views/portal/course/Index.vue | 36 ++++++++++++++++----------- src/views/portal/qa/Answer.vue | 21 ++++++++++++---- src/views/portal/qa/Index.vue | 12 ++++----- 10 files changed, 60 insertions(+), 46 deletions(-) delete mode 100644 src/icons/svg/time.svg diff --git a/src/components/Portal/interactBar.vue b/src/components/Portal/interactBar.vue index 597529f2..e5633007 100644 --- a/src/components/Portal/interactBar.vue +++ b/src/components/Portal/interactBar.vue @@ -26,12 +26,7 @@ {{data.comments}} -
- - - - {{data.shares}} -
+
@@ -47,7 +42,12 @@ {{ data.favorites}}
- +
+ + + + {{data.shares}} +
diff --git a/src/icons/svg/collected.svg b/src/icons/svg/collected.svg index f7be318c..66260d6a 100644 --- a/src/icons/svg/collected.svg +++ b/src/icons/svg/collected.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/praised.svg b/src/icons/svg/praised.svg index 676e8411..04c98a8f 100644 --- a/src/icons/svg/praised.svg +++ b/src/icons/svg/praised.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/question-mark.svg b/src/icons/svg/question-mark.svg index e934a3f2..b48565d5 100644 --- a/src/icons/svg/question-mark.svg +++ b/src/icons/svg/question-mark.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/time.svg b/src/icons/svg/time.svg deleted file mode 100644 index b48565d5..00000000 --- a/src/icons/svg/time.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/views/portal/article/Detail.vue b/src/views/portal/article/Detail.vue index a483d29a..820115d0 100644 --- a/src/views/portal/article/Detail.vue +++ b/src/views/portal/article/Detail.vue @@ -30,13 +30,6 @@
- - - - - - -
@@ -58,11 +51,11 @@
- 写文章 + 写文章

贡献榜

    -
  • +
  • diff --git a/src/views/portal/article/Index.vue b/src/views/portal/article/Index.vue index 3cbfa166..71fc5f8b 100644 --- a/src/views/portal/article/Index.vue +++ b/src/views/portal/article/Index.vue @@ -648,7 +648,10 @@ export default { .article-image { width: 156px; height: 105px; - margin-right: 15px; + margin-left: 18px; + ::v-deep .el-image{ + border-radius: 4px; + } } .article-body { // margin: 10px 0px; diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 1a6c7d1d..5d147aed 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -80,7 +80,7 @@
  • +