jufubao-base 1.0.234 → 1.0.235-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 +1 -1
- package/src/components/JfbBaseConPhone/Api.js +2 -1
- package/src/components/JfbBaseLogin/Api.js +2 -1
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +5 -3
- package/src/components/JfbBaseLoginForgetPwd/Api.js +2 -1
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +3 -2
- package/src/components/JfbBaseMergeUserCard/Api.js +2 -1
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCard.vue +3 -2
- package/src/components/JfbBasePhoneCollect/Api.js +2 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +14 -13
- package/src/components/JfbBasePhoneLogin/Api.js +2 -1
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +4 -3
package/package.json
CHANGED
|
@@ -18,7 +18,8 @@ module.exports = [
|
|
|
18
18
|
isRule: false,
|
|
19
19
|
data: {
|
|
20
20
|
phone_number: ['手机号', 'String', '必选'],
|
|
21
|
-
biz_name: ['业务名称', 'String', '必选']
|
|
21
|
+
biz_name: ['业务名称', 'String', '必选'],
|
|
22
|
+
is_expire_time: ['是否启动后台返回过去时间', 'String', '必选', 'Y'],
|
|
22
23
|
},
|
|
23
24
|
isConsole: true,
|
|
24
25
|
disabled: true,
|
|
@@ -82,7 +82,8 @@ module.exports = [
|
|
|
82
82
|
isRule: false,
|
|
83
83
|
data: {
|
|
84
84
|
phone_number: ['手机号', 'String', '必选'],
|
|
85
|
-
biz_name: ['业务名称', 'String', '必选']
|
|
85
|
+
biz_name: ['业务名称', 'String', '必选'],
|
|
86
|
+
is_expire_time: ['是否启动后台返回过去时间', 'String', '必选', 'Y'],
|
|
86
87
|
},
|
|
87
88
|
isConsole: true,
|
|
88
89
|
disabled: true,
|
|
@@ -634,7 +634,7 @@ export default {
|
|
|
634
634
|
name = this["siteInfo"]["mapping"]["site_name"];
|
|
635
635
|
if (this.projectAttr["site_logo"])
|
|
636
636
|
logo = getServiceUrl(this.projectAttr["site_logo"], "size3");
|
|
637
|
-
|
|
637
|
+
|
|
638
638
|
this.partnerName = name || "聚福宝福利";
|
|
639
639
|
this.logoTextColor = getContainerPropsValue(value, "content.logoTextColor", "#333");
|
|
640
640
|
this.callback_url = getContainerPropsValue(value, "content.callback_url", {value: ''}).value;
|
|
@@ -890,10 +890,11 @@ export default {
|
|
|
890
890
|
data: {
|
|
891
891
|
phone_number,
|
|
892
892
|
biz_name: "login",
|
|
893
|
+
is_expire_time: 'Y',
|
|
893
894
|
},
|
|
894
895
|
}).then((res) => {
|
|
895
896
|
this.$xdHideLoading();
|
|
896
|
-
this.time = 120;
|
|
897
|
+
this.time = typeof res.expire_time === 'number'? res.expire_time:120;
|
|
897
898
|
this.interval = setInterval(() => {
|
|
898
899
|
this.time--;
|
|
899
900
|
if (this.time === 0) {
|
|
@@ -901,6 +902,7 @@ export default {
|
|
|
901
902
|
}
|
|
902
903
|
}, 1000);
|
|
903
904
|
}).catch((error) => {
|
|
905
|
+
debugger
|
|
904
906
|
this.$xdHideLoading();
|
|
905
907
|
console.error(error);
|
|
906
908
|
this.$xdLog.catch(error)
|
|
@@ -1229,7 +1231,7 @@ export default {
|
|
|
1229
1231
|
color: #a6a6a6;
|
|
1230
1232
|
}
|
|
1231
1233
|
}
|
|
1232
|
-
|
|
1234
|
+
|
|
1233
1235
|
.login_types {
|
|
1234
1236
|
padding: 10rpx 50rpx;
|
|
1235
1237
|
|
|
@@ -18,7 +18,8 @@ module.exports = [
|
|
|
18
18
|
isRule: false,
|
|
19
19
|
data: {
|
|
20
20
|
phone_number: ['手机号', 'String', '必选'],
|
|
21
|
-
biz_name: ['业务名称', 'String', '必选']
|
|
21
|
+
biz_name: ['业务名称', 'String', '必选'],
|
|
22
|
+
is_expire_time: ['是否启动后台返回过去时间', 'String', '必选', 'Y'],
|
|
22
23
|
},
|
|
23
24
|
isConsole: true,
|
|
24
25
|
disabled: true,
|
|
@@ -166,13 +166,14 @@ export default {
|
|
|
166
166
|
data: {
|
|
167
167
|
phone_number,
|
|
168
168
|
biz_name: "passport-password",
|
|
169
|
+
is_expire_time:'Y'
|
|
169
170
|
},
|
|
170
171
|
}).then((res) => {
|
|
171
172
|
this.$xdHideLoading();
|
|
172
|
-
this.time = 120;
|
|
173
|
+
this.time = typeof res.expire_time === 'number'? res.expire_time:120;
|
|
173
174
|
this.interval = setInterval(() => {
|
|
174
175
|
this.time--;
|
|
175
|
-
if (this.time
|
|
176
|
+
if (this.time === 0) {
|
|
176
177
|
clearTimeout(this.interval);
|
|
177
178
|
}
|
|
178
179
|
}, 1000);
|
|
@@ -12,7 +12,8 @@ module.exports = [
|
|
|
12
12
|
isRule: false,
|
|
13
13
|
data: {
|
|
14
14
|
phone_number: ['手机号', 'String', '必选'],
|
|
15
|
-
biz_name: ['业务名称', 'String', '必选']
|
|
15
|
+
biz_name: ['业务名称', 'String', '必选'],
|
|
16
|
+
is_expire_time: ['是否启动后台返回过去时间', 'String', '必选', 'Y'],
|
|
16
17
|
},
|
|
17
18
|
isConsole: true,
|
|
18
19
|
disabled: true,
|
|
@@ -164,11 +164,12 @@
|
|
|
164
164
|
vm: this,
|
|
165
165
|
data: {
|
|
166
166
|
phone_number,
|
|
167
|
-
biz_name: "find_back_card"
|
|
167
|
+
biz_name: "find_back_card",
|
|
168
|
+
is_expire_time: 'Y',
|
|
168
169
|
}
|
|
169
170
|
}).then(res => {
|
|
170
171
|
this.$xdHideLoading()
|
|
171
|
-
this.time = 120;
|
|
172
|
+
this.time = typeof res.expire_time === 'number'? res.expire_time:120;
|
|
172
173
|
this.interval = setInterval(() => {
|
|
173
174
|
this.time--;
|
|
174
175
|
if (this.time === 0) {
|
|
@@ -31,7 +31,8 @@ module.exports = [
|
|
|
31
31
|
isRule: false,
|
|
32
32
|
data: {
|
|
33
33
|
phone_number: ['手机号', 'String', '必选'],
|
|
34
|
-
biz_name: ['业务名称', 'String', '必选']
|
|
34
|
+
biz_name: ['业务名称', 'String', '必选'],
|
|
35
|
+
is_expire_time: ['是否启动后台返回过去时间', 'String', '必选', 'Y'],
|
|
35
36
|
},
|
|
36
37
|
isConsole: true,
|
|
37
38
|
disabled: true,
|
|
@@ -41,33 +41,33 @@
|
|
|
41
41
|
'margin-top': '40rpx'
|
|
42
42
|
}"
|
|
43
43
|
>
|
|
44
|
-
<xd-form-item
|
|
44
|
+
<xd-form-item
|
|
45
45
|
v-if="isCollectUsername"
|
|
46
46
|
class="form-item"
|
|
47
|
-
:class="[inputStyle]"
|
|
48
|
-
:labelWidth="labelWidth"
|
|
49
|
-
label="姓名"
|
|
47
|
+
:class="[inputStyle]"
|
|
48
|
+
:labelWidth="labelWidth"
|
|
49
|
+
label="姓名"
|
|
50
50
|
content-align="left">
|
|
51
51
|
<xd-form-input
|
|
52
52
|
v-model="accountForm.user_name"
|
|
53
53
|
placeholder="请输入姓名"
|
|
54
54
|
/>
|
|
55
55
|
</xd-form-item>
|
|
56
|
-
<xd-form-item
|
|
56
|
+
<xd-form-item
|
|
57
57
|
class="form-item"
|
|
58
|
-
:class="[inputStyle]"
|
|
58
|
+
:class="[inputStyle]"
|
|
59
59
|
:leftIcon="phoneIcon"
|
|
60
|
-
:labelWidth="labelWidth"
|
|
61
|
-
label="手机号"
|
|
60
|
+
:labelWidth="labelWidth"
|
|
61
|
+
label="手机号"
|
|
62
62
|
content-align="left">
|
|
63
63
|
<xd-form-input
|
|
64
64
|
v-model="accountForm.phone_number"
|
|
65
65
|
:placeholder="phonePlaceholder"
|
|
66
66
|
/>
|
|
67
67
|
</xd-form-item>
|
|
68
|
-
<xd-form-item
|
|
68
|
+
<xd-form-item
|
|
69
69
|
class="form-item"
|
|
70
|
-
label="验证码"
|
|
70
|
+
label="验证码"
|
|
71
71
|
content-align="left"
|
|
72
72
|
:class="[inputStyle]"
|
|
73
73
|
:leftIcon="codeIcon"
|
|
@@ -384,7 +384,7 @@ export default {
|
|
|
384
384
|
}
|
|
385
385
|
this.jumpFont = jumpFont;
|
|
386
386
|
console.log(this.jumpFont,'this.jumpFont');
|
|
387
|
-
|
|
387
|
+
|
|
388
388
|
this.jumpAlign = getContainerPropsValue(value, "content.jumpAlign", 'right');
|
|
389
389
|
},
|
|
390
390
|
reGetCode() {
|
|
@@ -408,13 +408,14 @@ export default {
|
|
|
408
408
|
data: {
|
|
409
409
|
phone_number,
|
|
410
410
|
biz_name: "login",
|
|
411
|
+
is_expire_time: 'Y',
|
|
411
412
|
},
|
|
412
413
|
}).then((res) => {
|
|
413
414
|
this.$xdHideLoading()
|
|
414
|
-
this.jfbTimeer = 120;
|
|
415
|
+
this.jfbTimeer = typeof res.expire_time === 'number'? res.expire_time:120;
|
|
415
416
|
this.interval = setInterval(() => {
|
|
416
417
|
this.jfbTimeer--;
|
|
417
|
-
if (this.jfbTimeer
|
|
418
|
+
if (this.jfbTimeer === 0) {
|
|
418
419
|
clearTimeout(this.interval);
|
|
419
420
|
}
|
|
420
421
|
}, 1000);
|
|
@@ -33,7 +33,8 @@ module.exports = [
|
|
|
33
33
|
isRule: false,
|
|
34
34
|
data: {
|
|
35
35
|
phone_number: ['手机号', 'String', '必选'],
|
|
36
|
-
biz_name: ['业务名称', 'String', '必选']
|
|
36
|
+
biz_name: ['业务名称', 'String', '必选'],
|
|
37
|
+
is_expire_time: ['是否启动后台返回过去时间', 'String', '必选', 'Y'],
|
|
37
38
|
},
|
|
38
39
|
isConsole: true,
|
|
39
40
|
disabled: true,
|
|
@@ -518,15 +518,16 @@ export default {
|
|
|
518
518
|
data: {
|
|
519
519
|
phone_number,
|
|
520
520
|
biz_name: "login",
|
|
521
|
+
is_expire_time:'Y'
|
|
521
522
|
},
|
|
522
523
|
})
|
|
523
524
|
.then((res) => {
|
|
524
525
|
this.p_checkSendStatus(phone_number);
|
|
525
526
|
this.$xdHideLoading();
|
|
526
|
-
this.jfbTimeer = 120;
|
|
527
|
+
this.jfbTimeer = typeof res.expire_time === 'number'? res.expire_time:120;
|
|
527
528
|
this.interval = setInterval(() => {
|
|
528
529
|
this.jfbTimeer--;
|
|
529
|
-
if (this.jfbTimeer
|
|
530
|
+
if (this.jfbTimeer === 0) {
|
|
530
531
|
clearTimeout(this.interval);
|
|
531
532
|
}
|
|
532
533
|
}, 1000);
|
|
@@ -666,7 +667,7 @@ export default {
|
|
|
666
667
|
}
|
|
667
668
|
}
|
|
668
669
|
}
|
|
669
|
-
|
|
670
|
+
|
|
670
671
|
// #ifdef H5
|
|
671
672
|
.form-item {
|
|
672
673
|
::v-deep &.uni-forms-item {
|