From d9b717592b3f97cf4da6306c4b26b570ba208be2 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sun, 2 Apr 2023 20:48:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(icon):=20=E6=9F=A5=E7=9C=8B=E6=8C=89?= =?UTF-8?q?=E9=92=AE=20prepend=20icon=20=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/circle-check.svg | 14 ++++++++++++++ src/assets/index.css | 17 +++++++++++++++-- src/components/t-position.vue | 5 ++--- src/pages/Announcements.vue | 5 +++-- src/pages/News.vue | 22 ++++++++++++---------- 5 files changed, 46 insertions(+), 17 deletions(-) create mode 100644 src/assets/icons/circle-check.svg diff --git a/src/assets/icons/circle-check.svg b/src/assets/icons/circle-check.svg new file mode 100644 index 00000000..0dd2ee49 --- /dev/null +++ b/src/assets/icons/circle-check.svg @@ -0,0 +1,14 @@ + + + Created with Pixso. + + + + + + + + + + + diff --git a/src/assets/index.css b/src/assets/index.css index d2f1ef54..0cc31965 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -12,11 +12,24 @@ /* card action 内的按钮 */ .card-btn { - background: #546d8b !important; - color: #faf7e8 !important; + background: #4a5366; + color: #ece5d8; + border-radius: 50px; + margin-left: 5px; } .card-btn img { + width: 20px; + height: 20px; + margin: 5px; +} + +.card-dev-btn { + background: #546d8b; + color: #faf7e8; +} + +.card-dev-btn img { width: 18px; height: 18px; } diff --git a/src/components/t-position.vue b/src/components/t-position.vue index c521b60d..c624bafd 100644 --- a/src/components/t-position.vue +++ b/src/components/t-position.vue @@ -34,11 +34,10 @@ 剩余时间: {{ positionTimeGet[card.post_id] }} - + - 查看 diff --git a/src/pages/Announcements.vue b/src/pages/Announcements.vue index d9075483..052e8bfa 100644 --- a/src/pages/Announcements.vue +++ b/src/pages/Announcements.vue @@ -38,7 +38,7 @@ {{ item.end_time.split(" ")[0] }} id: {{ item.id }} - + @@ -69,7 +69,7 @@ {{ item.end_time.split(" ")[0] }} id: {{ item.id }} - + @@ -187,6 +187,7 @@ async function toJson(item: AnnoListCard) { } .anno-btn { + margin-left: 5px; background: #546d8b; color: #faf7e8; } diff --git a/src/pages/News.vue b/src/pages/News.vue index 404a482a..66ea42f2 100644 --- a/src/pages/News.vue +++ b/src/pages/News.vue @@ -3,7 +3,7 @@
- + @@ -36,12 +36,11 @@ - 查看 id:{{ item.post_id }} - + @@ -70,9 +69,8 @@ - 查看 id:{{ item.post_id }}
@@ -84,7 +82,7 @@ >{{ item.status?.status }}
- + @@ -112,12 +110,11 @@ - 查看 id:{{ item.post_id }} - + @@ -319,6 +316,11 @@ async function searchPost() {