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.
This commit is contained in:
duanshuwen
2026-07-24 22:10:16 +08:00
parent 872a3fac18
commit 157b4f7e22
69 changed files with 255 additions and 324 deletions

View File

@@ -13,15 +13,15 @@
<!-- 底部价格 + 购买按钮 -->
<view class="card-footer p-[12px] flex flex-justify-between flex-items-center">
<view class="border-box">
<view class="font-size-14 font-[500] text-[#333333] ellipsis-1">
<view class="text-[14px] font-[500] text-[#333333] ellipsis-1">
{{ card.commodityName }}
</view>
<view class="card-price-row text-[#333333]">
<text class="font-size-11"></text>
<text class="font-size-24 font-bold">
<text class="text-[11px]"></text>
<text class="text-[24px] font-bold">
{{ card.specificationPrice }}
</text>
<text class="font-size-11 ml-[2px]" v-if="card.stockUnitLabel">/{{ card.stockUnitLabel }}</text>
<text class="text-[11px] ml-[2px]" v-if="card.stockUnitLabel">/{{ card.stockUnitLabel }}</text>
</view>
</view>