jufubao-mall 2.0.27-beta6 → 2.0.27-beta8

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-beta6",
3
+ "version": "2.0.27-beta8",
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>
@@ -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,
@@ -785,18 +788,6 @@
785
788
  this.jwxSDK = res.jwxSDK;
786
789
  })
787
790
  // #endif
788
-
789
- if(this.ticketPositionStatus === 'Y'){
790
- this.$nextTick(() => {
791
- setTimeout(() => {
792
- uni.pageScrollTo({
793
- scrollTop: 10000,
794
- duration: 200
795
- })
796
- }, 1000)
797
- })
798
-
799
- }
800
791
  },
801
792
  /**
802
793
  * @description 监听事件变化
@@ -948,11 +939,14 @@
948
939
  },
949
940
  handleCardChoseAlert(){
950
941
  this.hasAlertCardChose = true;
951
- //滚动到底部
952
- uni.pageScrollTo({
953
- scrollTop: 99999,
954
- duration: 0
955
- })
942
+ if(this.ticketPositionStatus === 'Y'){
943
+ //滚动到底部
944
+ uni.pageScrollTo({
945
+ scrollTop: 99999,
946
+ duration: 0
947
+ })
948
+ }
949
+
956
950
  },
957
951
  handleCardInit(cardList){
958
952
  this.cardList = cardList;
@@ -1603,16 +1597,8 @@
1603
1597
  }
1604
1598
  .order_fee{
1605
1599
  overflow: hidden;
1606
- // padding: var(--order-line-height) 0;
1607
1600
  ::v-deep .xd-my-list-item{
1608
- // padding-bottom: var(--order-line-height) !important;
1609
- // padding-top: var(--order-line-height) !important;
1610
- // padding-top: 0 !important;
1611
- // padding-bottom: 0 !important;
1612
-
1613
- &.logistics_discount{
1614
- // padding-top: var(--order-line-height) !important;
1615
- }
1601
+ &.logistics_discount{}
1616
1602
  }
1617
1603
 
1618
1604
  .money_box{
@@ -1621,7 +1607,6 @@
1621
1607
  &:last-child{
1622
1608
  margin-bottom: 0;
1623
1609
  }
1624
- // padding: var(--order-line-height) 0;
1625
1610
  }
1626
1611
  }
1627
1612
  .shipping-address{
@@ -1693,9 +1678,18 @@
1693
1678
  font-size: 24rpx;
1694
1679
  }
1695
1680
  .delivery{
1681
+ // #ifdef H5
1696
1682
  ::v-deep .xd-my-list-item:last-child{
1697
1683
  border-bottom: none !important;
1698
1684
  }
1685
+ // #endif
1686
+ // #ifdef MP-WEIXIN
1687
+ .xd-my-list-item:last-child{
1688
+ ::v-deep .xd-my-list-item{
1689
+ border-bottom: none !important;
1690
+ }
1691
+ }
1692
+ // #endif
1699
1693
  }
1700
1694
  .shop_name{
1701
1695
  padding: 24rpx 48rpx;
@@ -1714,7 +1708,6 @@
1714
1708
  width: 180rpx;
1715
1709
  height: 180rpx;
1716
1710
  margin-right: 24rpx;
1717
- background: #DDD;
1718
1711
  image{
1719
1712
  width: 100%;
1720
1713
  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
  }