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:
@@ -2,7 +2,7 @@
|
||||
<uni-popup ref="popup" type="bottom" :safe-area="false">
|
||||
<view class="popup-content pt-[12px] pl-[12px] pr-[12px]">
|
||||
<view class="header flex flex-items-center pb-[12px]">
|
||||
<view class="title flex-full text-center font-size-17 text-[#000000] font-[500] ml-[24px]">更多服务</view>
|
||||
<view class="title flex-full text-center text-[17px] text-[#000000] font-[500] ml-[24px]">更多服务</view>
|
||||
<uni-icons type="close" size="24" color="#CACFD8" @click="close" />
|
||||
</view>
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
<view class="flex flex-items-center flex-justify-center">
|
||||
<image v-if="item.icon" class="left" :src="item.icon" />
|
||||
<view class="center flex-full">
|
||||
<view class="font-size-16 text-[#000000] leading-[24px] font-[500]">
|
||||
<view class="text-[16px] text-[#000000] leading-[24px] font-[500]">
|
||||
{{ item.title }}
|
||||
</view>
|
||||
<view class="font-size-12 text-[#a3a3a3] leading-[16px]">
|
||||
<view class="text-[12px] text-[#a3a3a3] leading-[16px]">
|
||||
{{ item.content }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="right font-size-12 text-white leading-[16px]" @click="handleClick(item)">
|
||||
<view class="right text-[12px] text-white leading-[16px]" @click="handleClick(item)">
|
||||
{{ item.btnText }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user