From 01fdf80a725b20890bf7718c23049ffc8d5aec1d Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Fri, 24 Jul 2026 17:00:35 +0800 Subject: [PATCH] refactor: replace custom line-height classes with tailwind leading utils Remove the deprecated src/static/scss/line-height.scss custom utility file, and update all component template instances of line-height-* classes to use the equivalent tailwind leading-[xxpx] utilities. This standardizes line height styling across the codebase by using native tailwind classes instead of custom SCSS helpers. --- src/components/CreateServiceOrder/index.vue | 14 ++++---- src/components/DateRangeSection/index.vue | 2 +- src/components/DetailPopup/index.vue | 2 +- src/components/Feedback/index.vue | 8 ++--- src/components/GoodDetail/index.vue | 4 +-- src/components/RefundPopup/index.vue | 4 +-- src/components/UseDateRange/index.vue | 2 +- .../components/ConactSection/index.vue | 10 +++--- .../components/UserSection/index.vue | 6 ++-- src/pages-booking/index.vue | 8 ++--- .../order/components/AmtSection/index.vue | 2 +- .../order/components/GoodsInfo/index.vue | 6 ++-- .../components/OrderCard/OrderCardContent.vue | 4 +-- .../order/components/OrderCard/index.vue | 4 +-- .../order/components/OrderQrcode/index.vue | 8 ++--- .../components/OrderStatusInfo/index.vue | 2 +- .../order/components/VoucherList/index.vue | 2 +- src/pages-quick/components/Card/index.vue | 10 +++--- .../order/components/OrderCard/index.vue | 16 ++++----- src/pages/ChatMain/ChatQuickAccess/index.vue | 2 +- src/pages/ChatMain/ChatTopWelcome/index.vue | 2 +- src/pages/ChatMain/NoticeMessage/detail.vue | 2 +- src/pages/ChatModule/CallMobile/index.vue | 2 +- src/pages/ChatModule/MoreService/index.vue | 6 ++-- .../goods/components/GoodFacility/index.vue | 4 +-- src/static/scss/index.scss | 1 - src/static/scss/line-height.scss | 36 ------------------- 27 files changed, 66 insertions(+), 103 deletions(-) delete mode 100644 src/static/scss/line-height.scss diff --git a/src/components/CreateServiceOrder/index.vue b/src/components/CreateServiceOrder/index.vue index 36bd6ff..f9ec681 100644 --- a/src/components/CreateServiceOrder/index.vue +++ b/src/components/CreateServiceOrder/index.vue @@ -10,23 +10,23 @@ - 所在位置 + 所在位置 - 联系电话 + 联系电话 - 需求信息描述 + 需求信息描述