jufubao-mall 2.0.27-beta7 → 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-beta7",
3
+ "version": "2.0.27-beta9",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -75,7 +75,7 @@
75
75
  </view>
76
76
  <!-- 配送信息 -->
77
77
  <view v-if="shop.support_delivery_method_options.length" class="delivery">
78
- <xd-list-item v-if="shop.sub_show_delivery_method==='Y'" label="配送方式" showRight paddingLR="48rpx" paddingTB="24rpx" showBottom size="large">
78
+ <xd-list-item v-if="shop.sub_show_delivery_method==='Y'" label="配送方式" showRight paddingLR="48rpx" paddingTB="24rpx" showBottom size="large" class="xd-my-list-item">
79
79
  <picker @change="e => bindPickerChange(e, shopIndex)"
80
80
  range-key="label" :range="shop.support_delivery_method_options"
81
81
  :value="shop.support_delivery_method_options.findIndex(ll => ll.value == shop.deliveryPickValue)"
@@ -84,22 +84,22 @@
84
84
  </picker>
85
85
  </xd-list-item>
86
86
  <template>
87
- <xd-list-item v-if="shop.sub_show_delivery_price==='Y'" label="配送费用" showBottom paddingLR="48rpx" paddingTB="24rpx">
87
+ <xd-list-item v-if="shop.sub_show_delivery_price==='Y'" label="配送费用" showBottom paddingLR="48rpx" paddingTB="24rpx" class="xd-my-list-item">
88
88
  <xd-unit :price="shop.user_logistics_amount_origin" :fontSize="28" :isOld="false"></xd-unit>
89
89
  </xd-list-item>
90
- <xd-list-item v-if="shop.deliveryPickValue === 'samecity'"
90
+ <xd-list-item v-if="shop.deliveryPickValue === 'samecity'" class="xd-my-list-item"
91
91
  :label="shop.time_label" showRight paddingLR="48rpx" paddingTB="24rpx" showBottom
92
92
  @click="toSetSelectTime(shopIndex,shop)">
93
93
  {{shop.selectTime ? shop.selectTime.dateTime : "请选择"}}
94
94
  </xd-list-item>
95
95
  <template v-if="shop.deliveryPickValue === 'takeout'" >
96
96
  <!-- 配送方式:到店自提 -->
97
- <xd-list-item label="选择门店" show-right paddingLR="48rpx" paddingTB="24rpx" showBottom @click="toSetSelectShop(shopIndex)">
97
+ <xd-list-item label="选择门店" show-right paddingLR="48rpx" paddingTB="24rpx" showBottom @click="toSetSelectShop(shopIndex)" class="xd-my-list-item">
98
98
  <view style="text-overflow: ellipsis;overflow: hidden;white-space: nowrap;width: 460rpx;text-align: right;">
99
99
  {{shop.choseShop ? shop.choseShop.resource_shop_name : "请选择"}}
100
100
  </view>
101
101
  </xd-list-item>
102
- <xd-list-item v-if="shop.takeoutTimeList" :label="shop.time_label" show-right paddingLR="48rpx" paddingTB="24rpx" @click="toSetTakeoutTime(shopIndex,shop)">
102
+ <xd-list-item v-if="shop.takeoutTimeList" :label="shop.time_label" show-right paddingLR="48rpx" paddingTB="24rpx" @click="toSetTakeoutTime(shopIndex,shop)" class="xd-my-list-item">
103
103
  <view style="">{{shop.takeoutTime ? shop.takeoutTime.dateTime : '请选择'}}</view>
104
104
  </xd-list-item>
105
105
  </template>
@@ -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">
@@ -375,6 +375,9 @@
375
375
  import CusPrice from '@/components/CusPrice/CusPrice'
376
376
  import CusVipList from "@/components/CusVipList/CusVipList"
377
377
  export default {
378
+ // #ifdef MP-WEIXIN
379
+ options: { styleIsolation: 'shared' },
380
+ // #endif
378
381
  name: "JfbMallConfirm",
379
382
  components: {
380
383
  XdFontIcon,
@@ -539,6 +542,10 @@
539
542
  brandInfo: state => state.brandInfo,
540
543
  siteInfo: state => state.siteInfo,
541
544
  }),
545
+ showProductPrice(){
546
+ let price = this.gift_id ? this.orderFee.product_amount : this.orderFee.origin_amount;
547
+ return price;
548
+ },
542
549
  //是否展示plus立减
543
550
  isShowPlusSavingMoney(){
544
551
  if(this.is_show_vip_card_list === 'Y') return this.vip_card_id;
@@ -1594,16 +1601,8 @@
1594
1601
  }
1595
1602
  .order_fee{
1596
1603
  overflow: hidden;
1597
- // padding: var(--order-line-height) 0;
1598
1604
  ::v-deep .xd-my-list-item{
1599
- // padding-bottom: var(--order-line-height) !important;
1600
- // padding-top: var(--order-line-height) !important;
1601
- // padding-top: 0 !important;
1602
- // padding-bottom: 0 !important;
1603
-
1604
- &.logistics_discount{
1605
- // padding-top: var(--order-line-height) !important;
1606
- }
1605
+ &.logistics_discount{}
1607
1606
  }
1608
1607
 
1609
1608
  .money_box{
@@ -1612,7 +1611,6 @@
1612
1611
  &:last-child{
1613
1612
  margin-bottom: 0;
1614
1613
  }
1615
- // padding: var(--order-line-height) 0;
1616
1614
  }
1617
1615
  }
1618
1616
  .shipping-address{
@@ -1684,9 +1682,18 @@
1684
1682
  font-size: 24rpx;
1685
1683
  }
1686
1684
  .delivery{
1685
+ // #ifdef H5
1687
1686
  ::v-deep .xd-my-list-item:last-child{
1688
1687
  border-bottom: none !important;
1689
1688
  }
1689
+ // #endif
1690
+ // #ifdef MP-WEIXIN
1691
+ .xd-my-list-item:last-child{
1692
+ ::v-deep .xd-my-list-item{
1693
+ border-bottom: none !important;
1694
+ }
1695
+ }
1696
+ // #endif
1690
1697
  }
1691
1698
  .shop_name{
1692
1699
  padding: 24rpx 48rpx;
@@ -1705,7 +1712,6 @@
1705
1712
  width: 180rpx;
1706
1713
  height: 180rpx;
1707
1714
  margin-right: 24rpx;
1708
- background: #DDD;
1709
1715
  image{
1710
1716
  width: 100%;
1711
1717
  height: 100%;
@@ -143,6 +143,10 @@ export default {
143
143
  align-items: center;
144
144
  margin-left: 8rpx;
145
145
 
146
+ // #ifdef MP-WEIXIN
147
+ padding: 8rpx 32rpx;
148
+ // #endif
149
+
146
150
  ::v-deep .uni-input-placeholder{
147
151
  color: #999999;
148
152
  }