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:
@@ -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 color-99A0AE mr-4">入住</text>
|
||||
<text class="font-size-14 font-500 color-171717">
|
||||
<text class="font-size-11 font-500 text-[#99a0ae] mr-4">入住</text>
|
||||
<text class="font-size-14 font-500 text-[#171717]">
|
||||
{{ selectedDate.startDate }}
|
||||
</text>
|
||||
</view>
|
||||
|
||||
<!-- 几晚 -->
|
||||
<text class="nights bg-[#e5e8ee] font-size-11 font-500 color-525866 rounded-50 ml-8 mr-8">
|
||||
<text class="nights bg-[#e5e8ee] font-size-11 font-500 text-[#525866] rounded-50 ml-8 mr-8">
|
||||
{{ selectedDate.totalDays }}晚
|
||||
</text>
|
||||
|
||||
<view class="out flex flex-items-center">
|
||||
<text class="font-size-11 font-500 color-99A0AE mr-4">离店</text>
|
||||
<text class="font-size-14 font-500 color-171717">
|
||||
<text class="font-size-11 font-500 text-[#99a0ae] mr-4">离店</text>
|
||||
<text class="font-size-14 font-500 text-[#171717]">
|
||||
{{ selectedDate.endDate }}
|
||||
</text>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user