jufubao-base 1.0.159-beta1 → 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/components/JfbBaseAddress/JfbBaseAddress.vue +3 -2
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +3 -2
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +3 -2
- package/src/components/JfbBaseBack/JfbBaseBack.vue +3 -2
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -2
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +3 -2
- package/src/components/JfbBaseCard/JfbBaseCard.vue +4 -3
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +3 -2
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetail.vue +0 -1
- package/src/components/JfbBaseCardDetailEntry/Attr.js +22 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +52 -35
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +3 -3
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +3 -4
- package/src/components/JfbBaseCardEntry/Attr.js +22 -1
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +80 -34
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +20 -0
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +3 -2
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +3 -2
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +3 -2
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +3 -10
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +15 -18
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +3 -2
- 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/JfbBaseEntry.vue +4 -3
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetail.vue +3 -4
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +17 -15
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +0 -1
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +3 -2
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +14 -4
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +6 -8
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +3 -3
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +6 -5
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +3 -2
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCard.vue +28 -27
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +3 -4
- package/src/components/JfbBaseMy/JfbBaseMy.vue +3 -3
- package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +6 -4
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +6 -4
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottom.vue +3 -2
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTop.vue +3 -2
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +3 -2
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -2
- 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/JfbBasePosterType/FourScreen.vue +12 -6
- 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/JfbBaseUserCenter/JfbBaseUserCenter.vue +3 -2
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +3 -2
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +4 -3
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +6 -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 +3 -4
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +8 -17
- package/src/components/JfbBaseWebview/JfbBaseWebview.vue +4 -3
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +3 -2
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +3 -4
|
@@ -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) {
|
|
@@ -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);
|
|
@@ -224,10 +224,12 @@
|
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
watch: {
|
|
227
|
-
container(value,
|
|
228
|
-
if(JSON.stringify(value) === JSON.stringify(
|
|
229
|
-
|
|
230
|
-
|
|
227
|
+
container(value,oldValue) {
|
|
228
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
229
|
+
if (this.$configProject['isPreview']) {
|
|
230
|
+
this.init(value) ;
|
|
231
|
+
this.onJfbLoad()
|
|
232
|
+
}
|
|
231
233
|
},
|
|
232
234
|
num(){
|
|
233
235
|
if (this.$configProject['isPreview']) this.onJfbLoad()
|
|
@@ -858,8 +858,9 @@ export default {
|
|
|
858
858
|
};
|
|
859
859
|
},
|
|
860
860
|
watch: {
|
|
861
|
-
container(value) {
|
|
862
|
-
|
|
861
|
+
container(value,oldValue) {
|
|
862
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
863
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
863
864
|
},
|
|
864
865
|
viewStatus(n, o) {
|
|
865
866
|
if (this.isPreview) {
|
|
@@ -285,8 +285,9 @@ export default {
|
|
|
285
285
|
},
|
|
286
286
|
},
|
|
287
287
|
watch: {
|
|
288
|
-
container(value) {
|
|
289
|
-
|
|
288
|
+
container(value,oldValue) {
|
|
289
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
290
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
290
291
|
},
|
|
291
292
|
},
|
|
292
293
|
created() {
|
|
@@ -216,8 +216,9 @@ export default {
|
|
|
216
216
|
};
|
|
217
217
|
},
|
|
218
218
|
watch: {
|
|
219
|
-
container(value) {
|
|
220
|
-
|
|
219
|
+
container(value,oldValue) {
|
|
220
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
221
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
221
222
|
},
|
|
222
223
|
},
|
|
223
224
|
computed: {
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
:class="{ editx: isEditx && active }"
|
|
14
14
|
v-if="isEditx && active && !noBorder"
|
|
15
15
|
>
|
|
16
|
-
<view class="jfb-base-phone-collect__edit-icon" @click="delEdit"
|
|
17
|
-
>删除</view
|
|
18
|
-
>
|
|
16
|
+
<view class="jfb-base-phone-collect__edit-icon" @click="delEdit">删除</view>
|
|
19
17
|
</view>
|
|
20
18
|
<!-- #endif -->
|
|
21
19
|
<view class="jfb-base-phone-collect__body">
|
|
@@ -57,7 +55,7 @@
|
|
|
57
55
|
:localdata="[{ value: 1, text: '登录即同意《隐私政策》《用户服务协议》' },]"
|
|
58
56
|
>
|
|
59
57
|
<template slot="a1">
|
|
60
|
-
<view>
|
|
58
|
+
<view class="text-content">
|
|
61
59
|
<text>请阅读并同意</text>
|
|
62
60
|
<text @click.stop="handlePrivacy('privacy_privacy')" :style="{color: mainColor}">《隐私政策》</text>
|
|
63
61
|
<text @click.stop="handlePrivacy('privacy_service')" :style="{color: mainColor}">《用户服务协议》</text>
|
|
@@ -125,7 +123,6 @@ export default {
|
|
|
125
123
|
interval: null,
|
|
126
124
|
provider_id: "",
|
|
127
125
|
callback_url: "",
|
|
128
|
-
//todo
|
|
129
126
|
};
|
|
130
127
|
},
|
|
131
128
|
computed: {
|
|
@@ -134,8 +131,9 @@ export default {
|
|
|
134
131
|
},
|
|
135
132
|
},
|
|
136
133
|
watch: {
|
|
137
|
-
container(value) {
|
|
138
|
-
|
|
134
|
+
container(value,oldValue) {
|
|
135
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
136
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
139
137
|
},
|
|
140
138
|
"accountForm.verification_code"(value) {
|
|
141
139
|
if (value && value.length >= 8 && value.length % 2 === 0) {
|
|
@@ -330,4 +328,11 @@ export default {
|
|
|
330
328
|
.align-center {
|
|
331
329
|
align-items: center;
|
|
332
330
|
}
|
|
331
|
+
/* #ifdef MP-WEIXIN */
|
|
332
|
+
.text-content {
|
|
333
|
+
& > text {
|
|
334
|
+
font-size: 26rpx;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
/* #endif */
|
|
333
338
|
</style>
|
|
@@ -17,9 +17,7 @@
|
|
|
17
17
|
</view>
|
|
18
18
|
<!-- #endif -->
|
|
19
19
|
<view class="jfb-base-phone-login__body">
|
|
20
|
-
<view
|
|
21
|
-
class="panel-login-password"
|
|
22
|
-
>
|
|
20
|
+
<view class="panel-login-password">
|
|
23
21
|
<xd-form label-width="128"
|
|
24
22
|
style="margin-top: 40rpx;"
|
|
25
23
|
label-align="right"
|
|
@@ -61,7 +59,7 @@
|
|
|
61
59
|
:localdata="[{value: 1, text: '登录即同意《隐私政策》《用户服务协议》'}]"
|
|
62
60
|
>
|
|
63
61
|
<template slot="a1">
|
|
64
|
-
<view>
|
|
62
|
+
<view class="text-content">
|
|
65
63
|
<text>请阅读并同意</text>
|
|
66
64
|
<text @click.stop="handlePrivacy('privacy_privacy')" :style="{color: mainColor}">《隐私政策》</text>
|
|
67
65
|
<text @click.stop="handlePrivacy('privacy_service')" :style="{color: mainColor}">《用户服务协议》</text>
|
|
@@ -133,8 +131,9 @@
|
|
|
133
131
|
}
|
|
134
132
|
},
|
|
135
133
|
watch: {
|
|
136
|
-
container(value) {
|
|
137
|
-
|
|
134
|
+
container(value,oldValue) {
|
|
135
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
136
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
138
137
|
},
|
|
139
138
|
"accountForm.verification_code"(value) {
|
|
140
139
|
if (value && value.length >= 8 && value.length % 2 === 0) {
|
|
@@ -167,7 +166,7 @@
|
|
|
167
166
|
* @description 监听事件变化
|
|
168
167
|
* @param container {object} 业务组件对象自己
|
|
169
168
|
*/
|
|
170
|
-
init(
|
|
169
|
+
init(container) {
|
|
171
170
|
//this.bgcolor = getContainerPropsValue(value, 'content.bgcolor', '#fff');
|
|
172
171
|
//this.height = getContainerPropsValue(value, 'content.height', 10);
|
|
173
172
|
},
|
|
@@ -362,4 +361,11 @@
|
|
|
362
361
|
.align-center{
|
|
363
362
|
align-items: center;
|
|
364
363
|
}
|
|
364
|
+
/* #ifdef MP-WEIXIN */
|
|
365
|
+
.text-content {
|
|
366
|
+
& > text {
|
|
367
|
+
font-size: 26rpx;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
/* #endif */
|
|
365
371
|
</style>
|
|
@@ -170,14 +170,19 @@
|
|
|
170
170
|
computed:{
|
|
171
171
|
getHeight() {
|
|
172
172
|
let len = this.filterContentList.length
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
|
|
174
|
+
//数量小于等于2,3行
|
|
175
|
+
if(len <= this.config.cells) {
|
|
175
176
|
return this.height + this.rpxText
|
|
176
177
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
|
|
179
|
+
//三行小于等于两个数量
|
|
180
|
+
if(this.config.jdRows === 3) {
|
|
181
|
+
if(len <= this.config.cells * 2) {
|
|
182
|
+
return this.height * 2 + this.rpxText * 2
|
|
183
|
+
}
|
|
180
184
|
}
|
|
185
|
+
|
|
181
186
|
return this.height * this.config.jdRows + this.rpxText * this.config.jdRows;
|
|
182
187
|
},
|
|
183
188
|
rpxText(){
|
|
@@ -251,7 +256,7 @@
|
|
|
251
256
|
}
|
|
252
257
|
});
|
|
253
258
|
console.warn(`PostTypeLists:${JSON.stringify(content.map(item=>`${item.app_type}:${item.content_name}:${item.redirect_data}`), null,2)}`)
|
|
254
|
-
this.filterContentList = this.$xdUniHelper.
|
|
259
|
+
this.filterContentList = this.$xdUniHelper.cloneDeep(content);
|
|
255
260
|
return content;
|
|
256
261
|
|
|
257
262
|
},
|
|
@@ -520,6 +525,7 @@
|
|
|
520
525
|
& > view:last-child {
|
|
521
526
|
text-align: center;
|
|
522
527
|
line-height: 15px;
|
|
528
|
+
font-size: unit(24, rpx);
|
|
523
529
|
}
|
|
524
530
|
}
|
|
525
531
|
}
|
|
@@ -38,8 +38,7 @@
|
|
|
38
38
|
:bgColor="mainColor"
|
|
39
39
|
@click="handleToRecharge"
|
|
40
40
|
:disabled="!amount || !card_point || !cardNumber"
|
|
41
|
-
>提交</xd-button
|
|
42
|
-
>
|
|
41
|
+
>提交</xd-button>
|
|
43
42
|
</view>
|
|
44
43
|
</view>
|
|
45
44
|
<view class="xd-notice-content" v-if="content">
|
|
@@ -91,8 +90,9 @@ export default {
|
|
|
91
90
|
};
|
|
92
91
|
},
|
|
93
92
|
watch: {
|
|
94
|
-
container(value) {
|
|
95
|
-
|
|
93
|
+
container(value,oldValue) {
|
|
94
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
95
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
96
96
|
},
|
|
97
97
|
card_point(value) {
|
|
98
98
|
if(this.timer) clearTimeout(this.timer);
|
|
@@ -150,8 +150,9 @@ export default {
|
|
|
150
150
|
};
|
|
151
151
|
},
|
|
152
152
|
watch: {
|
|
153
|
-
container(value) {
|
|
154
|
-
|
|
153
|
+
container(value,oldValue) {
|
|
154
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
155
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
155
156
|
},
|
|
156
157
|
},
|
|
157
158
|
computed: {
|
|
@@ -175,8 +176,6 @@ export default {
|
|
|
175
176
|
},
|
|
176
177
|
created() {
|
|
177
178
|
this.init(this.container);
|
|
178
|
-
|
|
179
|
-
//todo
|
|
180
179
|
},
|
|
181
180
|
methods: {
|
|
182
181
|
onJfbLoad(options) {
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-recharge-order-detail__edit-icon" @click="delEdit"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-recharge-order-detail__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
16
|
<view v-if="info!==null" class="jfb-base-recharge-order-detail__body">
|
|
@@ -81,14 +79,13 @@ export default {
|
|
|
81
79
|
};
|
|
82
80
|
},
|
|
83
81
|
watch: {
|
|
84
|
-
container(value) {
|
|
85
|
-
|
|
82
|
+
container(value,oldValue) {
|
|
83
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
84
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
86
85
|
},
|
|
87
86
|
},
|
|
88
87
|
created() {
|
|
89
88
|
this.init(this.container);
|
|
90
|
-
|
|
91
|
-
//todo
|
|
92
89
|
},
|
|
93
90
|
methods: {
|
|
94
91
|
onJfbLoad(options) {
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-recharge-success__edit-icon" @click="delEdit"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-recharge-success__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
16
|
<view class="jfb-base-recharge-success__body" v-if="info !== null">
|
|
@@ -38,9 +36,7 @@
|
|
|
38
36
|
@click="handleToBtn(item)"
|
|
39
37
|
type="primary"
|
|
40
38
|
:bgColor="mainColor"
|
|
41
|
-
>
|
|
42
|
-
{{ item.label }}
|
|
43
|
-
</xd-button>
|
|
39
|
+
>{{ item.label }}</xd-button>
|
|
44
40
|
</view>
|
|
45
41
|
</view>
|
|
46
42
|
</view>
|
|
@@ -73,8 +69,9 @@ export default {
|
|
|
73
69
|
};
|
|
74
70
|
},
|
|
75
71
|
watch: {
|
|
76
|
-
container(value) {
|
|
77
|
-
|
|
72
|
+
container(value,oldValue) {
|
|
73
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
74
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
78
75
|
},
|
|
79
76
|
},
|
|
80
77
|
created() {
|
|
@@ -168,7 +165,7 @@ export default {
|
|
|
168
165
|
}, Math.pow(this.date, this.time > this.maxTime ? this.maxTime : this.time) * 1000);
|
|
169
166
|
}
|
|
170
167
|
},
|
|
171
|
-
|
|
168
|
+
|
|
172
169
|
onJfbUnload() {
|
|
173
170
|
if (this.timeer) {
|
|
174
171
|
clearTimeout(this.timeer);
|
|
@@ -121,8 +121,9 @@
|
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
watch: {
|
|
124
|
-
container(value) {
|
|
125
|
-
|
|
124
|
+
container(value,oldValue) {
|
|
125
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
126
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
126
127
|
}
|
|
127
128
|
},
|
|
128
129
|
created() {
|
|
@@ -147,8 +147,9 @@
|
|
|
147
147
|
}
|
|
148
148
|
},
|
|
149
149
|
watch: {
|
|
150
|
-
container(value) {
|
|
151
|
-
|
|
150
|
+
container(value,oldValue) {
|
|
151
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
152
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
152
153
|
}
|
|
153
154
|
},
|
|
154
155
|
created() {
|
|
@@ -124,9 +124,10 @@
|
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
watch: {
|
|
127
|
-
container(value) {
|
|
128
|
-
|
|
129
|
-
if(this.$configProject
|
|
127
|
+
container(value,oldValue) {
|
|
128
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
129
|
+
if (this.$configProject['isPreview']){
|
|
130
|
+
this.init(value);
|
|
130
131
|
this.onJfbLoad( this.options)
|
|
131
132
|
}
|
|
132
133
|
}
|
|
@@ -121,10 +121,12 @@
|
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
watch: {
|
|
124
|
-
container(value,
|
|
125
|
-
if(JSON.stringify(value) === JSON.stringify(
|
|
126
|
-
this
|
|
127
|
-
|
|
124
|
+
container(value,oldValue) {
|
|
125
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
126
|
+
if (this.$configProject['isPreview']) {
|
|
127
|
+
this.init(value);
|
|
128
|
+
this.onJfbLoad(this.options)
|
|
129
|
+
}
|
|
128
130
|
}
|
|
129
131
|
},
|
|
130
132
|
created() {
|
|
@@ -81,8 +81,9 @@ export default {
|
|
|
81
81
|
};
|
|
82
82
|
},
|
|
83
83
|
watch: {
|
|
84
|
-
container(value) {
|
|
85
|
-
|
|
84
|
+
container(value,oldValue) {
|
|
85
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
86
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
86
87
|
},
|
|
87
88
|
newLabel: {
|
|
88
89
|
deep: true,
|