jufubao-base 1.0.158 → 1.0.159-beta2
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/common/authorize.js +201 -70
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +7 -6
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +5 -3
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +3 -2
- package/src/components/JfbBaseBack/JfbBaseBack.vue +10 -8
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -2
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +3 -2
- package/src/components/JfbBaseCard/JfbBaseCard.vue +8 -4
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +57 -26
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetail.vue +14 -15
- package/src/components/JfbBaseCardDetailEntry/Attr.js +22 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +361 -425
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +4 -4
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +7 -9
- package/src/components/JfbBaseCardEntry/Attr.js +22 -1
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +81 -34
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +35 -19
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +8 -4
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +4 -3
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +23 -18
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +4 -11
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +16 -19
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +3 -2
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +34 -18
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +14 -14
- package/src/components/JfbBaseCity/JfbBaseCity.vue +3 -2
- package/src/components/JfbBaseClear/JfbBaseClear.vue +3 -2
- package/src/components/JfbBaseConList/JfbBaseConList.vue +3 -2
- package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +3 -2
- package/src/components/JfbBaseEntry/Attr.js +22 -0
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +80 -16
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetail.vue +3 -4
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +31 -20
- package/src/components/JfbBaseFastLink/XdFastNav.vue +2 -2
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +0 -1
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +3 -2
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +16 -6
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +7 -9
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +6 -6
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +19 -5
- package/src/components/JfbBaseMapOverlay/XdMapOverlay.vue +52 -37
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +3 -2
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCard.vue +28 -27
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +5 -5
- package/src/components/JfbBaseMy/JfbBaseMy.vue +3 -3
- package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +6 -4
- package/src/components/JfbBaseNotice/Attr.js +0 -2
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +36 -14
- package/src/components/JfbBaseNotice/XdNoticeBar.vue +17 -1
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottom.vue +3 -2
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTop.vue +3 -2
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +5 -4
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +4 -3
- package/src/components/JfbBasePay/JfbBasePay.vue +3 -2
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +12 -7
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +13 -7
- package/src/components/JfbBasePoster/JfbBasePoster.vue +118 -18
- package/src/components/JfbBasePoster/MoreScreen.vue +155 -37
- package/src/components/JfbBasePosterBigSmall/Attr.js +1 -4
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +191 -67
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +90 -20
- package/src/components/JfbBasePosterType/FourScreen.vue +162 -18
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +0 -35
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +4 -4
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +3 -4
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +4 -7
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -9
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +3 -2
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +2 -1
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +3 -2
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +5 -3
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +4 -3
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +14 -11
- package/src/components/JfbBaseVideo/XdVideo.vue +0 -4
- package/src/components/JfbBaseWallet/JfbBaseWallet.vue +3 -2
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +5 -8
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +5 -8
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +7 -17
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +13 -21
- package/src/components/JfbBaseWebview/JfbBaseWebview.vue +4 -3
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +5 -4
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +3 -4
- package/src/mixins/colorCardMixins.js +1 -1
|
@@ -144,8 +144,9 @@
|
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
watch: {
|
|
147
|
-
container(value) {
|
|
148
|
-
|
|
147
|
+
container(value,oldValue) {
|
|
148
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
149
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
149
150
|
}
|
|
150
151
|
},
|
|
151
152
|
created() {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
:localdata="[{ value: 1, text: '请阅读并同意《隐私政策》《用户服务协议》' },]"
|
|
62
62
|
>
|
|
63
63
|
<template slot="a1">
|
|
64
|
-
<view>
|
|
64
|
+
<view class="text-content">
|
|
65
65
|
<text>请阅读并同意</text>
|
|
66
66
|
<text @click.stop="handlePrivacy('privacy_privacy')" :style="{color: mainColor}">《隐私政策》</text>
|
|
67
67
|
<text @click.stop="handlePrivacy('privacy_service')" :style="{color: mainColor}">《用户服务协议》</text>
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</view>
|
|
91
91
|
<view style="margin-top: 40rpx">
|
|
92
92
|
<xd-form
|
|
93
|
-
label-width="
|
|
93
|
+
label-width="150"
|
|
94
94
|
label-align="right"
|
|
95
95
|
content-align="left"
|
|
96
96
|
:border="true"
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
:localdata="[{ value: 1, text: '登录即同意《隐私政策》《用户服务协议》' },]"
|
|
146
146
|
>
|
|
147
147
|
<template slot="a1">
|
|
148
|
-
<view>
|
|
148
|
+
<view class="text-content">
|
|
149
149
|
<text>请阅读并同意</text>
|
|
150
150
|
<text @click.stop="handlePrivacy('privacy_privacy')" :style="{color: mainColor}">《隐私政策》</text>
|
|
151
151
|
<text @click.stop="handlePrivacy('privacy_service')" :style="{color: mainColor}">《用户服务协议》</text>
|
|
@@ -305,8 +305,9 @@ export default {
|
|
|
305
305
|
},
|
|
306
306
|
},
|
|
307
307
|
watch: {
|
|
308
|
-
container(value) {
|
|
309
|
-
|
|
308
|
+
container(value,oldValue) {
|
|
309
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
310
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
310
311
|
},
|
|
311
312
|
"accountForm.verification_code"(value){
|
|
312
313
|
if (value && value.length >= 8 && value.length % 2 === 0) {
|
|
@@ -695,7 +696,7 @@ export default {
|
|
|
695
696
|
content: "请阅读并勾选读用户协议与隐私协议",
|
|
696
697
|
cancel: false,
|
|
697
698
|
confirmText: "我知道了",
|
|
698
|
-
|
|
699
|
+
styles: this.styles,
|
|
699
700
|
});
|
|
700
701
|
return;
|
|
701
702
|
}
|
|
@@ -1011,5 +1012,14 @@ export default {
|
|
|
1011
1012
|
}
|
|
1012
1013
|
}
|
|
1013
1014
|
|
|
1015
|
+
/* #ifdef MP-WEIXIN */
|
|
1016
|
+
.text-content {
|
|
1017
|
+
& > text {
|
|
1018
|
+
font-size: 26rpx;
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
/* #endif */
|
|
1022
|
+
|
|
1023
|
+
|
|
1014
1024
|
|
|
1015
1025
|
</style>
|
|
@@ -13,21 +13,17 @@
|
|
|
13
13
|
:class="{ editx: isEditx && active }"
|
|
14
14
|
v-if="isEditx && active && !noBorder"
|
|
15
15
|
>
|
|
16
|
-
<view class="jfb-base-login-forget-pwd__edit-icon" @click="delEdit"
|
|
17
|
-
>删除</view
|
|
18
|
-
>
|
|
16
|
+
<view class="jfb-base-login-forget-pwd__edit-icon" @click="delEdit">删除</view>
|
|
19
17
|
</view>
|
|
20
18
|
<!-- #endif -->
|
|
21
19
|
<view class="jfb-base-login-forget-pwd__body">
|
|
22
20
|
<view class="panel-forget-password">
|
|
23
21
|
<view class="form-group" style="padding-top: 60rpx;padding-bottom: 40rpx;">
|
|
24
22
|
<view style="font-size: 36rpx;color: #333;">请输入手机号</view>
|
|
25
|
-
<view style="font-size: 26rpx; color: #999; margin-top: 20rpx"
|
|
26
|
-
>为了您的账号安全,请先验证手机号</view
|
|
27
|
-
>
|
|
23
|
+
<view style="font-size: 26rpx; color: #999; margin-top: 20rpx">为了您的账号安全,请先验证手机号</view>
|
|
28
24
|
</view>
|
|
29
25
|
<xd-form
|
|
30
|
-
label-width="
|
|
26
|
+
label-width="170"
|
|
31
27
|
label-align="right"
|
|
32
28
|
content-align="left"
|
|
33
29
|
:border="true"
|
|
@@ -117,8 +113,9 @@ export default {
|
|
|
117
113
|
};
|
|
118
114
|
},
|
|
119
115
|
watch: {
|
|
120
|
-
container(value) {
|
|
121
|
-
|
|
116
|
+
container(value,oldValue) {
|
|
117
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
118
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
122
119
|
},
|
|
123
120
|
"resetForm.verification_code"(value) {
|
|
124
121
|
if (value && value.length >= 8 && value.length % 2 === 0) {
|
|
@@ -231,6 +228,7 @@ export default {
|
|
|
231
228
|
color: @xd-base-color;
|
|
232
229
|
font-size: 24rpx;
|
|
233
230
|
margin-right: unit(20,rpx);
|
|
231
|
+
flex-shrink: 0;
|
|
234
232
|
}
|
|
235
233
|
.panel-forget-password {
|
|
236
234
|
/deep/ .uni-forms-item__label {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<view style="font-size:26rpx;color:#999;margin-top:20rpx;">请输入{{pwd_type_text}}并牢记</view>
|
|
26
26
|
</view>
|
|
27
27
|
<xd-form
|
|
28
|
-
label-width="
|
|
28
|
+
label-width="170"
|
|
29
29
|
label-align="right"
|
|
30
30
|
content-align="left"
|
|
31
31
|
:border="true"
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
import XdForm from "@/components/XdForm/XdForm";
|
|
78
78
|
import XdFormInput from "@/components/XdFormInput/XdFormInput";
|
|
79
79
|
import XdButton from "@/components/XdButton/XdButton";
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
|
|
81
|
+
|
|
82
82
|
export default {
|
|
83
83
|
name: "JfbBaseLoginSetPwd",
|
|
84
84
|
components: {
|
|
@@ -99,7 +99,6 @@
|
|
|
99
99
|
},
|
|
100
100
|
success_url: "",
|
|
101
101
|
pwd_type: "", //设置密码 1, 重设密码 2
|
|
102
|
-
//todo
|
|
103
102
|
}
|
|
104
103
|
},
|
|
105
104
|
computed: {
|
|
@@ -108,8 +107,9 @@
|
|
|
108
107
|
}
|
|
109
108
|
},
|
|
110
109
|
watch: {
|
|
111
|
-
container(value) {
|
|
112
|
-
|
|
110
|
+
container(value,oldValue) {
|
|
111
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
112
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
created() {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<iframe frameborder="0" v-if="iframe" :src="iframe" class="jfb-base-map-overlay__body-iframe"></iframe>
|
|
21
21
|
<xd-baidu-overlay v-else :defaultOverlays="overlays" :level="11"></xd-baidu-overlay>
|
|
22
22
|
</template>
|
|
23
|
-
|
|
23
|
+
|
|
24
24
|
<!-- #endif -->
|
|
25
25
|
<!-- #ifdef MP -->
|
|
26
26
|
<xd-map-overlay :defaultOverlays="overlays" :level="11"></xd-map-overlay>
|
|
@@ -76,8 +76,9 @@
|
|
|
76
76
|
})
|
|
77
77
|
},
|
|
78
78
|
watch: {
|
|
79
|
-
container(value) {
|
|
80
|
-
|
|
79
|
+
container(value,oldValue) {
|
|
80
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
81
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
81
82
|
}
|
|
82
83
|
},
|
|
83
84
|
created() {
|
|
@@ -111,7 +112,20 @@
|
|
|
111
112
|
}).then(res => {
|
|
112
113
|
//iframe
|
|
113
114
|
if(res['is_ifream'] === 'Y') {
|
|
115
|
+
// #ifdef MP
|
|
116
|
+
if(!res.url){
|
|
117
|
+
return uni.showToast({
|
|
118
|
+
title: 'URL不存在',
|
|
119
|
+
duration: 2000
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
this.$xdUniHelper.redirectTo({
|
|
123
|
+
url: url,
|
|
124
|
+
})
|
|
125
|
+
// #endif
|
|
126
|
+
// #ifdef H5
|
|
114
127
|
this.iframe = res.url
|
|
128
|
+
// #endif
|
|
115
129
|
}
|
|
116
130
|
else{
|
|
117
131
|
this.overlays = res.data;
|
|
@@ -203,7 +217,7 @@
|
|
|
203
217
|
onJfbBack(options) {
|
|
204
218
|
this.$xdUniHelper.navigateBack()
|
|
205
219
|
},
|
|
206
|
-
|
|
220
|
+
|
|
207
221
|
}
|
|
208
222
|
}
|
|
209
223
|
|
|
@@ -215,7 +229,7 @@
|
|
|
215
229
|
.jfb-base-map-overlay {
|
|
216
230
|
&__body{
|
|
217
231
|
width: 750rpx;
|
|
218
|
-
|
|
232
|
+
|
|
219
233
|
&-iframe {
|
|
220
234
|
height: 100%;
|
|
221
235
|
width: 100%;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script>
|
|
9
|
+
import { mapState } from 'vuex'
|
|
9
10
|
export default {
|
|
10
11
|
name: "XdMapOverlay",
|
|
11
12
|
props: {
|
|
@@ -70,6 +71,12 @@
|
|
|
70
71
|
}
|
|
71
72
|
},
|
|
72
73
|
},
|
|
74
|
+
computed: {
|
|
75
|
+
...mapState({
|
|
76
|
+
stateCity: state => state.cityLocation.city,
|
|
77
|
+
stateLocation: state => state.cityLocation.location || {},
|
|
78
|
+
})
|
|
79
|
+
},
|
|
73
80
|
data() {
|
|
74
81
|
return {
|
|
75
82
|
uiLevel: 15,
|
|
@@ -92,43 +99,51 @@
|
|
|
92
99
|
created() {
|
|
93
100
|
this.uiLevel = this.level;
|
|
94
101
|
console.log("this.defaultOverlays", this.defaultOverlays)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
102
|
+
if(this.defaultOverlays.length){
|
|
103
|
+
this.defaultOverlays.forEach(item => {
|
|
104
|
+
if (item.type === 'Polygon') {
|
|
105
|
+
this.polygons.push({
|
|
106
|
+
// fillColor: "#00FF00",
|
|
107
|
+
// strokeColor: "#FF0000",
|
|
108
|
+
points: item.value.map(point => ({
|
|
109
|
+
longitude: point[0],
|
|
110
|
+
latitude: point[1]
|
|
111
|
+
})),
|
|
112
|
+
...this.stroke,
|
|
113
|
+
});
|
|
114
|
+
let allX = item.value.map(p => p[0]);
|
|
115
|
+
let allY = item.value.map(p => p[1]);
|
|
116
|
+
let centerX = (Math.max(...allX) + Math.min(...allX)) / 2;
|
|
117
|
+
let centerY = (Math.max(...allY) + Math.min(...allY)) / 2;
|
|
118
|
+
this.uiCenter = {
|
|
119
|
+
longitude: centerX,
|
|
120
|
+
latitude: centerY
|
|
121
|
+
}
|
|
122
|
+
console.log("uiCenter", centerX, centerY)
|
|
123
|
+
} else if (item.type === 'Circle') {
|
|
124
|
+
this.circles.push({
|
|
125
|
+
fillColor: "#00FF00",
|
|
126
|
+
strokeColor: "#FF0000",
|
|
127
|
+
longitude: item.value[0][0],
|
|
128
|
+
latitude: item.value[0][1],
|
|
129
|
+
radius: item.r
|
|
130
|
+
})
|
|
131
|
+
if (!this.uiCenter) {
|
|
132
|
+
this.uiCenter = {
|
|
133
|
+
longitude: item.value[0][0],
|
|
134
|
+
latitude: item.value[0][1]
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
console.log('uiCenter', item.value[0][0], item.value[0][1])
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
}else{
|
|
141
|
+
if(this.stateLocation.longitude && this.stateLocation.latitude){
|
|
142
|
+
this.uiCenter = this.stateLocation;
|
|
143
|
+
this.markers = [this.stateLocation];
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
132
147
|
}
|
|
133
148
|
}
|
|
134
149
|
</script>
|
|
@@ -32,8 +32,7 @@
|
|
|
32
32
|
class="get_code"
|
|
33
33
|
@click="sendMsgCode"
|
|
34
34
|
:style="{color: mainColor}"
|
|
35
|
-
>{{time ? time + '秒后获取':'获取验证码'}}
|
|
36
|
-
</view>
|
|
35
|
+
>{{time ? time + '秒后获取':'获取验证码'}}</view>
|
|
37
36
|
</view>
|
|
38
37
|
</xd-form-item>
|
|
39
38
|
</xd-form>
|
|
@@ -62,7 +61,7 @@
|
|
|
62
61
|
import XdFormInput from "@/components/XdFormInput/XdFormInput";
|
|
63
62
|
import XdButton from "@/components/XdButton/XdButton";
|
|
64
63
|
import XdFormCheckbox from "@/components/XdFormCheckbox/XdFormCheckbox"
|
|
65
|
-
|
|
64
|
+
|
|
66
65
|
export default {
|
|
67
66
|
name: "JfbBaseMergeUserCard",
|
|
68
67
|
components: {
|
|
@@ -89,10 +88,11 @@
|
|
|
89
88
|
}
|
|
90
89
|
},
|
|
91
90
|
watch: {
|
|
92
|
-
container(value) {
|
|
93
|
-
|
|
91
|
+
container(value,oldValue) {
|
|
92
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
93
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
94
94
|
},
|
|
95
|
-
|
|
95
|
+
|
|
96
96
|
"accountForm.verification_code"(value) {
|
|
97
97
|
if (value && value.length >= 8 && value.length % 2 === 0) {
|
|
98
98
|
let start = value.slice(0, value.length / 2);
|
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
url: this.callback_url
|
|
136
136
|
})
|
|
137
137
|
}, 1500);
|
|
138
|
-
|
|
138
|
+
|
|
139
139
|
}).catch(error=>{
|
|
140
140
|
this.$xdHideLoading();
|
|
141
141
|
this.$xdLog.catch(error)
|
|
142
142
|
})
|
|
143
143
|
},
|
|
144
|
-
|
|
144
|
+
|
|
145
145
|
/**
|
|
146
146
|
* @description 监听事件变化
|
|
147
147
|
* @param container {object} 业务组件对象自己
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
init(container) {
|
|
150
150
|
this.callback_url = getContainerPropsValue(container, 'content.callback_url', {value: ''}).value;
|
|
151
151
|
},
|
|
152
|
-
|
|
152
|
+
|
|
153
153
|
sendMsgCode() {
|
|
154
154
|
if (this.time > 0) return;
|
|
155
155
|
const {phone_number} = this.accountForm;
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
this.$xdLog.catch(error)
|
|
181
181
|
})
|
|
182
182
|
},
|
|
183
|
-
|
|
183
|
+
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
|
|
@@ -196,69 +196,70 @@
|
|
|
196
196
|
font-size: unit(26, rpx) !important;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
|
|
199
|
+
|
|
200
200
|
.xd-form-checkbox {
|
|
201
201
|
/deep/ .checklist-box {
|
|
202
202
|
margin: 0 !important;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
|
|
205
|
+
|
|
206
206
|
.xd-form-checkbox {
|
|
207
207
|
/deep/ .checklist-group {
|
|
208
208
|
justify-content: center;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
|
|
211
|
+
|
|
212
212
|
.xd-form-checkbox {
|
|
213
213
|
/deep/ .checklist-text {
|
|
214
214
|
margin-left: unit(20, rpx) !important;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
|
|
217
|
+
|
|
218
218
|
.form-group {
|
|
219
219
|
padding: unit(40, rpx) unit(70, rpx);
|
|
220
220
|
}
|
|
221
|
-
|
|
221
|
+
|
|
222
222
|
.get_code {
|
|
223
223
|
color: @xd-base-color;
|
|
224
224
|
font-size: unit(24, rpx);
|
|
225
|
+
flex-shrink: 0;
|
|
225
226
|
}
|
|
226
|
-
|
|
227
|
+
|
|
227
228
|
.panel-login-password {
|
|
228
229
|
padding: unit(20, rpx) 0;
|
|
229
|
-
|
|
230
|
+
|
|
230
231
|
/deep/ .uni-forms-item__label {
|
|
231
232
|
.label-text {
|
|
232
233
|
font-size: unit(26, rpx);
|
|
233
234
|
color: #A6A6A6;
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
|
-
|
|
237
|
+
|
|
237
238
|
/deep/ .uni-easyinput__placeholder-class {
|
|
238
239
|
font-size: unit(26, rpx);
|
|
239
240
|
color: #D4D4D4;
|
|
240
241
|
}
|
|
241
|
-
|
|
242
|
+
|
|
242
243
|
.phone-login-type {
|
|
243
244
|
display: flex;
|
|
244
245
|
color: #808080;
|
|
245
246
|
font-size: unit(32, rpx);
|
|
246
247
|
padding: unit(20, rpx) unit(70, rpx);
|
|
247
248
|
align-items: center;
|
|
248
|
-
|
|
249
|
+
|
|
249
250
|
._item {
|
|
250
251
|
margin: 0 unit(30, rpx);
|
|
251
252
|
position: relative;
|
|
252
253
|
line-height: 2;
|
|
253
|
-
|
|
254
|
+
|
|
254
255
|
&:first-child {
|
|
255
256
|
margin-left: 0;
|
|
256
257
|
}
|
|
257
|
-
|
|
258
|
+
|
|
258
259
|
&.active {
|
|
259
260
|
color: #383838;
|
|
260
261
|
font-size: unit(36, rpx);
|
|
261
|
-
|
|
262
|
+
|
|
262
263
|
text {
|
|
263
264
|
position: absolute;
|
|
264
265
|
height: unit(6, rpx);
|
|
@@ -271,15 +272,15 @@
|
|
|
271
272
|
}
|
|
272
273
|
}
|
|
273
274
|
}
|
|
274
|
-
|
|
275
|
+
|
|
275
276
|
.forget_password {
|
|
276
277
|
font-size: unit(24, rpx);
|
|
277
278
|
color: #A6A6A6;
|
|
278
279
|
text-align: right;
|
|
279
280
|
margin: unit(20, rpx) unit(70, rpx) 0 0;
|
|
280
|
-
|
|
281
|
+
|
|
281
282
|
}
|
|
282
|
-
|
|
283
|
+
|
|
283
284
|
.not_login {
|
|
284
285
|
position: fixed;
|
|
285
286
|
width: 100%;
|
|
@@ -288,7 +289,7 @@
|
|
|
288
289
|
font-size: unit(26, rpx);
|
|
289
290
|
color: #FE7A63;
|
|
290
291
|
}
|
|
291
|
-
|
|
292
|
+
|
|
292
293
|
&-form {
|
|
293
294
|
margin-top: unit(40, rpx)
|
|
294
295
|
}
|
|
@@ -130,14 +130,13 @@ export default {
|
|
|
130
130
|
};
|
|
131
131
|
},
|
|
132
132
|
watch: {
|
|
133
|
-
container(value) {
|
|
134
|
-
|
|
133
|
+
container(value,oldValue) {
|
|
134
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
135
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
135
136
|
},
|
|
136
137
|
},
|
|
137
138
|
created() {
|
|
138
139
|
this.init(this.container);
|
|
139
|
-
|
|
140
|
-
//todo
|
|
141
140
|
},
|
|
142
141
|
methods: {
|
|
143
142
|
onJfbLoad(options) {
|
|
@@ -207,8 +206,9 @@ export default {
|
|
|
207
206
|
// #ifndef H5
|
|
208
207
|
uni.setClipboardData({
|
|
209
208
|
data: text,
|
|
209
|
+
showToast: false,
|
|
210
210
|
success: () => {
|
|
211
|
-
this.$xdAlert({ content: "复制成功" });
|
|
211
|
+
//this.$xdAlert({ content: "复制成功" });
|
|
212
212
|
},
|
|
213
213
|
});
|
|
214
214
|
// #endif
|
|
@@ -112,12 +112,12 @@
|
|
|
112
112
|
quick_url_list: [],
|
|
113
113
|
add_url: '',
|
|
114
114
|
bgColor: ''
|
|
115
|
-
//todo
|
|
116
115
|
}
|
|
117
116
|
},
|
|
118
117
|
watch: {
|
|
119
|
-
container(value) {
|
|
120
|
-
|
|
118
|
+
container(value,oldValue) {
|
|
119
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
120
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
created() {
|
|
@@ -86,9 +86,10 @@
|
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
watch: {
|
|
89
|
-
container(value) {
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
container(value,oldValue) {
|
|
90
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
91
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
92
|
+
},
|
|
92
93
|
},
|
|
93
94
|
created() {
|
|
94
95
|
this.init(this.container);
|
|
@@ -165,7 +166,8 @@
|
|
|
165
166
|
this.$xdShowLoading({});
|
|
166
167
|
store.dispatch('logout').then(res=>{
|
|
167
168
|
this.$xdHideLoading();
|
|
168
|
-
this.jfbAuthorize.
|
|
169
|
+
this.jfbAuthorize.removeAllToken();
|
|
170
|
+
this.jfbAuthorize.removeAllCardToken();
|
|
169
171
|
this.jfbAuthorize.jumpToUserLogin(this, false);
|
|
170
172
|
}).catch(err=>{
|
|
171
173
|
console.error(err);
|