From 255a7c0aa8c958845c3223be6ea9cb243dad3a21 Mon Sep 17 00:00:00 2001 From: DEV_DSW <562304744@qq.com> Date: Fri, 29 May 2026 16:20:47 +0800 Subject: [PATCH] style: clean up and standardize component styles Replace all instances of the non-standard `font-800` font weight class with Tailwind's native `font-bold` across multiple components for consistent styling. Convert numeric spacing shorthand values (e.g. `mt-4`, `p-16`, `gap-16`) to explicit pixel-based Tailwind classes like `mt-[4px]` for clearer, more consistent spacing. Refactor the RecommendationListCard component to remove its external SCSS stylesheet, replacing all old class definitions with inline Tailwind utility classes and removing the unused style import statement. --- src/components/GoodDetail/index.vue | 2 +- .../home/components/AnswerComponent/index.vue | 2 +- .../GeneratorPhotoComponent/index.vue | 2 +- .../components/LongTextGuideCard/index.vue | 14 ++--- .../LongTextGuideCardPreview/index.vue | 2 +- .../home/components/NoticeCard/index.vue | 2 +- .../components/OpenMapComponent/index.vue | 2 +- .../home/components/PoiCompareCard/index.vue | 4 +- .../home/components/PoiDetailCard/index.vue | 2 +- .../RecommendationListCard/index.vue | 27 ++++------ .../RecommendationListCard/styles/index.scss | 53 ------------------- .../home/components/RoutePlanCard/index.vue | 2 +- .../components/SharedVisual/BadgePill.vue | 2 +- .../order/components/AmtSection/index.vue | 2 +- 14 files changed, 30 insertions(+), 88 deletions(-) delete mode 100644 src/pages/home/components/RecommendationListCard/styles/index.scss diff --git a/src/components/GoodDetail/index.vue b/src/components/GoodDetail/index.vue index 40b07dd..14825c4 100644 --- a/src/components/GoodDetail/index.vue +++ b/src/components/GoodDetail/index.vue @@ -17,7 +17,7 @@ {{ moduleItem.moduleTitle }} - + {{ moduleItem.moduleContent }} diff --git a/src/pages/home/components/AnswerComponent/index.vue b/src/pages/home/components/AnswerComponent/index.vue index 99607e6..788e407 100644 --- a/src/pages/home/components/AnswerComponent/index.vue +++ b/src/pages/home/components/AnswerComponent/index.vue @@ -17,7 +17,7 @@ 正在生成 -
+
查看完整{{ tag }}
diff --git a/src/pages/home/components/GeneratorPhotoComponent/index.vue b/src/pages/home/components/GeneratorPhotoComponent/index.vue index 617c076..0c5704f 100644 --- a/src/pages/home/components/GeneratorPhotoComponent/index.vue +++ b/src/pages/home/components/GeneratorPhotoComponent/index.vue @@ -21,7 +21,7 @@
+ class="btn-bg-sub w-full p-[16px] rounded-[20px] flex flex-row items-center justify-center text-white text-center text-[18px] font-bold"> {{ props.toolCall.componentNameParams.buttonName }}
diff --git a/src/pages/home/components/LongTextGuideCard/index.vue b/src/pages/home/components/LongTextGuideCard/index.vue index ed912df..e1991ad 100644 --- a/src/pages/home/components/LongTextGuideCard/index.vue +++ b/src/pages/home/components/LongTextGuideCard/index.vue @@ -13,7 +13,7 @@ {{ item.summary }}
@@ -39,7 +39,7 @@ class="long-text-guide-card__paragraph color-475569 text-[15px] font-medium">