refactor: remove custom font-weight scss and update class usages

Delete the standalone font-weight.scss utility file, remove its import from the main scss index, and update all existing references to the custom font-{weight} classes to use either built-in semantic font utilities or inline functional font weight classes matching the project's utility-first styling pattern.
This commit is contained in:
duanshuwen
2026-07-24 22:05:42 +08:00
parent c125154a75
commit 872a3fac18
49 changed files with 152 additions and 181 deletions

View File

@@ -13,7 +13,7 @@
</view>
<view class="flex flex-items-center flex-justify-end">
<text class="amt font-size-18 font-500 font-family-misans-vf leading-[24px] text-[#ff3d60] mr-[4px]">
<text class="amt font-size-18 font-[500] font-family-misans-vf leading-[24px] text-[#ff3d60] mr-[4px]">
{{ item.specificationPrice }}
</text>
<text v-if="item.stockUnitLabel" class="font-size-12 leading-[16px] text-[#99a0ae]">

View File

@@ -12,7 +12,7 @@
</uni-icons>
<text :class="[
'font-size-16 font-500 text-[#525866] ',
'font-size-16 font-[500] text-[#525866] ',
activeIndex === index && 'tab-text-active',
]">
{{ item.iconTitle }}

View File

@@ -10,20 +10,20 @@
<view v-if="didSelectedTabItem && didSelectedTabItem.orderType == 0"
class="bg-white flex flex-items-center p-[12px]">
<view class="in flex flex-items-center">
<text class="font-size-11 font-500 text-[#99a0ae] mr-[4px]">入住</text>
<text class="font-size-14 font-500 text-[#171717]">
<text class="font-size-11 font-[500] text-[#99a0ae] mr-[4px]">入住</text>
<text class="font-size-14 font-[500] text-[#171717]">
{{ selectedDate.startDate }}
</text>
</view>
<!-- 几晚 -->
<text class="nights bg-[#e5e8ee] font-size-11 font-500 text-[#525866] rounded-[50px] ml-[8px] mr-[8px]">
<text class="nights bg-[#e5e8ee] font-size-11 font-[500] text-[#525866] rounded-[50px] ml-[8px] mr-[8px]">
{{ selectedDate.totalDays }}
</text>
<view class="out flex flex-items-center">
<text class="font-size-11 font-500 text-[#99a0ae] mr-[4px]">离店</text>
<text class="font-size-14 font-500 text-[#171717]">
<text class="font-size-11 font-[500] text-[#99a0ae] mr-[4px]">离店</text>
<text class="font-size-14 font-[500] text-[#171717]">
{{ selectedDate.endDate }}
</text>
</view>