添加划线价格

This commit is contained in:
wangxiaowei
2026-02-03 02:09:38 +08:00
parent 015cb85579
commit 053bed1a32

View File

@ -74,12 +74,18 @@
<view class="text-[#999] text-22rpx leading-30rpx mt-12rpx w-300rpx line-2 h-64rpx">适用包间{{ item.room_name }}</view>
<view class="flex items-center mb-52rpx" :class="`${spec ? 'mt-10rpx' : 'mt-55rpx'}`">
<view class="mr-20rpx">
<price-format color="#FF5951" :first-size="34" :second-size="26"
:subscript-size="26" :price="item.discount_price" weight="500"></price-format>
<price-format color="#FF5951" :first-size="32" :second-size="22"
:subscript-size="22" :price="item.discount_price" weight="500"></price-format>
</view>
<view class="w-80rpx border-2rpx border-solid border-[#FF5951] text-22rpx text-[#FF5951] leading-32rpx h-32rpx text-center rounded-4rpx mt-4rpx">
<view
v-if="item.discount"
class="w-80rpx border-2rpx border-solid border-[#FF5951] text-22rpx text-[#FF5951] leading-32rpx h-32rpx text-center rounded-4rpx mt-4rpx">
{{ item.discount }}
</view>
<view class="ml-10rpx" v-if="item.price">
<price-format color="#BFC2CC" :first-size="22" :second-size="22"
:subscript-size="26" :price="item.price" weight="500" :line-through="true"></price-format>
</view>
<!-- <view class="relative">
<wd-img width="56rpx" height="56rpx" :src="`${OSS}icon/icon_sale.png`" radius="10rpx"/>
<view class="absolute top-18rpx left-16rpx rotate-30 text-[#fff] text-18rpx leading-26rpx">{{ item.discount }}</view>