Fix(云灵AI):[#5186]订单查询,盲盒订单显示商品区域,隐藏金额信息

This commit is contained in:
lifizer
2026-04-29 10:29:47 +08:00
parent 20ca6c988e
commit 09a8d1b476
+40 -4
View File
@@ -21,7 +21,7 @@
{{ item.statusName }}
</view>
</view>
<view class="product-info-wrap">
<view v-if="item.isCustomizedGift === 0" class="product-info-wrap">
<view
v-for="cartItem in item.cartInfo"
:key="cartItem.productId"
@@ -53,15 +53,37 @@
</view>
</view>
</view>
<view v-else class="product-info-wrap">
<view
class="product-info product-info2"
>
<view class="good-img">
<image
:src="webUrl + '/orderIcon/盲盒礼包.png'"
class="img"
mode="widthFix"
lazy-load
/>
</view>
<view class="name-wrap">
<view class="name one-t">
盲盒礼物
</view>
<view class="attr">
待收货后展示商品信息
</view>
</view>
</view>
</view>
<view class="order-bottom">
<view class="time-total">
<view class="time">
{{ formatDateTime(item.createTime) }}
</view>
<view class="total">
{{ item.totalNum }}件商品
<text class="total-txt">
总金额<text class="color-red">{{ item.totalPrice }}</text>
{{ item.totalNum }}件商品
<text v-if="item.isCustomizedGift === 0" class="total-txt">
总金额<text class="color-red">{{ item.totalPrice }}</text>
</text>
</view>
</view>
@@ -179,6 +201,20 @@ export default {
}
}
}
.product-info2 {
.name-wrap {
display: flex;
flex-direction: column;
justify-content: space-between;
width: calc(100% - 140rpx);
.attr {
padding: 0;
font-size: 24rpx;
color: #999;
background-color: #fff;
}
}
}
.order-bottom {
.time-total {
display: flex;