jufubao-base 1.0.234-beta1 → 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/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +1 -4
- 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/src/components/JfbBasePosterType/FourScreen.vue +10 -10
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +10 -14
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) {
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
></image>
|
|
288
288
|
<image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
|
|
289
289
|
</view>
|
|
290
|
-
|
|
290
|
+
|
|
291
291
|
<view v-if="info.codes[0].can_read_password" class="jfb-base-order-detail__body-cashier-password" @click="showPassword = true">
|
|
292
292
|
{{ showPassword ? info.codes[0].can_read_code : "查看" }}
|
|
293
293
|
</view>
|
|
@@ -801,7 +801,6 @@
|
|
|
801
801
|
</image>
|
|
802
802
|
</view>
|
|
803
803
|
</view>
|
|
804
|
-
<view v-if="dialogCode && dialogCode.tips" class="dialog_password"> {{ dialogCode.tips}}</view>
|
|
805
804
|
<view v-if="dialogPassword" class="dialog_password">{{ dialogPassword }}</view>
|
|
806
805
|
</xd-dailog>
|
|
807
806
|
</view>
|
|
@@ -863,7 +862,6 @@ export default {
|
|
|
863
862
|
|
|
864
863
|
showPassword: false,
|
|
865
864
|
dialogPassword: "",
|
|
866
|
-
dialogCode: null,
|
|
867
865
|
|
|
868
866
|
//基础
|
|
869
867
|
radius: 0,
|
|
@@ -1276,7 +1274,6 @@ export default {
|
|
|
1276
1274
|
this.showType = item.show_type;
|
|
1277
1275
|
this.logo = item.logo;
|
|
1278
1276
|
this.dialogPassword = item.can_read_code;
|
|
1279
|
-
this.dialogCode = item;
|
|
1280
1277
|
console.log(this.codeSrc, "this.codeSrc");
|
|
1281
1278
|
this.showCode = true;
|
|
1282
1279
|
},
|
|
@@ -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 {
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
</view>
|
|
30
30
|
</view>
|
|
31
31
|
<view class="sreen__box carousel" v-if="config['isCarousel'] === true">
|
|
32
|
+
|
|
32
33
|
<xd-swiper-dot
|
|
33
34
|
:current="current"
|
|
34
35
|
:info="list"
|
|
@@ -172,8 +173,10 @@
|
|
|
172
173
|
return parseInt(this.config.titleStyle.lineHeight)+'rpx'
|
|
173
174
|
},
|
|
174
175
|
notCarouselComp(){
|
|
176
|
+
let rowMaxHeight = this.height * this.config.row;
|
|
177
|
+
let trueDataHeight = Math.ceil(this.content.length/this.config.column) * this.height;
|
|
175
178
|
return {
|
|
176
|
-
height:
|
|
179
|
+
height: Math.min(rowMaxHeight, trueDataHeight) + 'px'
|
|
177
180
|
}
|
|
178
181
|
},
|
|
179
182
|
getIndexHeigth(){
|
|
@@ -181,18 +184,15 @@
|
|
|
181
184
|
return (this.config['mode'] === 'normal'?0:48) * this.$rpxNum;
|
|
182
185
|
},
|
|
183
186
|
getContHeight() {
|
|
184
|
-
|
|
185
|
-
|
|
187
|
+
//当只有一屏时候需要判断是否满屏
|
|
186
188
|
if(this.list.length === 1) {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
+
let trueRow = Math.ceil(this.list[0].length/this.config.column);
|
|
190
|
+
return this.height * Math.min(this.config.row,trueRow);
|
|
189
191
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
return this.height * realRow;
|
|
193
|
-
}
|
|
194
|
-
return this.height * this.config['row'];
|
|
192
|
+
//多屏幕情况
|
|
193
|
+
return this.height * this.config.row;
|
|
195
194
|
},
|
|
195
|
+
|
|
196
196
|
boxHeight(){
|
|
197
197
|
return this.height + this.$rpxNum * this.text;
|
|
198
198
|
}
|
|
@@ -102,17 +102,16 @@
|
|
|
102
102
|
class="jfb-base-success__body-card jfb-base-success__body-cashier"
|
|
103
103
|
>
|
|
104
104
|
<view class="jfb-base-success__body-cashier-text">{{info.codes[0].show_type === "qrcode" ? "二维码" : "条形码" }}</view>
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
<view v-if="info.codes[0].tips" class="jfb-base-success__body-cashier-text">{{ info.codes[0].tips }}</view>
|
|
105
|
+
<view style="position: relative">
|
|
106
|
+
<image
|
|
107
|
+
:style="{
|
|
108
|
+
height: info.codes[0].show_type === 'qrcode' ? '50vw' : '25vw',
|
|
109
|
+
width: info.codes[0].show_type === 'qrcode' ? '50vw' : '85vw',
|
|
110
|
+
}"
|
|
111
|
+
:src="info.codes[0].code_url"
|
|
112
|
+
></image>
|
|
113
|
+
<image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
|
|
114
|
+
</view>
|
|
116
115
|
<view
|
|
117
116
|
v-if="info.codes[0].can_read_password"
|
|
118
117
|
class="jfb-base-success__body-cashier-password"
|
|
@@ -355,7 +354,6 @@
|
|
|
355
354
|
</image>
|
|
356
355
|
</view>
|
|
357
356
|
</view>
|
|
358
|
-
<view v-if="dialogCode && dialogCode.tips" class="jfb-base-success__body-d_password">{{ dialogCode.tips }}</view>
|
|
359
357
|
<view v-if="dialogPassword" class="jfb-base-success__body-d_password">
|
|
360
358
|
{{ dialogPassword }}
|
|
361
359
|
</view>
|
|
@@ -445,7 +443,6 @@ export default {
|
|
|
445
443
|
codeSrc: "",
|
|
446
444
|
logo: "",
|
|
447
445
|
dialogPassword: "",
|
|
448
|
-
dialogCode: null,
|
|
449
446
|
...styleForm.getDataItem(),
|
|
450
447
|
};
|
|
451
448
|
},
|
|
@@ -489,7 +486,6 @@ export default {
|
|
|
489
486
|
this.showType = item.show_type;
|
|
490
487
|
this.logo = item.logo;
|
|
491
488
|
this.dialogPassword = item.can_read_code;
|
|
492
|
-
this.dialogCode = item;
|
|
493
489
|
this.showCode = true;
|
|
494
490
|
},
|
|
495
491
|
/**
|