From 79770b03d45fafd960492e6bf143758a12044c7c Mon Sep 17 00:00:00 2001 From: DEV_DSW <562304744@qq.com> Date: Fri, 29 May 2026 14:32:05 +0800 Subject: [PATCH] style: standardize tailwind classes and cleanup legacy styles Replace `flex-shrink-0` with `shrink-0` across components for consistency Migrate legacy color utility classes to inline hex Tailwind classes Replace background color utility classes with inline hex equivalents Delete unused SCSS style files for ScenicImageCard and RoutePlanCard Refactor RoutePlanCard to use inline Tailwind styles instead of external CSS Update icon component usage in RoutePlanCard to match project standards --- src/components/GoodDetail/index.vue | 2 +- .../home/components/ChatLongAnswer/index.vue | 2 +- .../components/FacilityLocationCard/index.vue | 4 +- .../components/LongTextGuideCard/index.vue | 12 +- .../LongTextGuideCardPreview/index.vue | 2 +- .../components/MapNavigationCard/index.vue | 2 +- .../home/components/NoticeCard/index.vue | 8 +- .../home/components/NoticeMessage/detail.vue | 2 +- .../home/components/PoiCompareCard/index.vue | 19 +- .../home/components/PoiDetailCard/index.vue | 4 +- .../RecommendationListCard/index.vue | 2 +- .../home/components/RoutePlanCard/index.vue | 81 ++++--- .../RoutePlanCard/styles/index.scss | 227 ------------------ .../ScenicImageCard/styles/index.scss | 48 ---- 14 files changed, 74 insertions(+), 341 deletions(-) delete mode 100644 src/pages/home/components/RoutePlanCard/styles/index.scss delete mode 100644 src/pages/home/components/ScenicImageCard/styles/index.scss diff --git a/src/components/GoodDetail/index.vue b/src/components/GoodDetail/index.vue index 2177e9a..5a2cfb8 100644 --- a/src/components/GoodDetail/index.vue +++ b/src/components/GoodDetail/index.vue @@ -11,7 +11,7 @@ .commodityPurchaseInstructionModuleEntityList.length - 1, }"> -