jufubao-base 1.0.73-beta2 → 1.0.73-beta4

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-base",
3
- "version": "1.0.73-beta2",
3
+ "version": "1.0.73-beta4",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -338,7 +338,7 @@ export default {
338
338
  });
339
339
  this.getList();
340
340
  if (this.timeer) {
341
- this.time = 1;
341
+ this.time = 0;
342
342
  clearTimeout(this.timeer);
343
343
  }
344
344
  return;
@@ -355,19 +355,21 @@ export default {
355
355
  this.getList();
356
356
  }
357
357
  if (this.timeer) {
358
- this.time = 1;
358
+ this.time = 0;
359
359
  clearTimeout(this.timeer);
360
360
  }
361
361
  return;
362
362
  }
363
- this.time++;
363
+
364
364
  this.timeer = setTimeout(() => {
365
365
  this.getResult();
366
- if (this.time > 5)
366
+ if (this.time > 5) {
367
367
  this.$xdLog.setARMSInfo(
368
368
  { message: "领取中" },
369
369
  `pay_${res.status_type}`
370
370
  );
371
+ }
372
+ this.time++;
371
373
  }, Math.pow(this.date, this.time > this.maxTime ? this.maxTime : this.time) * 1000);
372
374
  })
373
375
  .catch((err) => {
@@ -4,6 +4,32 @@ export default {
4
4
  style: [],
5
5
  advanced: [],
6
6
  content: [
7
+ {
8
+ label: 'LOGO文字颜色:',
9
+ ele: 'xd-color',
10
+ valueKey: 'logoTextColor',
11
+ value: '',
12
+ placeholder: '请输入LOGO文字颜色',
13
+ classNmae: 'input80',
14
+ },
15
+ {
16
+ label: '是否使用体验码功能:',
17
+ ele: 'xd-radio',
18
+ valueKey: 'isPreview',
19
+ value: 'N',
20
+ placeholder: '请选择是否使用体验码功能',
21
+ multiple: false,
22
+ className: 'input80',
23
+ list: [
24
+ {label: '是', value: 'Y'},
25
+ {label: '否', value: 'N'},
26
+ ]
27
+ },
28
+ {
29
+ ele: 'title',
30
+ label: '页面连接设置',
31
+ size: 'small',
32
+ },
7
33
  {
8
34
  label: '快速授权失败访问地址:', //label
9
35
  ele: 'xd-select-pages-path', //package 名称
@@ -60,12 +86,9 @@ export default {
60
86
  inline: false,
61
87
  },
62
88
  {
63
- label: 'logo文字颜色:',
64
- ele: 'xd-color',
65
- valueKey: 'logoTextColor',
66
- value: '',
67
- placeholder: '请输入logo文字颜色',
68
- classNmae: 'input80',
89
+ ele: 'title',
90
+ label: '服务设置',
91
+ size: 'small',
69
92
  },
70
93
  {
71
94
  label: '隐私政策:',
@@ -170,7 +170,7 @@
170
170
  >忘记密码</view
171
171
  >
172
172
  </view>
173
- <view class="bottom_btn" :style="prod_bottom">
173
+ <view class="bottom_btn" :style="prod_bottom" v-if="isPreview === 'Y'">
174
174
  <view @click="dialogPreview = true" :style="{
175
175
  color: mainColor,
176
176
  border: `1px solid ${mainColor}`
@@ -277,6 +277,7 @@ export default {
277
277
  logo: "",
278
278
  partnerName: "",
279
279
  logoTextColor: "",
280
+ isPreview:'N', //是否启用体验码模式
280
281
  };
281
282
  },
282
283
  computed: {
@@ -408,7 +409,7 @@ export default {
408
409
  this.phone_number_collect_url = getContainerPropsValue(value, "content.phone_number_collect_url", {value: ''}).value;
409
410
  this.forget_pwd_url = getContainerPropsValue(value, "content.forget_pwd_url", {value: ''}).value;
410
411
  this.error_callback_url = getContainerPropsValue(value, "content.error_url", {value: ''}).value;
411
-
412
+ this.isPreview = getContainerPropsValue(value, "content.isPreview", 'N');
412
413
  },
413
414
 
414
415
  /**
@@ -596,14 +596,15 @@ export default {
596
596
  }
597
597
 
598
598
  if (this.$xdUniHelper.checkVarType(this.info) === "object") {
599
- this.time++;
600
599
  this.timeer = setTimeout(() => {
601
600
  this.intval();
602
- if (this.time > 5)
601
+ if (this.time > 5){
603
602
  this.$xdLog.setARMSInfo(
604
603
  { message: "进行中" },
605
604
  `pay_${this.info.status.status_type}`
606
605
  );
606
+ }
607
+ this.time++;
607
608
  }, Math.pow(this.date, this.time > this.maxTime ? this.maxTime : this.time) * 1000);
608
609
  }
609
610
  },