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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user