From ec6df211be3061969fc2916dc5a80890b0f0cff5 Mon Sep 17 00:00:00 2001 From: daihh Date: Mon, 31 Oct 2022 12:10:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A1=88=E4=BE=8B=EF=BC=8C?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=EF=BC=8C=E5=AF=B9=E9=BD=90=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E9=9C=80=E8=A6=81=E5=8D=95=E7=8B=AC=E7=9A=84=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal-index.scss | 14 ++++--- src/components/Portal/interactBar.vue | 10 +++-- src/views/study/coursenew.vue | 56 +++++++++++++++++++++++++-- 3 files changed, 67 insertions(+), 13 deletions(-) diff --git a/src/assets/styles/portal-index.scss b/src/assets/styles/portal-index.scss index 2452d500..26c26f48 100644 --- a/src/assets/styles/portal-index.scss +++ b/src/assets/styles/portal-index.scss @@ -987,9 +987,10 @@ .case-inter-orgin{ width: 60%; } - .interact-bar-btns{ - line-height: 30px; - } + //以下不是在这里加,应该是在首页加的 + // .interact-bar-btns{ + // line-height: 30px; + // } .portal-input{ width: 290px; } @@ -1245,9 +1246,10 @@ .case-inter-orgin{ width: 60%; } - .interact-bar-btns{ - line-height: 30px; - } + //不能在这里加 + // .interact-bar-btns{ + // line-height: 30px; + // } .btn-user{ width: 80px; } diff --git a/src/components/Portal/interactBar.vue b/src/components/Portal/interactBar.vue index bbe2a4d7..992536f8 100644 --- a/src/components/Portal/interactBar.vue +++ b/src/components/Portal/interactBar.vue @@ -38,13 +38,13 @@
- + {{ data.favorites? data.favorites:0}}
- + {{data.shares}}
@@ -108,6 +108,10 @@ export default { } } }, + size:{ + type:Number, + default:14 + }, nodeWidth:{ type:String, default:'40px' @@ -271,7 +275,7 @@ export default { } else { content=sendName+typeText+content+'-'+title } - + let message={ content, refId, diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index 430f0a3a..e85c24bc 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -11,8 +11,10 @@
{{courseInfo.name}} +
@@ -104,6 +106,52 @@ + +
+
+
+
+ + + + + +
+
+
+ +
+
+ {{ toScore(courseInfo.score) }} + +
+
+
+
+
+ + + + + {{ courseInfo.praises }} +
+
+ + + + + {{ courseInfo.trampleCount }} +
+
+ +
+
+
+ +
@@ -1551,7 +1599,7 @@ } .score-text { - font-size: 28px; + font-size: 18px; color: #ffb30f; font-family: 'Arial'; margin-left: 23px; @@ -1618,9 +1666,9 @@ } .icon-small { - width: 20px; - height: 20px; - line-height: 20px; + width: 16px; + height: 16px; + line-height: 16px; vertical-align: middle; }