refactor: migrate legacy color classes to inline tailwind text utilities
Replace all usages of legacy `.color-*` and `.text-color-*` SCSS utility classes with inline Tailwind `text-[#hexcode]` arbitrary value classes. Remove the deprecated `src/static/scss/colors.scss` file, and fix minor formatting/indentation issues across multiple component files.
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 color-000 font-500 ml-[24px]">更多服务</view>
|
||||
<view class="title flex-full text-center font-size-17 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 color-000 leading-[24px] font-500">
|
||||
<view class="font-size-16 text-[#000000] leading-[24px] font-500">
|
||||
{{ item.title }}
|
||||
</view>
|
||||
<view class="font-size-12 color-A3A3A3 leading-[16px]">
|
||||
<view class="font-size-12 text-[#a3a3a3] leading-[16px]">
|
||||
{{ item.content }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="right font-size-12 color-white leading-[16px]" @click="handleClick(item)">
|
||||
<view class="right font-size-12 text-white leading-[16px]" @click="handleClick(item)">
|
||||
{{ item.btnText }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user