From 157b4f7e22092956b0e8d0c168afcfbb78360f86 Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Fri, 24 Jul 2026 22:10:16 +0800 Subject: [PATCH] refactor: remove font-size utility file and replace with inline text classes Delete the src/static/scss/font-size.scss utility file, and replace all legacy `font-size-*` class usages across the codebase with inline `text-[numberpx]` styling to consolidate font size definitions and remove redundant utility code. --- src/components/CreateServiceOrder/index.vue | 18 ++--- src/components/CustomEmpty/index.vue | 2 +- src/components/DateRangeSection/index.vue | 12 ++-- src/components/DetailPopup/index.vue | 10 +-- src/components/Feedback/index.vue | 14 ++-- src/components/GoodDetail/index.vue | 4 +- src/components/RefundPopup/index.vue | 6 +- src/components/Stepper/index.vue | 2 +- src/components/SurveyQuestionnaire/index.vue | 2 +- src/components/SwipeCards/index.vue | 8 +-- src/components/TopNavBar/index.vue | 2 +- src/components/UseDateRange/index.vue | 8 +-- .../components/ConactSection/index.vue | 14 ++-- .../components/FooterSection/index.vue | 6 +- .../components/UserSection/index.vue | 10 +-- src/pages-booking/index.vue | 10 +-- .../order/components/AmtSection/index.vue | 8 +-- .../order/components/FooterSection/index.vue | 4 +- .../order/components/GoodsInfo/index.vue | 12 ++-- .../order/components/OrderCard/InfoRow.vue | 4 +- .../components/OrderCard/OrderCardContent.vue | 4 +- .../order/components/OrderCard/index.vue | 6 +- .../order/components/OrderInfo/index.vue | 6 +- .../order/components/OrderQrcode/index.vue | 22 +++--- .../components/OrderStatusInfo/index.vue | 2 +- .../order/components/UserInfo/index.vue | 4 +- .../order/components/VoucherList/index.vue | 12 ++-- src/pages-quick/components/Card/index.vue | 10 +-- src/pages-quick/components/Tabs/index.vue | 2 +- src/pages-quick/list.vue | 10 +-- .../order/components/OrderCard/index.vue | 16 ++--- src/pages/ChatMain/ChatCardMine/index.vue | 2 +- src/pages/ChatMain/ChatCardOther/index.vue | 2 +- src/pages/ChatMain/ChatInputArea/index.vue | 2 +- src/pages/ChatMain/ChatMoreTips/index.vue | 4 +- src/pages/ChatMain/ChatQuickAccess/index.vue | 2 +- src/pages/ChatMain/ChatTopNavBar/index.vue | 2 +- src/pages/ChatMain/ChatTopWelcome/index.vue | 2 +- src/pages/ChatMain/NoticeMessage/detail.vue | 6 +- src/pages/ChatMain/NoticeMessage/index.vue | 8 +-- src/pages/ChatModule/AigcPhotoCard/index.vue | 4 +- .../ChatModule/AnswerComponent/index.vue | 8 +-- src/pages/ChatModule/CallMobile/index.vue | 4 +- .../ChatModule/FacilityLocationCard/index.vue | 12 ++-- src/pages/ChatModule/FaqHelpCard/index.vue | 6 +- .../GeneratorPhotoComponent/index.vue | 4 +- .../ChatModule/LongTextGuideCard/index.vue | 34 +++++----- .../LongTextGuideCardPreview/index.vue | 8 +-- .../ChatModule/MapNavigationCard/index.vue | 8 +-- src/pages/ChatModule/MoreService/index.vue | 8 +-- src/pages/ChatModule/NoticeCard/index.vue | 16 ++--- .../ChatModule/OpenMapComponent/index.vue | 4 +- src/pages/ChatModule/PoiCompareCard/index.vue | 26 +++---- src/pages/ChatModule/PoiDetailCard/index.vue | 10 +-- .../ChatModule/RecommendPostsList/index.vue | 4 +- .../RecommendationListCard/index.vue | 6 +- src/pages/ChatModule/RoutePlanCard/index.vue | 22 +++--- .../ChatModule/ScenicImageCard/index.vue | 6 +- .../ChatModule/SharedVisual/ActionRow.vue | 4 +- .../ChatModule/SharedVisual/BadgePill.vue | 2 +- .../ChatModule/SharedVisual/DetailShell.vue | 2 +- .../components/QuickQuestions/index.vue | 6 +- src/pages/goods/album/index.vue | 2 +- .../goods/components/GoodFacility/index.vue | 4 +- .../goods/components/GoodPackage/index.vue | 4 +- src/pages/goods/index.vue | 4 +- src/pages/login/index.vue | 12 ++-- src/static/scss/font-size.scss | 68 ------------------- src/static/scss/index.scss | 1 - 69 files changed, 255 insertions(+), 324 deletions(-) delete mode 100644 src/static/scss/font-size.scss diff --git a/src/components/CreateServiceOrder/index.vue b/src/components/CreateServiceOrder/index.vue index ffe7512..1cbcad1 100644 --- a/src/components/CreateServiceOrder/index.vue +++ b/src/components/CreateServiceOrder/index.vue @@ -2,30 +2,30 @@ - + {{ isCallSuccess ? "服务已创建" : "呼叫服务" }} - + 所在位置 - + 联系电话 - + 需求信息描述 -