refactor: replace theme color utility classes with direct hex values
remove unused theme color background utility classes from background.scss, swap all instances of bg-theme-color-50 and bg-theme-color-500 with their corresponding hex values across vue components, and update bg-liner gradient to use direct hex colors instead of theme variables
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<view class="bg-[#f5f7fa] text-color-600 font-size-12 p-4 rounded-4 mr-4">总计{{ selectedVoucher.count }}{{
|
||||
selectedVoucher.unit }}
|
||||
</view>
|
||||
<view class="bg-theme-color-50 theme-color-500 font-size-12 p-4 rounded-4">剩{{ selectedVoucher.count -
|
||||
<view class="bg-[#F0F8F3] theme-color-500 font-size-12 p-4 rounded-4">剩{{ selectedVoucher.count -
|
||||
selectedVoucher.writeOffCount }}{{ selectedVoucher.unit }}可用</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -31,7 +31,7 @@
|
||||
<view
|
||||
class="flex flex-col w-full flex-items-center flex-justify-center border-box rounded-8 border pt-16 pb-32 mt-12">
|
||||
<view class="flex flex-row flex-justify-between border-box w-full px-12">
|
||||
<view class="bg-theme-color-50 theme-color-500 font-size-14 px-12 line-height-24 rounded-12">凭证{{
|
||||
<view class="bg-[#F0F8F3] theme-color-500 font-size-14 px-12 line-height-24 rounded-12">凭证{{
|
||||
selectedVoucherList.length > 1 ? currentVoucherIndex + 1 : '' }}</view>
|
||||
<view class="text-color-500 font-size-14 px-12 line-height-24 rounded-12">此码仅可核销{{ selectedVoucher.count -
|
||||
selectedVoucher.writeOffCount }}份</view>
|
||||
@@ -43,8 +43,7 @@
|
||||
:onval="true" />
|
||||
</view>
|
||||
|
||||
<view v-if="false"
|
||||
class="mt-20 bg-theme-color-50 theme-color-500 font-size-14 px-12 line-height-24 rounded-12">
|
||||
<view v-if="false" class="mt-20 bg-[#F0F8F3] theme-color-500 font-size-14 px-12 line-height-24 rounded-12">
|
||||
{{ selectedVoucher.name }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user