Fix:5686 【商城小程序】小程序【我的订单-集采中心】的礼品订单中未显示礼品价值

This commit is contained in:
LinCyJang
2026-08-10 21:32:00 +08:00
parent 3f0ca5e55e
commit 90d908a959
+13 -2
View File
@@ -199,11 +199,10 @@
<view class="acea-row name-wrap">
<view class="name more-t v12-font-bold">{{ item.name }}</view>
<view class="money">
<view v-if="item.showPrice">
<view v-if="isCollectiveWholesalerOrder(order)">
<text class="v12-font-22"></text>
<text class="v12-font-28">{{ force2Decimal(item.price) }}</text>
</view>
<view class="v12-font-22 v12-secondary-dark-text">x{{ item.qty }}</view>
</view>
</view>
<view class="acea-row attr-wrap ">
@@ -213,6 +212,14 @@
>
{{ item.sku }}
</view>
<view class="v12-font-22 v12-secondary-dark-text">x{{ item.qty }}</view>
</view>
<view
v-if="isCollectiveCustomGiftOrder(order) && item.isShowValue"
class="gift-value-row v12-font-24 v12-secondary-dark-text"
>
<text>礼品价值</text>
<text class="v12-dark-text">{{ force2Decimal(item.giftValue) }}</text>
</view>
</view>
</view>
@@ -2161,6 +2168,10 @@ page {
.my-order .list .item .item-info .attr-wrap {
margin: 10rpx 0 0 0;
}
.my-order .list .item .item-info .gift-value-row {
margin-top: 12rpx;
line-height: 36rpx;
}
.my-order .list .item .item-info .text .name {
width: calc(100% - 120rpx);
}