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:
@@ -4,14 +4,14 @@
|
||||
:duration="duration" :indicator-dots="false" :vertical="true">
|
||||
<swiper-item v-for="item in bannerList" :key="item.entityName">
|
||||
<view class="swiper-item" @click="clickItem(item)">
|
||||
<text class="text-color font-size-12 font-[600]">
|
||||
<text class="text-color text-[12px] font-[600]">
|
||||
{{ item.entityName }}
|
||||
</text>
|
||||
<view class="notice-footer">
|
||||
<text class="text-color font-size-10 font-[500]">
|
||||
<text class="text-color text-[10px] font-[500]">
|
||||
发布时间:{{ item.effectiveStartTime }}
|
||||
</text>
|
||||
<text class="text-color font-size-10 font-[500] underline-text">
|
||||
<text class="text-color text-[10px] font-[500] underline-text">
|
||||
详情
|
||||
</text>
|
||||
</view>
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<view v-else-if="props.tipsMessage">
|
||||
<view class="noMessage">
|
||||
<text class="noMessage-text text-color font-size-12 font-[600]">
|
||||
<text class="noMessage-text text-color text-[12px] font-[600]">
|
||||
{{ props.tipsMessage }}
|
||||
</text>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user