From fdd57d48801c96e82f59562c85074ca0e6c95066 Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Fri, 26 May 2023 02:05:35 +0800 Subject: [PATCH] aside template styles --- .vscode/settings.json | 1 + .../setting-panel/KUNGalgameSettingPanel.vue | 35 +----------- src/config/storage/lang-storage.ts | 39 +++++++++++++ src/language/en.ts | 6 ++ src/language/zh.ts | 6 ++ src/styles/color.scss | 2 + src/utils/cache/cookies.ts | 0 .../Home/content/aside/components/Aside.vue | 10 ++-- .../content/aside/components/AsideActive.vue | 3 +- src/views/Home/content/aside/topic/Topic.vue | 56 +++++++++++-------- .../aside/topic/components/SingleTopic.vue | 15 +++-- src/views/contacts/Contacts.vue | 19 +++---- src/views/rank/Rank.vue | 2 +- 13 files changed, 113 insertions(+), 81 deletions(-) create mode 100644 src/config/storage/lang-storage.ts delete mode 100644 src/utils/cache/cookies.ts diff --git a/.vscode/settings.json b/.vscode/settings.json index f162934a..d6dc7415 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,7 @@ { "cSpell.words": [ "axios", + "Bilibili", "galgame", "Galgame", "iconify", diff --git a/src/components/setting-panel/KUNGalgameSettingPanel.vue b/src/components/setting-panel/KUNGalgameSettingPanel.vue index cecdec4c..290b7000 100644 --- a/src/components/setting-panel/KUNGalgameSettingPanel.vue +++ b/src/components/setting-panel/KUNGalgameSettingPanel.vue @@ -1,7 +1,5 @@ diff --git a/src/views/Home/content/aside/topic/components/SingleTopic.vue b/src/views/Home/content/aside/topic/components/SingleTopic.vue index b546504e..16ba72a4 100644 --- a/src/views/Home/content/aside/topic/components/SingleTopic.vue +++ b/src/views/Home/content/aside/topic/components/SingleTopic.vue @@ -12,14 +12,14 @@ const isHotTopic = props.isHotTopic
{{ title }}
-
+
- {{ value }} -
-
- {{ time }}
+
+ + {{ value }} +
@@ -36,11 +36,10 @@ const isHotTopic = props.isHotTopic cursor: pointer; /* 单个新帖子的 hover */ &:hover { - box-shadow: -2px -2px 5px $kungalgame-white, 2px 2px 5px $kungalgame-gray-3; + box-shadow: $kungalgame-shadow-1; } &:active { - box-shadow: inset 1px 1px 2px $kungalgame-gray-3, - inset -1px -1px 2px $kungalgame-white; + box-shadow: $kungalgame-shadow-2; } } /* 单个帖子的标题样式 */ diff --git a/src/views/contacts/Contacts.vue b/src/views/contacts/Contacts.vue index 91a0a6ce..11386924 100644 --- a/src/views/contacts/Contacts.vue +++ b/src/views/contacts/Contacts.vue @@ -1,10 +1,6 @@