jufubao-base 1.0.158 → 1.0.159-beta10
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 +10 -6
- 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 +393 -424
- 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 +90 -35
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +39 -22
- package/src/components/JfbBaseCardInfoEntry/Attr.js +22 -0
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +287 -263
- 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 +4 -5
- 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 +28 -11
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +7 -9
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +9 -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 +20 -31
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +9 -4
- package/src/components/JfbBasePay/JfbBasePay.vue +3 -2
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +22 -7
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +23 -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 +5 -4
- 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
|
@@ -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);
|
|
@@ -51,7 +51,14 @@
|
|
|
51
51
|
</view>
|
|
52
52
|
</swiper-item>
|
|
53
53
|
</swiper>
|
|
54
|
-
<xd-notice-bar
|
|
54
|
+
<xd-notice-bar
|
|
55
|
+
:class="{isMp:isMp}"
|
|
56
|
+
v-else
|
|
57
|
+
:key="speedKey"
|
|
58
|
+
scrollable
|
|
59
|
+
:speed="speed"
|
|
60
|
+
background-color="rgba(0,0,0,0)"
|
|
61
|
+
>
|
|
55
62
|
<view
|
|
56
63
|
v-for="item in contentList"
|
|
57
64
|
class="jfb-base-notice__body-scroll-content"
|
|
@@ -212,13 +219,17 @@
|
|
|
212
219
|
|
|
213
220
|
backgroundColor: '',
|
|
214
221
|
is_hide_dailog:'N',
|
|
222
|
+
|
|
223
|
+
isMp:false
|
|
215
224
|
}
|
|
216
225
|
},
|
|
217
226
|
watch: {
|
|
218
|
-
container(value,
|
|
219
|
-
if(JSON.stringify(value) === JSON.stringify(
|
|
220
|
-
|
|
221
|
-
|
|
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
|
+
}
|
|
222
233
|
},
|
|
223
234
|
num(){
|
|
224
235
|
if (this.$configProject['isPreview']) this.onJfbLoad()
|
|
@@ -235,7 +246,13 @@
|
|
|
235
246
|
this.speedKey = Date.now()
|
|
236
247
|
}, 400)
|
|
237
248
|
|
|
238
|
-
}
|
|
249
|
+
},
|
|
250
|
+
is_hide_dailog(value){
|
|
251
|
+
if(value === 'N') {
|
|
252
|
+
storage.remove(this.containerId);
|
|
253
|
+
this.onJfbLoad();
|
|
254
|
+
}
|
|
255
|
+
},
|
|
239
256
|
},
|
|
240
257
|
computed:{
|
|
241
258
|
marginUi() {
|
|
@@ -281,18 +298,14 @@
|
|
|
281
298
|
return this.num > 1
|
|
282
299
|
},
|
|
283
300
|
|
|
284
|
-
is_hide_dailog(value){
|
|
285
|
-
if(value === 'N') {
|
|
286
|
-
storage.remove(this.containerId);
|
|
287
|
-
this.onJfbLoad();
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
|
|
291
301
|
},
|
|
292
302
|
created() {
|
|
293
303
|
this.backgroundColor = Color(this.warningColor).alpha(0.2).toString();
|
|
294
304
|
this.isPreview = this.$configProject['isPreview'];
|
|
295
305
|
this.init(this.container);
|
|
306
|
+
//#ifdef MP-WEIXIN
|
|
307
|
+
this.isMp = true;
|
|
308
|
+
//#endif
|
|
296
309
|
},
|
|
297
310
|
methods: {
|
|
298
311
|
|
|
@@ -324,7 +337,12 @@
|
|
|
324
337
|
|
|
325
338
|
if(this.style === '2') {
|
|
326
339
|
this.num = getContainerPropsValue(container, 'content.num', 1);
|
|
340
|
+
//#ifdef H5
|
|
327
341
|
this.speed = Number(getContainerPropsValue(container, 'content.speed', 30));
|
|
342
|
+
//#endif
|
|
343
|
+
//#ifdef MP-WEIXIN
|
|
344
|
+
this.speed = Number(getContainerPropsValue(container, 'content.speed', 30))/2.5;
|
|
345
|
+
//#endif
|
|
328
346
|
}
|
|
329
347
|
else this.num = 1;
|
|
330
348
|
this.is_hide_dailog = getContainerPropsValue(container, 'content.is_hide_dailog', 'N');
|
|
@@ -334,7 +352,7 @@
|
|
|
334
352
|
console.log('this.time', this.time * 60 + '分钟');
|
|
335
353
|
storage.set(this.containerId, 1, this.time);
|
|
336
354
|
this.$xdConfirm({
|
|
337
|
-
|
|
355
|
+
styles: this.styles,
|
|
338
356
|
title: this.title || this.ajaxTitle,
|
|
339
357
|
content: this.content,
|
|
340
358
|
isHtml: true,
|
|
@@ -518,6 +536,10 @@
|
|
|
518
536
|
overflow-y: auto;
|
|
519
537
|
margin: unit(40, rpx) unit(10, rpx) unit(20, rpx);
|
|
520
538
|
}
|
|
539
|
+
|
|
521
540
|
}
|
|
522
541
|
}
|
|
542
|
+
.isMp {
|
|
543
|
+
width: 100%;
|
|
544
|
+
}
|
|
523
545
|
</style>
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view
|
|
2
|
+
<view
|
|
3
|
+
v-if="show"
|
|
4
|
+
class="uni-noticebar"
|
|
5
|
+
@click="onClick"
|
|
6
|
+
:class="{isMp:isMp}"
|
|
7
|
+
>
|
|
3
8
|
<!-- #ifdef MP-ALIPAY -->
|
|
4
9
|
<view
|
|
5
10
|
v-if="showClose === true || showClose === 'true'"
|
|
@@ -222,6 +227,8 @@
|
|
|
222
227
|
|
|
223
228
|
uiColor: '', //文字颜色
|
|
224
229
|
uiBackgroundColor: '', //背景颜色
|
|
230
|
+
|
|
231
|
+
isMp: false,
|
|
225
232
|
}
|
|
226
233
|
},
|
|
227
234
|
|
|
@@ -238,6 +245,10 @@
|
|
|
238
245
|
})
|
|
239
246
|
// #endif
|
|
240
247
|
|
|
248
|
+
//#ifdef MP-WEIXIN
|
|
249
|
+
this.isMp = true;
|
|
250
|
+
//#endif
|
|
251
|
+
|
|
241
252
|
this.$nextTick(() => {
|
|
242
253
|
this.initSize()
|
|
243
254
|
})
|
|
@@ -290,6 +301,7 @@
|
|
|
290
301
|
this.animationDuration = `${item.width / this.speed}s`
|
|
291
302
|
}
|
|
292
303
|
if(item.key === 'box') {
|
|
304
|
+
|
|
293
305
|
this.boxWidth = item.width;
|
|
294
306
|
this.animationDelay = `0.5s`
|
|
295
307
|
}
|
|
@@ -516,4 +528,8 @@
|
|
|
516
528
|
transform: translate3d(-100%, 0, 0);
|
|
517
529
|
}
|
|
518
530
|
}
|
|
531
|
+
|
|
532
|
+
.isMp {
|
|
533
|
+
width: 100%;
|
|
534
|
+
}
|
|
519
535
|
</style>
|
|
@@ -397,9 +397,7 @@
|
|
|
397
397
|
</view>
|
|
398
398
|
<view
|
|
399
399
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
400
|
-
@click="copy(item.password)"
|
|
401
|
-
>复制</view
|
|
402
|
-
>
|
|
400
|
+
@click="copy(item.password)">复制</view>
|
|
403
401
|
<view
|
|
404
402
|
v-if="item.code_end_time"
|
|
405
403
|
class="jfb-base-order-detail__body-cashier-code"
|
|
@@ -434,9 +432,7 @@
|
|
|
434
432
|
color: mainColor,
|
|
435
433
|
background: bgColor,
|
|
436
434
|
}"
|
|
437
|
-
>
|
|
438
|
-
{{ item.code_end_time }}
|
|
439
|
-
</view>
|
|
435
|
+
>{{ item.code_end_time }}</view>
|
|
440
436
|
</view>
|
|
441
437
|
</view>
|
|
442
438
|
|
|
@@ -460,9 +456,7 @@
|
|
|
460
456
|
color: mainColor,
|
|
461
457
|
background: bgColor,
|
|
462
458
|
}"
|
|
463
|
-
>
|
|
464
|
-
{{ item.code_end_time }}
|
|
465
|
-
</view>
|
|
459
|
+
>{{ item.code_end_time }}</view>
|
|
466
460
|
</view>
|
|
467
461
|
</view>
|
|
468
462
|
|
|
@@ -492,9 +486,7 @@
|
|
|
492
486
|
color: mainColor,
|
|
493
487
|
background: bgColor,
|
|
494
488
|
}"
|
|
495
|
-
>
|
|
496
|
-
{{ item.code_end_time }}
|
|
497
|
-
</view>
|
|
489
|
+
>{{ item.code_end_time }}</view>
|
|
498
490
|
</view>
|
|
499
491
|
</view>
|
|
500
492
|
</view>
|
|
@@ -542,9 +534,7 @@
|
|
|
542
534
|
<view class="jfb-base-order-detail__body-shop-name">
|
|
543
535
|
{{ info.shop.shop_name }}
|
|
544
536
|
</view>
|
|
545
|
-
<view class="jfb-base-order-detail__body-shop-address"
|
|
546
|
-
>地址: {{ info.shop.shop_address }}
|
|
547
|
-
</view>
|
|
537
|
+
<view class="jfb-base-order-detail__body-shop-address">地址: {{ info.shop.shop_address }}</view>
|
|
548
538
|
</view>
|
|
549
539
|
<view
|
|
550
540
|
:style="{
|
|
@@ -574,8 +564,7 @@
|
|
|
574
564
|
v-if="item.type === 'copy'"
|
|
575
565
|
class="jfb-base-order-detail__body-order-copy"
|
|
576
566
|
@click="copy(item.value)"
|
|
577
|
-
>复制</view
|
|
578
|
-
>
|
|
567
|
+
>复制</view>
|
|
579
568
|
</view>
|
|
580
569
|
</view>
|
|
581
570
|
<view
|
|
@@ -659,9 +648,7 @@
|
|
|
659
648
|
v-for="(item, index) in info.contacts"
|
|
660
649
|
:key="index"
|
|
661
650
|
>
|
|
662
|
-
<view class="jfb-base-order-detail__body-link-title">{{
|
|
663
|
-
item.title
|
|
664
|
-
}}</view>
|
|
651
|
+
<view class="jfb-base-order-detail__body-link-title">{{item.title }}</view>
|
|
665
652
|
<view v-for="(Sitem, Sindex) in item.data" :key="Sindex">
|
|
666
653
|
<view class="jfb-base-order-detail__body-link-item">
|
|
667
654
|
<view v-html="Sitem.label"></view>
|
|
@@ -741,14 +728,17 @@
|
|
|
741
728
|
radius="40rpx"
|
|
742
729
|
:bg-color="mainColor"
|
|
743
730
|
@click="handleAction(item)"
|
|
744
|
-
>
|
|
745
|
-
{{ item.text }}
|
|
746
|
-
</xd-button>
|
|
731
|
+
>{{ item.text }}</xd-button>
|
|
747
732
|
</view>
|
|
748
733
|
</view>
|
|
749
734
|
</view>
|
|
750
735
|
</view>
|
|
751
|
-
<xd-dailog
|
|
736
|
+
<xd-dailog
|
|
737
|
+
:show.sync="showCode"
|
|
738
|
+
:cancel="false"
|
|
739
|
+
:confirm="false"
|
|
740
|
+
title="提示"
|
|
741
|
+
>
|
|
752
742
|
<view
|
|
753
743
|
:style="{
|
|
754
744
|
display: 'flex',
|
|
@@ -770,9 +760,7 @@
|
|
|
770
760
|
</image>
|
|
771
761
|
</view>
|
|
772
762
|
</view>
|
|
773
|
-
<view v-if="dialogPassword" class="dialog_password">
|
|
774
|
-
{{ dialogPassword }}
|
|
775
|
-
</view>
|
|
763
|
+
<view v-if="dialogPassword" class="dialog_password">{{ dialogPassword }}</view>
|
|
776
764
|
</xd-dailog>
|
|
777
765
|
</view>
|
|
778
766
|
</template>
|
|
@@ -858,8 +846,9 @@ export default {
|
|
|
858
846
|
};
|
|
859
847
|
},
|
|
860
848
|
watch: {
|
|
861
|
-
container(value) {
|
|
862
|
-
|
|
849
|
+
container(value,oldValue) {
|
|
850
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
851
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
863
852
|
},
|
|
864
853
|
viewStatus(n, o) {
|
|
865
854
|
if (this.isPreview) {
|
|
@@ -1195,7 +1184,7 @@ export default {
|
|
|
1195
1184
|
uni.setClipboardData({
|
|
1196
1185
|
data: text,
|
|
1197
1186
|
success: () => {
|
|
1198
|
-
this.$xdAlert({ content: "复制成功" });
|
|
1187
|
+
//this.$xdAlert({ content: "复制成功" });
|
|
1199
1188
|
},
|
|
1200
1189
|
});
|
|
1201
1190
|
// #endif
|
|
@@ -1254,7 +1243,7 @@ export default {
|
|
|
1254
1243
|
});
|
|
1255
1244
|
} else {
|
|
1256
1245
|
this.$xdConfirm({
|
|
1257
|
-
|
|
1246
|
+
styles: this.styles,
|
|
1258
1247
|
content: "是否取消订单",
|
|
1259
1248
|
success: (action) => {
|
|
1260
1249
|
if (action.confirm) {
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
class="order-list-icon"
|
|
137
137
|
:style="{ bottom: item['isOpen'] ? '-30rpx' : '-54rpx' }"
|
|
138
138
|
v-if="item.products.length > showLen"
|
|
139
|
-
@click.stop="item
|
|
139
|
+
@click.stop="switchOpen(item)"
|
|
140
140
|
>
|
|
141
141
|
<view :style="{ background: backgroundColor }">
|
|
142
142
|
<xd-font-icon
|
|
@@ -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() {
|
|
@@ -387,9 +388,13 @@ export default {
|
|
|
387
388
|
console.log("this.tabList", this.tabList);
|
|
388
389
|
},
|
|
389
390
|
|
|
391
|
+
switchOpen(item){
|
|
392
|
+
item['isOpen'] = !item['isOpen']
|
|
393
|
+
},
|
|
394
|
+
|
|
390
395
|
cancelUnPayOrder(main_order_id) {
|
|
391
396
|
this.$xdConfirm({
|
|
392
|
-
|
|
397
|
+
styles: this.styles,
|
|
393
398
|
content: "是否取消订单?",
|
|
394
399
|
success: (res) => {
|
|
395
400
|
if (res.confirm) {
|
|
@@ -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>
|
|
@@ -104,6 +102,10 @@ import XdFormCheckbox from "@/components/XdFormCheckbox/XdFormCheckbox";
|
|
|
104
102
|
import JfbBasePhoneCollectMixin from "./JfbBasePhoneCollectMixin";
|
|
105
103
|
|
|
106
104
|
export default {
|
|
105
|
+
// #ifdef MP-WEIXIN
|
|
106
|
+
options: { styleIsolation: 'shared' },
|
|
107
|
+
// #endif
|
|
108
|
+
|
|
107
109
|
name: "JfbBasePhoneCollect",
|
|
108
110
|
components: {
|
|
109
111
|
XdFontIcon,
|
|
@@ -125,7 +127,6 @@ export default {
|
|
|
125
127
|
interval: null,
|
|
126
128
|
provider_id: "",
|
|
127
129
|
callback_url: "",
|
|
128
|
-
//todo
|
|
129
130
|
};
|
|
130
131
|
},
|
|
131
132
|
computed: {
|
|
@@ -134,8 +135,9 @@ export default {
|
|
|
134
135
|
},
|
|
135
136
|
},
|
|
136
137
|
watch: {
|
|
137
|
-
container(value) {
|
|
138
|
-
|
|
138
|
+
container(value,oldValue) {
|
|
139
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
140
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
139
141
|
},
|
|
140
142
|
"accountForm.verification_code"(value) {
|
|
141
143
|
if (value && value.length >= 8 && value.length % 2 === 0) {
|
|
@@ -330,4 +332,17 @@ export default {
|
|
|
330
332
|
.align-center {
|
|
331
333
|
align-items: center;
|
|
332
334
|
}
|
|
335
|
+
/* #ifdef MP-WEIXIN */
|
|
336
|
+
/deep/ .xd-form-checkbox .checklist-group {
|
|
337
|
+
justify-content: center;
|
|
338
|
+
display: flex;
|
|
339
|
+
align-items: center;
|
|
340
|
+
}
|
|
341
|
+
.text-content {
|
|
342
|
+
width: 100%;
|
|
343
|
+
& > text {
|
|
344
|
+
font-size: 26rpx;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
/* #endif */
|
|
333
348
|
</style>
|