This commit is contained in:
@@ -65,6 +65,8 @@ interface GoodsItem {
|
||||
Goods: {
|
||||
name: string;
|
||||
cover: string;
|
||||
discount_price: number;
|
||||
exchange: number;
|
||||
};
|
||||
ID: number;
|
||||
gid: string;
|
||||
@@ -275,8 +277,8 @@ const closed = () => {
|
||||
<view class="flex flex-col justify-between flex-1">
|
||||
<view class="title">{{ itm.Goods?.name }}</view>
|
||||
<view class="text-[#F83D3D] mt-5">
|
||||
<view>{{ itm.pay_price }}元
|
||||
<text v-if="itm.pay_integral > 0">+{{ itm.pay_integral }}积分</text>
|
||||
<view>{{ itm.Goods.discount_price }}元
|
||||
<text v-if="itm.Goods.exchange > 0">+{{ itm.Goods.exchange }}积分</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -86,8 +86,8 @@
|
||||
<view class="flex flex-col justify-between flex-1">
|
||||
<view class="title">{{ item.Goods?.name }}</view>
|
||||
<view class="text-[#F83D3D] mt-5">
|
||||
<view>{{ item.pay_price }}元
|
||||
<text v-if="item.pay_integral > 0">+{{ item.pay_integral }}积分</text>
|
||||
<view>{{ item.Goods.discount_price }}元
|
||||
<text v-if="item.Goods.exchange > 0">+{{ item.Goods.exchange }}积分</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user