jufubao-third 1.0.8-beta1 → 1.0.9-beta1

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-third",
3
- "version": "1.0.8-beta1",
3
+ "version": "1.0.9-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件第三方购物平台包",
6
6
  "main": "index.js",
@@ -51,7 +51,7 @@
51
51
  "color": "^3.1.3",
52
52
  "core-js": "^2.6.5",
53
53
  "flyio": "^0.6.2",
54
- "gxd-uni-library-editx": "1.0.69",
54
+ "gxd-uni-library-editx": "1.0.123",
55
55
  "jweixin-module": "^1.6.0",
56
56
  "md5": "^2.3.0",
57
57
  "path-to-regexp": "^6.2.1",
@@ -13,7 +13,9 @@
13
13
  :class="{ editx : isEditx && active }"
14
14
  v-if="isEditx && active && !noBorder"
15
15
  >
16
- <view class="jfb-third-block__edit-icon" @click="delEdit">删除</view>
16
+ <view class="jfb-third-block__edit-icon" @click.stop="delEdit">
17
+ <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
18
+ </view>
17
19
  </view>
18
20
  <!-- #endif -->
19
21
  <view class="jfb-third-block__body">
@@ -28,7 +30,7 @@
28
30
  import JfbThirdBlockMixin from "./JfbThirdBlockMixin";
29
31
  import {getContainerPropsValue} from "@/utils/xd.base";
30
32
  import componentsMixins from "@/mixins/componentsMixins";
31
-
33
+
32
34
  export default {
33
35
  name: "JfbThirdBlock",
34
36
  components: {
@@ -60,11 +62,11 @@
60
62
  if (height) this.height = height;
61
63
  },
62
64
  onJfbLoad(options) {
63
-
65
+
64
66
  },
65
67
  }
66
68
  }
67
-
69
+
68
70
 
69
71
  </script>
70
72
 
@@ -33,7 +33,7 @@
33
33
  left:0;
34
34
  bottom:0;
35
35
  right:0;
36
- z-index: 4;
36
+ z-index: var(--preview-z-index);
37
37
  cursor: pointer;
38
38
  }
39
39
 
@@ -44,17 +44,18 @@
44
44
  cursor: pointer;
45
45
  position: absolute;
46
46
  right: unit(0, rpx);
47
- top: unit(-52, rpx);
47
+ top: unit(0, rpx);
48
48
  height: unit(50, rpx);
49
- line-height: unit(50, rpx);
49
+ z-index: 100;
50
50
  display: flex;
51
51
  justify-content: center;
52
52
  align-items: center;
53
- background: rgba(0, 0, 0, .6);
54
- border-radius: unit(10, rpx);
53
+ background: rgba(0, 0, 0, .4);
54
+ border-radius: 0 0 0 20rpx;
55
55
  box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
56
  color: #fff;
57
57
  font-size: unit(22, rpx);
58
+ padding: 0 6rpx 0 6px;
58
59
 
59
60
  &-icon{
60
61
  padding: 0 unit(20, rpx);
@@ -10,7 +10,9 @@
10
10
  :class="{ editx : isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-third-pay__edit-icon" @click="delEdit">删除</view>
13
+ <view class="jfb-third-pay__edit-icon" @click.stop="delEdit">
14
+ <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
+ </view>
14
16
  </view>
15
17
  <!-- #endif -->
16
18
  <view class="jfb-third-pay__body">
@@ -317,7 +319,7 @@
317
319
  valid_token: "", //验证码token
318
320
  },
319
321
  renderChecked: "renderChecked",
320
-
322
+
321
323
  product_total_price: "",
322
324
  total_price: "",
323
325
  servicePrice: "",
@@ -325,10 +327,10 @@
325
327
 
326
328
  jwxSDK: null,
327
329
  validImageAPIUrl: "",
328
-
330
+
329
331
  //请求参数
330
332
  main_order_id: "",
331
-
333
+
332
334
  cardList: [], //卡绑定列表
333
335
  selectedCardList: [], //卡绑定使用的
334
336
  options: {},
@@ -391,7 +393,7 @@
391
393
  //设置业务请求代码
392
394
  this.options = options;
393
395
  this.setNameSpace(options);
394
-
396
+
395
397
  let { main_order_id} = options;
396
398
  this.main_order_id = main_order_id;
397
399
  this.validImageAPIUrl = this.brandInfo['api_host'] + '/common/v1/valid_code/image/show'
@@ -426,7 +428,7 @@
426
428
  ...this.options,
427
429
  }
428
430
  }).then(res => {
429
-
431
+
430
432
  if(res.pay_status === "Y"){
431
433
  //已支付, 跳转成功页
432
434
  this.$xdUniHelper.redirectTo({
@@ -528,7 +530,7 @@
528
530
  let valid_token = this.$xdUniHelper.randomChar(20);
529
531
  this.$set(this.cardForm, "valid_token", valid_token);
530
532
  },
531
-
533
+
532
534
  //扫码
533
535
  doScanCode(){
534
536
  // #ifdef H5
@@ -565,7 +567,7 @@
565
567
  if (list.card_password) list.card_password = list.card_password.substr(0, 2) + '********' + list.card_password.substr(-3);
566
568
  return list;
567
569
  }
568
-
570
+
569
571
  //array
570
572
  return list.map(item => {
571
573
  if(item.card_use_certificate) item.card_use_certificate = item.card_use_certificate.substr(0, 2) + '********' + item.card_use_certificate.substr(-3);
@@ -632,7 +634,7 @@
632
634
 
633
635
  //重合的卡券列表
634
636
  let repeatCardList = selected_card_list.filter(item => r_cards.includes(item.card_number));
635
-
637
+
636
638
  if(repeatCardList.length > 0){
637
639
  let repeatCard = repeatCardList[0];
638
640
  //重复的以前的卡数据
@@ -762,7 +764,7 @@
762
764
  }
763
765
 
764
766
  },
765
-
767
+
766
768
  handlerPayCheck(channel_provider_id, flat){
767
769
  if(flat) this.channel_provider_id = channel_provider_id;
768
770
  else this.channel_provider_id = "";
@@ -901,7 +903,7 @@
901
903
  box-sizing: border-box;
902
904
  margin: 30rpx auto;
903
905
  font-size: 28rpx;
904
-
906
+
905
907
  .icon{
906
908
  width: 64rpx;
907
909
  height: 64rpx;
@@ -33,7 +33,7 @@
33
33
  left:0;
34
34
  bottom:0;
35
35
  right:0;
36
- z-index: 4;
36
+ z-index: var(--preview-z-index);
37
37
  cursor: pointer;
38
38
  }
39
39
 
@@ -44,17 +44,18 @@
44
44
  cursor: pointer;
45
45
  position: absolute;
46
46
  right: unit(0, rpx);
47
- top: unit(-52, rpx);
47
+ top: unit(0, rpx);
48
48
  height: unit(50, rpx);
49
- line-height: unit(50, rpx);
49
+ z-index: 100;
50
50
  display: flex;
51
51
  justify-content: center;
52
52
  align-items: center;
53
- background: rgba(0, 0, 0, .6);
54
- border-radius: unit(10, rpx);
53
+ background: rgba(0, 0, 0, .4);
54
+ border-radius: 0 0 0 20rpx;
55
55
  box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
56
  color: #fff;
57
57
  font-size: unit(22, rpx);
58
+ padding: 0 6rpx 0 6px;
58
59
 
59
60
  &-icon{
60
61
  padding: 0 unit(20, rpx);