From 35b4eb3cca7a853bd7c20b0685030dc4754c6f00 Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Thu, 28 May 2026 22:32:05 +0800 Subject: [PATCH] style(home components): clean up scss and use utility classes - remove unused SCSS style files for Discovery sub-components - replace scoped SCSS styles with inline utility classes across home components - remove redundant style imports and empty style blocks from component files - simplify template conditions and remove unnecessary min-h-0 attributes --- .../home/components/ChatCardOther/index.vue | 7 +- src/pages/home/components/ChatGuide/index.vue | 56 ++--------- .../home/components/ChatMainList/index.vue | 13 ++- .../Discovery/components/CardSwiper/index.vue | 40 ++++---- .../components/CardSwiper/styles/index.scss | 97 ------------------- .../Discovery/components/FindTabs/index.vue | 28 +++--- .../components/FindTabs/styles/index.scss | 71 -------------- .../components/QuickQuestions/index.vue | 24 ++--- .../QuickQuestions/styles/index.scss | 13 --- src/pages/home/components/Discovery/index.vue | 23 ++--- 10 files changed, 66 insertions(+), 306 deletions(-) delete mode 100644 src/pages/home/components/Discovery/components/CardSwiper/styles/index.scss delete mode 100644 src/pages/home/components/Discovery/components/FindTabs/styles/index.scss delete mode 100644 src/pages/home/components/Discovery/components/QuickQuestions/styles/index.scss diff --git a/src/pages/home/components/ChatCardOther/index.vue b/src/pages/home/components/ChatCardOther/index.vue index 2aa478e..a1ba94c 100644 --- a/src/pages/home/components/ChatCardOther/index.vue +++ b/src/pages/home/components/ChatCardOther/index.vue @@ -1,12 +1,13 @@ - - diff --git a/src/pages/home/components/ChatGuide/index.vue b/src/pages/home/components/ChatGuide/index.vue index ccebe09..4b24120 100644 --- a/src/pages/home/components/ChatGuide/index.vue +++ b/src/pages/home/components/ChatGuide/index.vue @@ -1,16 +1,16 @@ @@ -39,45 +39,3 @@ const props = defineProps({ } }); - - \ No newline at end of file diff --git a/src/pages/home/components/ChatMainList/index.vue b/src/pages/home/components/ChatMainList/index.vue index 37b1966..5519d18 100644 --- a/src/pages/home/components/ChatMainList/index.vue +++ b/src/pages/home/components/ChatMainList/index.vue @@ -17,18 +17,17 @@ -
+ +
-
+