jufubao-mall 2.0.27-beta8 → 2.0.27-beta9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-mall",
3
- "version": "2.0.27-beta8",
3
+ "version": "2.0.27-beta9",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -132,7 +132,7 @@
132
132
  <!-- 礼包不显示订单信息 -->
133
133
  <view class="order_fee" :style=[blockSectionStyleComp]>
134
134
  <view v-if="showPrice === 'Y'" class="money_box">
135
- <xd-list-item label="商品价格" paddingLR="48rpx" :showBottom="showLogisticsAmount&&main_show_delivery_price==='Y'">
135
+ <xd-list-item v-if="showProductPrice" label="商品价格" paddingLR="48rpx" :showBottom="showLogisticsAmount&&main_show_delivery_price==='Y'">
136
136
  <xd-unit :price="gift_id ? orderFee.product_amount : orderFee.origin_amount" :isOld="false" :fontSize="28" :iconSize="0.3"></xd-unit>
137
137
  </xd-list-item>
138
138
  <xd-list-item v-if="showLogisticsAmount&&main_show_delivery_price==='Y'" label="商品运费" paddingLR="48rpx">
@@ -542,6 +542,10 @@
542
542
  brandInfo: state => state.brandInfo,
543
543
  siteInfo: state => state.siteInfo,
544
544
  }),
545
+ showProductPrice(){
546
+ let price = this.gift_id ? this.orderFee.product_amount : this.orderFee.origin_amount;
547
+ return price;
548
+ },
545
549
  //是否展示plus立减
546
550
  isShowPlusSavingMoney(){
547
551
  if(this.is_show_vip_card_list === 'Y') return this.vip_card_id;