style: remove global .border class and standardize border styles

Delete the unused global .border SCSS utility class from border.scss. Replace all usages of the generic "border" class with explicit "border border-[#e5e8ee]" to match the original border styling, and retain the dynamic border color override in the OrderQrcode component.
This commit is contained in:
duanshuwen
2026-07-25 10:39:44 +08:00
parent bd1725331b
commit 5209af9508
3 changed files with 3 additions and 8 deletions

View File

@@ -31,7 +31,7 @@
</view>
<view
class="flex flex-col w-full items-center justify-center rounded-[8px] border pt-[16px] pb-[32px] mt-[12px]">
class="flex flex-col w-full items-center justify-center rounded-[8px] border border-[#e5e8ee] pt-[16px] pb-[32px] mt-[12px]">
<view class="flex flex-row justify-between w-full px-[12px]">
<view class="bg-[#F0F8F3] text-[#0CCD58] text-[14px] px-[12px] leading-[24px] rounded-[12px]">凭证{{
selectedVoucherList.length > 1 ? currentVoucherIndex + 1 : '' }}</view>
@@ -41,7 +41,7 @@
selectedVoucher.writeOffCount }}</view>
</view>
<view class="flex items-center justify-center mt-[20px] p-[20px] rounded-[12px] border borderColor"
<view class="flex items-center justify-center mt-[20px] p-[20px] rounded-[12px] border border-[#e5e8ee]"
:style="{ borderColor: selectedVoucher?.color }">
<Qrcode v-if="showQrcode" :size="props.size" :unit="props.unit" :val="qrcodeVal" :loadMake="true"
:onval="true" />