jufubao-mall 2.0.27-beta2 → 2.0.27-beta3

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-beta2",
3
+ "version": "2.0.27-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -30,8 +30,8 @@
30
30
  <view v-if="showTopLine === 'B'" class="decorate" style="bottom: 0;"></view>
31
31
  </view>
32
32
  <view v-if="showBuyer == 'Y'" class="buyer_info section" :style=[blockSectionStyleComp]>
33
- <view>订购人信息</view>
34
- <input v-model="buyer_phone_number" class="uni-input" :focus="true" placeholder="订购人手机号" />
33
+ <view>订购信息</view>
34
+ <input v-model="buyer_phone_number" class="uni-input" :focus="true" placeholder="请填写订购人手机号" />
35
35
  </view>
36
36
  <!-- 商品信息 -->
37
37
  <view class="prod_info_wrap">
@@ -49,7 +49,7 @@
49
49
  prod_tit_one:prod.brand_name||prod.product_sku_name||(showActivityPrice==='Y'&&prod.is_activity==='Y')
50
50
  }">{{prod.product_name}}</view>
51
51
  <view class="prod_brand" :style="{color:brandTextColor}" v-if="prod.brand_name">{{prod.brand_name}}</view>
52
- <view class="prod_specs" v-if="prod.product_sku_name">{{prod.product_sku_name}}</view>
52
+ <view class="prod_specs" v-if="prod.product_sku_name">规格:{{prod.product_sku_name}}</view>
53
53
  <view class="prod_price">
54
54
  <view style="display:flex;align-items:center">
55
55
  <!-- <xd-unit :price="prod.sale_price" :isOld="false" color="#333" :iconSize="0.3" :fontSize="32"/> -->
@@ -80,11 +80,11 @@
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)"
82
82
  >
83
- <view style="color: #999999;">{{shop.deliveryPickLabel || "选择配送方式"}}</view>
83
+ <view style="color: #333333;">{{shop.deliveryPickLabel || "选择配送方式"}}</view>
84
84
  </picker>
85
85
  </xd-list-item>
86
86
  <view>
87
- <xd-list-item v-if="shop.sub_show_delivery_price==='Y'" label="配送费" showBottom paddingLR="48rpx">
87
+ <xd-list-item v-if="shop.sub_show_delivery_price==='Y'" label="配送费用" showBottom paddingLR="48rpx">
88
88
  <xd-unit :price="shop.user_logistics_amount_origin" :isOld="false"></xd-unit>
89
89
  </xd-list-item>
90
90
  <xd-list-item v-if="shop.deliveryPickValue === 'samecity' && shop.is_support_delivery == 'Y'" :label="shop.time_label" showRight paddingLR="48rpx" @click="toSetSelectTime(shopIndex,shop)">
@@ -103,7 +103,10 @@
103
103
  </view>
104
104
  </view>
105
105
  </view>
106
- <xd-list-item v-if="shop.delivery_message" :label="shop.delivery_message" paddingLR="48rpx" size="large"></xd-list-item>
106
+ <!-- <xd-list-item v-if="shop.delivery_message" :label="shop.delivery_message" paddingLR="48rpx" size="large"></xd-list-item> -->
107
+ <view v-if="showLogisticsTip === 'Y' && shop.deliveryPickValue === 'logistics'" class="logistics_tip">
108
+ {{logisticsTipText}}
109
+ </view>
107
110
  <view v-if="shop.is_support_delivery == 'N'" :style="{background:bgColor,color:warningColor}" class="err_message">
108
111
  {{shop.message}}
109
112
  </view>
@@ -113,10 +116,10 @@
113
116
  <!-- 订单备注信息 -->
114
117
  <view v-if="showOrderComment == 'Y'" class="order_comment section" :style=[blockSectionStyleComp]>
115
118
  <view class="title">备注信息</view>
116
- <textarea v-model="comment" :maxlength="50" type="textarea" placeholder="备注信息,限50字以内"/>
119
+ <input v-model="comment" class="order_market" :maxlength="200" placeholder="建议留言前先与平台沟通确认,最多只支持200字"/>
117
120
  </view>
118
121
  <!-- 展示vip -->
119
- <view v-if="is_show_vip_card_list === 'Y'" class="section" :style=[blockSectionStyleComp]>
122
+ <view v-if="is_show_vip_card_list === 'Y'" class="section" style="overflow: hidden;" :style=[blockSectionStyleComp]>
120
123
  <cus-vip-list :list="vipCardList"
121
124
  :vip_card_id="vip_card_id"
122
125
  :plus_saving_money="orderFee.plus_saving_money"
@@ -137,7 +140,7 @@
137
140
  <view v-if="showPrice === 'Y' || otherPayMethod.filter(it => it.method!=='third').length" class="money_box">
138
141
  <template v-if="showPrice === 'Y'">
139
142
  <xd-list-item v-if="isShowPlusSavingMoney" label="PLUS专享立减" showBottom paddingLR="48rpx">
140
- <view slot="label" style="color: #86541E;">PLUS专享立减</view>
143
+ <view slot="label" style="color: #7F5629;">PLUS专享立减</view>
141
144
  <xd-unit :largeZero="false" :price="-orderFee.plus_saving_money" :isOld="false" :fontSize="28" :iconSize="0.3"></xd-unit>
142
145
  </xd-list-item>
143
146
  <xd-list-item v-if="showLogisticsDiscount&&main_show_delivery_price==='Y'" label="运费减免" :showBottom="!!showPayMethods.length" paddingLR="48rpx">
@@ -149,17 +152,20 @@
149
152
  <xd-list-item v-if="item.method === 'card'" :key="item.method" :label="item.show_name" paddingLR="48rpx" showBottom :showRight="!(choseCoupon && choseCoupon.cardPayPrice)" @click="toChoseCard">
150
153
  <view slot="label">{{item.show_name}} <text v-if="choseCard && choseCard.cardPayPrice" style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view>
151
154
  <view v-if="(choseCoupon && choseCoupon.cardPayPrice)">
152
- <view style="color:#CCCCCC;font-size: 20rpx">已使用其他票券,不可用</view>
155
+ <view style="color:#CCCCCC;font-size: 24rpx">已使用其他票券,不可用</view>
153
156
  </view>
154
157
  <view v-else>
155
158
  <!-- <view v-if="choseCard && choseCard.cardPayPrice" slot="label">{{item.show_name}} <text style="color:red;margin-left: 4px;">(已选{{ choseCard.selectedCardList.length }}张)</text></view> -->
156
159
  <xd-unit v-if="choseCard && choseCard.cardPayPrice" :price="choseCard.cardPayPrice" :isOld="false" :fontSize="28" :iconSize="0.3"></xd-unit>
157
- <view v-else>请选择</view>
160
+ <view v-else>{{cardList.length}}张可用</view>
158
161
  </view>
159
162
  </xd-list-item>
160
163
  <xd-list-item v-if="item.method === 'wallet'" :key="item.method" :label="item.show_name" paddingLR="48rpx" showBottom :showRight="!(choseCoupon && choseCoupon.cardPayPrice)" @click="toChoseWallet">
164
+ <view slot="label">
165
+ {{ item.show_name }}<text style="color:red;margin-left: 8px;font-size: 24rpx;">(剩余{{ wallet_total_amount }})</text>
166
+ </view>
161
167
  <view v-if="(choseCoupon && choseCoupon.cardPayPrice)">
162
- <view style="color:#CCCCCC;font-size: 20rpx">已使用其他票券,不可用</view>
168
+ <view style="color:#CCCCCC;font-size: 24rpx">已使用其他票券,不可用</view>
163
169
  </view>
164
170
  <view v-else>
165
171
  <xd-unit v-if="choseWallet && choseWallet.walletPayPrice" :price='choseWallet.walletPayPrice' :isOld="false" :fontSize="28" :iconSize="0.3"></xd-unit>
@@ -171,19 +177,19 @@
171
177
  {{item.show_name}} <text style="color:red;margin-left: 4px;">(已选{{ choseCoupon.selectedCardList.length }}张)</text>
172
178
  </view>
173
179
  <view v-else>
174
- <view style="color:#CCCCCC;font-size: 20rpx" v-if="(choseWallet && choseWallet.walletPayPrice)||(choseCard && choseCard.cardPayPrice)">已使用其他票券,不可用</view>
175
- <view v-else>请选择</view>
180
+ <view style="color:#CCCCCC;font-size: 24rpx" v-if="(choseWallet && choseWallet.walletPayPrice)||(choseCard && choseCard.cardPayPrice)">已使用其他票券,不可用</view>
181
+ <view v-else>{{couponList.length}}张可用</view>
176
182
  </view>
177
183
  </xd-list-item>
178
184
  </template>
179
185
  </view>
180
186
  <view v-if="!is_plus_site && orderFee.total_amount && showPrice === 'Y'" class="money_box">
181
- <xd-list-item label="订单总额" paddingLR="48rpx">
187
+ <xd-list-item label="订单金额" paddingLR="48rpx">
182
188
  <xd-unit :price="orderFee.total_amount" :isOld="false" :fontSize="28" :iconSize="0.3"></xd-unit>
183
189
  </xd-list-item>
184
190
  </view>
185
191
  </view>
186
- <view :style="{height: '100rpx'}"></view>
192
+ <view :style="fixedBottomPlaceholder"></view>
187
193
  <!-- 靠低支付, 增加淘福客布局 -->
188
194
  <view class="fixe_bottom" :style="prod_bottom">
189
195
  <view class="fixed_bottom_body" :style="[bottomBoxStyle]">
@@ -245,12 +251,14 @@
245
251
  :addSettleCard="addSettleCard"
246
252
  @onChose="handleCardChose"
247
253
  @onAlert="handleCardChoseAlert"
254
+ @onInit="handleCardInit"
248
255
  >
249
256
  </xd-card-pay-chose>
250
257
  </template>
251
258
  <xd-wallet-chose
252
259
  v-if="payWallet"
253
260
  ref="xdWalletChose"
261
+ :defaultUseFirst="defaultUseWalletFirst"
254
262
  :hadChoseWallet="choseWallet && choseWallet.selectedWalletList"
255
263
  :layoutInfo="layoutInfo"
256
264
  :show.sync="showWalletChose"
@@ -258,6 +266,7 @@
258
266
  :useBindedWallet="useBindedWallet"
259
267
  @onChose="handleWalletChose"
260
268
  @onAlert="() => hasAlertCardChose = true"
269
+ @onInit="handleWalletInit"
261
270
  ></xd-wallet-chose>
262
271
  <cus-coupon-chose
263
272
  v-if="payCoupon"
@@ -276,6 +285,7 @@
276
285
  :getSettleListCoupons="getSettleListCoupons"
277
286
  :setSettleSelectCoupon="setSettleSelectCoupon"
278
287
  :layoutStyle="coupon_layout"
288
+ @onInit="handleCouponInit"
279
289
  ></cus-coupon-chose>
280
290
  <xd-select-time
281
291
  v-if="showSelectTime"
@@ -435,13 +445,16 @@
435
445
  showCardPayChoseWay: "", //支付按钮: pay_btn; 选择票券:chose_card
436
446
  choseCard: null,
437
447
  hasAlertCardChose: false,
448
+ cardList: [],
438
449
 
439
450
  showWalletChose: false,
440
451
  choseWallet: null,
452
+ wallet_total_amount: "",
441
453
 
442
454
  //优惠券
443
455
  choseCoupon: null,
444
456
  showCouponChose: false,
457
+ couponList: [],
445
458
 
446
459
  //面板
447
460
  xnamespace: "",
@@ -505,6 +518,9 @@
505
518
  skipTip: "N",
506
519
  skipToPay: "",
507
520
  guidePay: "",
521
+ showLogisticsTip: "Y",
522
+ logisticsTipText: "",
523
+ checkPayMethod: [],
508
524
  }
509
525
  },
510
526
  computed: {
@@ -595,6 +611,10 @@
595
611
  })
596
612
  return flat;
597
613
  },
614
+ fixedBottomPlaceholder() {
615
+ let bottomHeight = this.bottomPadding.top + this.bottomPadding.bottom;
616
+ return this.fixedStyle({paddingBottom: 40 + bottomHeight, zIndex: 110}, 'bottom', false);
617
+ },
598
618
  prod_bottom() {
599
619
  return this.fixedStyle({height: 0, zIndex: 111});
600
620
  },
@@ -638,12 +658,8 @@
638
658
  return result;
639
659
  },
640
660
  bottomBoxStyle(){
641
- let padding = `${this.checkValue(this.bottomPadding.top, 20)}rpx`;
642
- padding = `${padding} ${this.checkValue(this.bottomPadding.right, 20)}rpx`;
643
- padding = `${padding} ${this.checkValue(this.bottomPadding.bottom, 20)}rpx`;
644
- padding = `${padding} ${this.checkValue(this.bottomPadding.left, 20)}rpx`;
645
661
  return {
646
- padding: padding
662
+ padding: this.getMarginAndPadding(this.bottomPadding, 20)
647
663
  }
648
664
  },
649
665
  bodyStyleComp(){
@@ -673,8 +689,10 @@
673
689
  boxShadow: this.addrShadow,
674
690
  overflow: 'hidden'
675
691
  }
676
-
677
692
  return style;
693
+ },
694
+ defaultUseWalletFirst(){
695
+ return this.checkPayMethod.includes('wallet');
678
696
  }
679
697
  },
680
698
  watch: {
@@ -773,6 +791,9 @@
773
791
  this.skipTip = getContainerPropsValue(container, "content.skipTip", "N");
774
792
  this.skipToPay = getContainerPropsValue(container, "content.skipToPay", "N");
775
793
  this.guidePay = getContainerPropsValue(container, "content.guidePay", "");
794
+ this.showLogisticsTip = gCPVal(container, 'showLogisticsTip', "Y");
795
+ this.logisticsTipText = gCPVal(container, 'logisticsTipText', '订单生成后72小时发货,如遇节假日发货顺延');
796
+ console.log("this.showLogisticsTip", this.showLogisticsTip);
776
797
  if(this.useMode === "market"){
777
798
  this.showPrice = "Y"
778
799
  }
@@ -786,9 +807,9 @@
786
807
 
787
808
  this.brandTextColor = gCPVal(container, 'brandTextColor', [this.mainColor], {sKey: "brandTextStatus", fields: ['brandTextColor']})
788
809
  this.blessFontSize = gCPVal(container, 'blessFontSize', [24], {sKey: 'formTipStatus', fields: ['blessFontSize', 'blessTextColor']});
789
- this.blessTextColor = gCPVal(container, 'blessTextColor', [this.mainColor], {sKey: "formTipStatus", fields: ['blessFontSize', 'blessTextColor']});
810
+ this.blessTextColor = gCPVal(container, 'blessTextColor', [this.dangerColor], {sKey: "formTipStatus", fields: ['blessFontSize', 'blessTextColor']});
790
811
  this.priceTextColor = gCPVal(container, 'priceTextColor', [this.mainColor], {sKey: "activityPriceStatus", fields: ['priceTextColor']})
791
- this.bottomPadding = gCPVal(container, 'bottomPadding', [0], {sKey: "bottomPaddingStatus", fields: ['bottomPadding']});
812
+ this.bottomPadding = gCPVal(container, 'bottomPadding', [20], {sKey: "bottomPaddingStatus", fields: ['bottomPadding']});
792
813
  this.bottomBtnRadius = gCPVal(container, 'bottomBtnRadius', [40], {sKey: "btnStyleStatus", fields: ['bottomBtnRadius', 'bottomBtnHeight', 'bottomPayText']});
793
814
  this.bottomBtnHeight = gCPVal(container, 'bottomBtnHeight', [60], {sKey: "btnStyleStatus", fields: ['bottomBtnRadius', 'bottomBtnHeight', 'bottomPayText']});
794
815
  this.bottomPayText = gCPVal(container, 'bottomPayText', ["支付"], {sKey: "btnStyleStatus", fields: ['bottomBtnRadius', 'bottomBtnHeight', 'bottomPayText']});
@@ -816,13 +837,15 @@
816
837
  this.bodyPadding = gCPVal(container,'bodyPadding', [0], {sKey:'bodyPaddingStatus',fields:['bodyPadding'],isPMR: true});
817
838
 
818
839
  this.radius = gCPVal(container, 'radius', [this.gStyleValue.radius, 0], {sKey: "radiusStatus", fields: ['radius']})||0
819
- let blockShadow = gCPVal(container, 'blockShadow', [this.gStyleValue.shadow, {color: '#e5e5e5', width: '10'}], {sKey: "blockShadowStatus", fields: ['blockShadow']});
840
+ let blockShadow = gCPVal(container, 'blockShadow', ['none'], {sKey: "blockShadowStatus", fields: ['blockShadow']});
820
841
  this.blockShadow = blockShadow ? this.getBSStr(blockShadow, 'shadow') : 'none';
821
842
 
822
843
  this.addrRadius = gCPVal(container, 'addrRadius', [this.gStyleValue.radius, 0], {sKey:'addrRadiusStatus',fields:['addrRadius']})||0;
823
- let addrShadow = gCPVal(container, 'addrShadow', [this.gStyleValue.shadow, {color: '#e5e5e5', width: '10'}], {sKey: "addrShadowStatus", fields: ['addrShadow']});
844
+ let addrShadow = gCPVal(container, 'addrShadow', ['none'], {sKey: "addrShadowStatus", fields: ['addrShadow']});
824
845
  this.addrShadow = addrShadow ? this.getBSStr(addrShadow, 'shadow') : 'none';
825
846
  this.coupon_layout = gCPVal(container, 'coupon_layout', ['1']);
847
+ this.checkPayMethod = gCPVal(container, 'checkPayMethod', []);
848
+ console.log("this.checkPayMethod", this.checkPayMethod);
826
849
 
827
850
  if(this.skipToPay === 'N'){
828
851
  this.hasAlertCardChose = true;
@@ -842,6 +865,9 @@
842
865
  console.log(this.choseWallet)
843
866
  this.showWalletChose = false;
844
867
  },
868
+ handleWalletInit(total){
869
+ this.wallet_total_amount = this.$xdUniHelper.divisionFloatNumber(total, 100);
870
+ },
845
871
 
846
872
  //only选择满减券
847
873
  toChoseCoupon(){
@@ -854,6 +880,9 @@
854
880
  this.choseCoupon = data;
855
881
  this.showCouponChose = false;
856
882
  },
883
+ handleCouponInit(coupList){
884
+ this.couponList = coupList;
885
+ },
857
886
 
858
887
  //only选择卡片
859
888
  toChoseCard(){
@@ -877,6 +906,9 @@
877
906
  duration: 0
878
907
  })
879
908
  },
909
+ handleCardInit(cardList){
910
+ this.cardList = cardList;
911
+ },
880
912
  getUserWalletList(cb){
881
913
  jfbRootExec("getUserWallet", {
882
914
  vm: this,
@@ -1579,6 +1611,9 @@
1579
1611
  display: flex;
1580
1612
  align-items: center;
1581
1613
  font-size: 28rpx;
1614
+ ::v-deep .uni-input-placeholder{
1615
+ color: #999999;
1616
+ }
1582
1617
  .uni-input{
1583
1618
  font-size: 28rpx;
1584
1619
  height: 64rpx;
@@ -1590,6 +1625,14 @@
1590
1625
  }
1591
1626
  }
1592
1627
  .prod_info_wrap{
1628
+ ::v-deep .uni-input-placeholder{
1629
+ color: #999999;
1630
+ }
1631
+ .logistics_tip{
1632
+ padding: 24rpx 48rpx;
1633
+ font-size: 24rpx;
1634
+ color: var(--g-theme-dangerColor);
1635
+ }
1593
1636
  .err_message{
1594
1637
  padding: 20rpx 48rpx;
1595
1638
  font-size: 24rpx;
@@ -1653,7 +1696,7 @@
1653
1696
  }
1654
1697
  }
1655
1698
  .wish_comment{
1656
- padding: 0 48rpx 24rpx;
1699
+ padding: 0 48rpx;
1657
1700
  input{
1658
1701
  background: #F7F7F7;
1659
1702
  height: 68rpx;
@@ -1663,7 +1706,7 @@
1663
1706
  }
1664
1707
  .bless_tip{
1665
1708
  font-size: 26rpx;
1666
- margin: 16rpx 0;
1709
+ margin: 20rpx 0 24rpx;
1667
1710
  }
1668
1711
  }
1669
1712
  }
@@ -1673,14 +1716,18 @@
1673
1716
  font-size: 28rpx;
1674
1717
  margin-bottom: 24rpx;
1675
1718
  }
1676
- textarea{
1719
+ .order_market{
1677
1720
  border-radius: 8rpx;
1678
1721
  box-sizing: border-box;
1679
1722
  background: #F7F7F7;
1680
1723
  width: 100%;
1681
1724
  padding: 20rpx;
1682
- height: 168rpx;
1683
1725
  font-size: unit(24,rpx);
1726
+ height: 74rpx;
1727
+
1728
+ ::v-deep .uni-input-placeholder{
1729
+ color: #999999;
1730
+ }
1684
1731
  }
1685
1732
  }
1686
1733
  .fixe_bottom{
@@ -376,7 +376,7 @@ module.exports = {
376
376
  {
377
377
  repo_name: "仓库3",
378
378
  supplier_id: 61527,
379
- delivery_method: "takeout",
379
+ delivery_method: "logistics",
380
380
  user_logistics_amount: 50,
381
381
  user_logistics_discount_id: "0",
382
382
  user_logistics_discount_name: "",
@@ -1,20 +1,22 @@
1
1
  <template>
2
2
  <view class="xd-addr-default">
3
3
  <view v-if="curAddr" class="addr_wrap">
4
- <view class="icon_addr">
5
- <xd-font-icon size="32" style="color: #B1B1B1;" icon="icondizhitubiao"></xd-font-icon>
6
- </view>
7
4
  <view class="addr_info">
8
5
  <view class="addr_name">{{curAddr.name}} <text class="_phone">{{curAddr.phone}}</text></view>
9
6
  <view class="address-detail">
10
- {{curAddr.province_name}}{{curAddr.city_name}}{{curAddr.area_name}}{{curAddr.street_name}}{{curAddr.address_detail}}{{curAddr.house_number}}
7
+ <view class="icon_wrap">
8
+ <xd-font-icon size="28" style="color: #999999;" icon="icondizhitubiao"></xd-font-icon>
9
+ </view>
10
+ <view style="flex:1;width: 500rpx;">
11
+ {{curAddr.province_name}}{{curAddr.city_name}}{{curAddr.area_name}}{{curAddr.street_name}}{{curAddr.address_detail}}{{curAddr.house_number}}
12
+ </view>
11
13
  </view>
12
14
  <view class="address-prompt-message">
13
15
  为方便您顺利收件,请填写真实姓名
14
16
  </view>
15
17
  </view>
16
18
  <view class="arrow_right">
17
- <xd-font-icon size="32" style="color: #B1B1B1;" icon="iconxiangyou_xian"></xd-font-icon>
19
+ <!-- <xd-font-icon size="32" style="color: #B1B1B1;" icon="iconxiangyou_xian"></xd-font-icon> -->
18
20
  </view>
19
21
  </view>
20
22
  <view class="empty_addr" v-else>
@@ -57,7 +59,7 @@
57
59
  .addr_wrap{
58
60
  display: flex;
59
61
  align-items: center;
60
- padding: 34rpx 0 34rpx 12rpx;
62
+ padding: 32rpx 0 32rpx 48rpx;
61
63
  .icon_addr{
62
64
  display: flex;
63
65
  width: 70rpx;
@@ -74,20 +76,31 @@
74
76
  flex: 1;
75
77
  width: 400rpx;
76
78
  .addr_name{
77
- font-size: 30rpx;
78
- color: #191a1b;
79
+ font-size: 28rpx;
80
+ font-weight: 500;
81
+ color: #333333;
82
+ padding-left: 44rpx;
79
83
  }
80
84
  ._phone{
81
- color: #797d82;
82
85
  margin-left: 8rpx;
83
86
  }
84
87
  .address-detail{
85
- font-size: 26rpx;
86
- color: #797d82;
88
+ font-size: 28rpx;
89
+ color: #666666;
90
+ margin: 20rpx 0 8rpx;
91
+ display: flex;
92
+ align-items: flex-start;
93
+
94
+ .icon_wrap{
95
+ width: 44rpx;
96
+ padding: 8rpx 0 0 0rpx;
97
+ box-sizing: border-box;
98
+ }
87
99
  }
88
100
  .address-prompt-message{
89
- font-size: 22rpx;
90
- color: #baa27a;
101
+ font-size: 24rpx;
102
+ color: var(--g-theme-dangerColor);
103
+ padding-left: 44rpx;
91
104
  }
92
105
  }
93
106
  }
@@ -51,7 +51,7 @@
51
51
  color: #333;
52
52
  font-weight: 500;
53
53
  .default_tag{
54
- background: #FE7A63;
54
+ background: var(--g-theme-mainColor);
55
55
  font-size: 24rpx;
56
56
  font-weight: 400;
57
57
  padding: 8rpx 16rpx;
@@ -24,7 +24,7 @@
24
24
  v-if="showRight"
25
25
  :style="{
26
26
  marginLeft: '10rpx',
27
- color: '#B1B1B1'
27
+ color: rIconColor
28
28
  }"
29
29
  size="24"
30
30
  icon="iconxiangyou_xian"
@@ -52,7 +52,7 @@ export default {
52
52
  },
53
53
  paddingTB:{
54
54
  type: String,
55
- default: "24rpx"
55
+ default: "20rpx"
56
56
  },
57
57
  paddingLR: {
58
58
  type: String,
@@ -81,6 +81,10 @@ export default {
81
81
  className: {
82
82
  type: String,
83
83
  default: ''
84
+ },
85
+ rIconColor: {
86
+ type: String,
87
+ default: '#333333'
84
88
  }
85
89
  }
86
90
 
@@ -9,6 +9,10 @@ import {
9
9
  } from "@/utils/AttrTools";
10
10
 
11
11
  export default function (data, gValue,gColor,oldData){
12
+ console.log("content data", data);
13
+ if(data.showTopLine === 'Y'){
14
+ data.showTopLine = 'T';
15
+ }
12
16
 
13
17
  return [
14
18
  {
@@ -82,7 +86,7 @@ export default function (data, gValue,gColor,oldData){
82
86
  label: "使用新票券",
83
87
  ele: "xd-radio",
84
88
  valueKey: "bindCard",
85
- value: dataVal({data, key:'bindCard', dValue: "1", gValue}),
89
+ value: dataVal({data, key:'bindCard', dValue: "", gValue}),
86
90
  groupKey:'content',
87
91
  labelInline: true,
88
92
  inline: false,
@@ -106,6 +110,20 @@ export default function (data, gValue,gColor,oldData){
106
110
  {label: '不跳过', value: 'N'},
107
111
  ],
108
112
  },
113
+ {
114
+ label: "默认选中",
115
+ ele: 'xd-check',
116
+ valueKey: "checkPayMethod",
117
+ value: data.checkPayMethod,
118
+ groupKey: "content",
119
+ labelInline: true,
120
+ inline: false,
121
+ notice: "钱包与积分是否默认选中",
122
+ list: [
123
+ { label: "钱包", value: "wallet" },
124
+ { label: "积分", value: "score"}
125
+ ]
126
+ },
109
127
  {
110
128
  ele: 'title',
111
129
  label: '组件样式',
@@ -113,7 +131,7 @@ export default function (data, gValue,gColor,oldData){
113
131
  groupKey:'content',
114
132
  },
115
133
  {
116
- label: "收货地址",
134
+ label: "地址样式",
117
135
  ele: "xd-style-image",
118
136
  groupKey: 'content',
119
137
  valueKey: "address_layout",
@@ -233,7 +251,7 @@ export default function (data, gValue,gColor,oldData){
233
251
  },
234
252
  {
235
253
  ele: 'title',
236
- label: '显示内容',
254
+ label: '展示内容',
237
255
  size: 'small',
238
256
  groupKey:'content',
239
257
  },
@@ -303,6 +321,35 @@ export default function (data, gValue,gColor,oldData){
303
321
  tips:['显示','不显示'],
304
322
  isBackType: 'string'
305
323
  },
306
- }
324
+ },
325
+ {
326
+ label: '快递提示',
327
+ ele: 'xd-cus-switch',
328
+ valueKey: 'showLogisticsTip',
329
+ value: dataVal({data, key:'showLogisticsTip', dValue: 'Y', gValue}),
330
+ className: 'input100',
331
+ groupKey:'content',
332
+ labelInline:true,
333
+ inline: false,
334
+ cusStyle:{marginBottom: '10px'},
335
+ setting: {
336
+ tips:['显示','不显示'],
337
+ isBackType: 'string'
338
+ },
339
+ notice:'仅针对配送方式为快递的商品展示',
340
+ },
341
+ {ele: 'group_start'},
342
+ {
343
+ label: "",
344
+ ele: "el-input",
345
+ valueKey: "logisticsTipText",
346
+ value: dataVal({data, key:'logisticsTipText', dValue: '', gValue}),
347
+ hidden: data.showLogisticsTip === 'N',
348
+ labelInline: true,
349
+ className: 'input100',
350
+ placeholder: '订单生成后72小时发货,如遇节假日发货顺延',
351
+ groupKey:'content',
352
+ },
353
+ {ele: 'group_end'},
307
354
  ].filter(i=>i)
308
355
  }