p500-acount 1.0.0 → 1.0.2
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/lib/p500.acount.es.js +319 -305
- package/lib/p500.acount.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/dist/assets/index-CTD-5s4G.css +0 -1
- package/dist/assets/index-Ec41SW6G.js +0 -17
- package/dist/vi.ico +0 -0
package/lib/p500.acount.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createI18n as
|
|
2
|
-
import { createElementBlock as
|
|
3
|
-
import
|
|
4
|
-
var
|
|
1
|
+
import { createI18n as R } from "vue-i18n";
|
|
2
|
+
import { createElementBlock as d, openBlock as u, createElementVNode as a, normalizeStyle as S, Fragment as T, renderList as E, normalizeClass as w, withDirectives as b, toDisplayString as m, vShow as y, createCommentVNode as v, renderSlot as D, resolveComponent as f, createBlock as P, mergeProps as x, createVNode as p, withCtx as _, createTextVNode as N, withModifiers as M } from "vue";
|
|
3
|
+
import q from "jsencrypt";
|
|
4
|
+
var F = { zh: { serviceLang: "zh_CN", mobileReg: "^0[1-9]\\d{8}$" }, vi: { serviceLang: "vi_VN", mobileReg: "^0[1-9]\\d{8}$" }, id: { serviceLang: "id_ID", mobileReg: "^08\\d{8,11}$" } };
|
|
5
5
|
const O = typeof uni < "u" && uni.request;
|
|
6
6
|
if (!O)
|
|
7
7
|
try {
|
|
@@ -28,8 +28,8 @@ if (!O)
|
|
|
28
28
|
//真正的uni.request需要的是header, 而fetch需要的是headers
|
|
29
29
|
body: t.body
|
|
30
30
|
}).then((e) => {
|
|
31
|
-
var n,
|
|
32
|
-
return (n = t.complete) == null || n.call(t), e.ok ? e.json() : (
|
|
31
|
+
var n, s;
|
|
32
|
+
return (n = t.complete) == null || n.call(t), e.ok ? e.json() : (s = t.fail) == null ? void 0 : s.call(t, { message: `HTTP error! Status: ${e.status}` });
|
|
33
33
|
}).then((e) => {
|
|
34
34
|
var n;
|
|
35
35
|
(n = t.success) == null || n.call(t, { statusCode: 200, data: e });
|
|
@@ -39,15 +39,15 @@ if (!O)
|
|
|
39
39
|
} catch {
|
|
40
40
|
}
|
|
41
41
|
const B = (t, e, n = 10) => {
|
|
42
|
-
const
|
|
43
|
-
uni.setStorageSync(t,
|
|
42
|
+
const s = { data: e, _timeout: +/* @__PURE__ */ new Date() + n * 60 * 1e3 };
|
|
43
|
+
uni.setStorageSync(t, s);
|
|
44
44
|
}, U = (t) => {
|
|
45
45
|
const e = uni.getStorageSync(t);
|
|
46
46
|
if (e) {
|
|
47
|
-
const { data: n, _timeout:
|
|
48
|
-
if (!
|
|
47
|
+
const { data: n, _timeout: s } = e;
|
|
48
|
+
if (!s)
|
|
49
49
|
return e;
|
|
50
|
-
if (+/* @__PURE__ */ new Date() <=
|
|
50
|
+
if (+/* @__PURE__ */ new Date() <= s)
|
|
51
51
|
return n;
|
|
52
52
|
uni.removeStorageSync(t);
|
|
53
53
|
}
|
|
@@ -59,15 +59,15 @@ const B = (t, e, n = 10) => {
|
|
|
59
59
|
header: t.header,
|
|
60
60
|
url: t.urlPrefix + t.url
|
|
61
61
|
};
|
|
62
|
-
return new Promise((n,
|
|
63
|
-
t.dialog.showLoading(), new Promise((o,
|
|
64
|
-
if (e.fail =
|
|
65
|
-
t.dialog.hideLoading();
|
|
62
|
+
return new Promise((n, s) => {
|
|
63
|
+
t.loading !== !1 && t.dialog.showLoading(), new Promise((o, i) => {
|
|
64
|
+
if (e.fail = i, e.complete = () => {
|
|
65
|
+
t.loading !== !1 && t.dialog.hideLoading();
|
|
66
66
|
}, e.success = (r) => {
|
|
67
|
-
const { statusCode:
|
|
68
|
-
if (
|
|
69
|
-
return
|
|
70
|
-
|
|
67
|
+
const { statusCode: h, data: g = {} } = r, { message: c, code: l } = g, L = g.data;
|
|
68
|
+
if (h == 200)
|
|
69
|
+
return l && l != 200 ? i({ message: c, code: l }) : (t.cache && B(t.url, L), o(L));
|
|
70
|
+
i({ message: c });
|
|
71
71
|
}, t.cache) {
|
|
72
72
|
const r = U(t.url);
|
|
73
73
|
if (r)
|
|
@@ -75,7 +75,7 @@ const B = (t, e, n = 10) => {
|
|
|
75
75
|
}
|
|
76
76
|
uni.request(e);
|
|
77
77
|
}).then(n).catch(({ message: o = "" }) => {
|
|
78
|
-
o && t.dialog.showMessage(o),
|
|
78
|
+
o && t.dialog.showMessage(o), s();
|
|
79
79
|
});
|
|
80
80
|
});
|
|
81
81
|
};
|
|
@@ -86,7 +86,8 @@ class X {
|
|
|
86
86
|
* @param {Number} devicePlatform 客户端类型标识
|
|
87
87
|
* @param {Object} dialog 弹框方法对象
|
|
88
88
|
*/
|
|
89
|
-
setOptions(e, n,
|
|
89
|
+
setOptions(e, n, s, o) {
|
|
90
|
+
const i = typeof navigator < "u" ? navigator.userAgent : "";
|
|
90
91
|
this.normalOption = {
|
|
91
92
|
dialog: o,
|
|
92
93
|
method: "GET",
|
|
@@ -94,9 +95,9 @@ class X {
|
|
|
94
95
|
header: {
|
|
95
96
|
"Content-Type": "application/json",
|
|
96
97
|
"X-Requested-With": "XMLHttpRequest",
|
|
97
|
-
lang:
|
|
98
|
+
lang: F[e].serviceLang,
|
|
98
99
|
// 接口所需语言标识
|
|
99
|
-
DevicePlatform:
|
|
100
|
+
DevicePlatform: s || (/mobile|nokia|iphone|ipad|android|samsung|htc|blackberry|webos|ipod/i.test(i) ? 2 : 1),
|
|
100
101
|
appver: "spread",
|
|
101
102
|
Authorization: ""
|
|
102
103
|
}
|
|
@@ -129,7 +130,8 @@ class X {
|
|
|
129
130
|
generateCaptcha() {
|
|
130
131
|
return k(Object.assign({}, this.normalOption, {
|
|
131
132
|
url: "captcha/behavior/gen",
|
|
132
|
-
method: "POST"
|
|
133
|
+
method: "POST",
|
|
134
|
+
loading: !1
|
|
133
135
|
}));
|
|
134
136
|
}
|
|
135
137
|
/*校验验证码*/
|
|
@@ -138,6 +140,7 @@ class X {
|
|
|
138
140
|
k(Object.assign({}, this.normalOption, {
|
|
139
141
|
url: "captcha/behavior/check",
|
|
140
142
|
method: "POST",
|
|
143
|
+
loading: !1,
|
|
141
144
|
data: e
|
|
142
145
|
})).then(n).catch(() => {
|
|
143
146
|
n(null);
|
|
@@ -165,13 +168,13 @@ class X {
|
|
|
165
168
|
return k(Object.assign({}, this.normalOption, { url: "register", method: "POST", data: e }));
|
|
166
169
|
}
|
|
167
170
|
}
|
|
168
|
-
const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mobile no.",
|
|
171
|
+
const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mobile no.", H = "Pasword", Y = "Confirm password", G = "Enter invitation code ", J = "(Required)", Z = "(Non- Required)", Q = "Username must be 8–16 letters or numbers.", ee = "Username or mobile", te = "Enter 8-16 characters of letters or numbers", ne = "Incorrect password", oe = "Remember", ie = "Forget password?", se = "Signup", ae = "Please drag the slider to complete the puzzle", re = "Verification passed", ce = "Verification failed, please try again", le = "Swipe right", ue = "Tips", de = "Confirm", he = "I am 18 and above and I have read and agreed to the ", me = "term and conditions", ge = "Term", pe = "Account ready, ", fe = "login now", ve = {
|
|
169
172
|
register: j,
|
|
170
173
|
login: W,
|
|
171
174
|
userPh: K,
|
|
172
175
|
loginNamePh: z,
|
|
173
|
-
pwdPh:
|
|
174
|
-
confirmPwdPh:
|
|
176
|
+
pwdPh: H,
|
|
177
|
+
confirmPwdPh: Y,
|
|
175
178
|
inviteCodePh: G,
|
|
176
179
|
required: J,
|
|
177
180
|
rnRequired: Z,
|
|
@@ -180,8 +183,8 @@ const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mo
|
|
|
180
183
|
pwdEr: te,
|
|
181
184
|
confirmPwdEr: ne,
|
|
182
185
|
remember: oe,
|
|
183
|
-
forgetPwd:
|
|
184
|
-
toRegister:
|
|
186
|
+
forgetPwd: ie,
|
|
187
|
+
toRegister: se,
|
|
185
188
|
captchaTitle: ae,
|
|
186
189
|
captchaCheckSuccess: re,
|
|
187
190
|
captchaCheckFail: ce,
|
|
@@ -193,39 +196,39 @@ const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mo
|
|
|
193
196
|
pactTitle: ge,
|
|
194
197
|
hasUserName: pe,
|
|
195
198
|
goLogin: fe
|
|
196
|
-
}, ke = "注册", we = "登录", Ce = "请输入用户名",
|
|
199
|
+
}, ke = "注册", we = "登录", Ce = "请输入用户名", Pe = "请输入账号或手机号", be = "请输入密码", ye = "请确认密码", Se = "请输入邀请码", Te = "(必填)", $e = "(非必填)", Le = "请输入8~16位英文及数字组合", Ee = "请输入用户名或手机号码", Ie = "请输入8~16个英文或数字", Ve = "确认密码输入错误", _e = "记住账号", Ae = "忘记密码?", Re = "立即注册", De = "请拖动滑块完成拼图", xe = "验证通过", Ne = "验证失败,请重新尝试", Me = "向右滑动", qe = "温馨提示", Fe = "确认", Oe = "我已满18岁并且已阅读", Be = "《规则条款》", Ue = "规则条款", Xe = "已有账号,", je = "立即登录", We = {
|
|
197
200
|
register: ke,
|
|
198
201
|
login: we,
|
|
199
202
|
userPh: Ce,
|
|
200
|
-
loginNamePh:
|
|
201
|
-
pwdPh:
|
|
203
|
+
loginNamePh: Pe,
|
|
204
|
+
pwdPh: be,
|
|
202
205
|
confirmPwdPh: ye,
|
|
203
|
-
inviteCodePh:
|
|
204
|
-
required:
|
|
205
|
-
rnRequired:
|
|
206
|
-
userEr:
|
|
207
|
-
loginNameEr:
|
|
208
|
-
pwdEr:
|
|
209
|
-
confirmPwdEr:
|
|
210
|
-
remember:
|
|
206
|
+
inviteCodePh: Se,
|
|
207
|
+
required: Te,
|
|
208
|
+
rnRequired: $e,
|
|
209
|
+
userEr: Le,
|
|
210
|
+
loginNameEr: Ee,
|
|
211
|
+
pwdEr: Ie,
|
|
212
|
+
confirmPwdEr: Ve,
|
|
213
|
+
remember: _e,
|
|
211
214
|
forgetPwd: Ae,
|
|
212
|
-
toRegister:
|
|
215
|
+
toRegister: Re,
|
|
213
216
|
captchaTitle: De,
|
|
214
|
-
captchaCheckSuccess:
|
|
217
|
+
captchaCheckSuccess: xe,
|
|
215
218
|
captchaCheckFail: Ne,
|
|
216
219
|
captchaMoveText: Me,
|
|
217
|
-
popupTitle:
|
|
218
|
-
confirmText:
|
|
220
|
+
popupTitle: qe,
|
|
221
|
+
confirmText: Fe,
|
|
219
222
|
pact1: Oe,
|
|
220
223
|
pact2: Be,
|
|
221
224
|
pactTitle: Ue,
|
|
222
225
|
hasUserName: Xe,
|
|
223
226
|
goLogin: je
|
|
224
|
-
}, Ke = "Đăng ký", ze = "Đăng nhập",
|
|
227
|
+
}, Ke = "Đăng ký", ze = "Đăng nhập", He = "Vui lòng nhập tên đăng nhập", Ye = "Vui lòng nhập tên đăng nhập hoặc sđt", Ge = "Vui lòng nhập mật khẩu", Je = "Vui lòng xác nhận mật khẩu", Ze = "Vui lòng nhập mã mời ", Qe = "(Bắt buộc)", et = "(không bắt buộc)", tt = "Vui lòng nhập 8 đến 16 ký tự chữ và số", nt = "Vui lòng nhập tên đăng nhập hoặc sđt", ot = "Vui lòng nhập 8~16 kỹ tự chữ và số", it = "Xác nhận mật khẩu sai", st = "Ghi nhớ", at = "Quên mật khẩu?", rt = "Đăng ký ngay", ct = "Vui lòng kéo thanh trượt để hoàn thành câu đố", lt = "Xác minh đã được thông qua", ut = "Xác minh không thành công, vui lòng thử lại", dt = "Vuốt sang phải", ht = "Lời nhắc", mt = "Xác nhận", gt = "Tôi trên 18 tuổi và đã đọc ", pt = "Điều khoản và điều kiện", ft = "Các điều khoản và điều kiện", vt = "Đã có tài khoản,", kt = "đăng nhập ngay", wt = {
|
|
225
228
|
register: Ke,
|
|
226
229
|
login: ze,
|
|
227
|
-
userPh:
|
|
228
|
-
loginNamePh:
|
|
230
|
+
userPh: He,
|
|
231
|
+
loginNamePh: Ye,
|
|
229
232
|
pwdPh: Ge,
|
|
230
233
|
confirmPwdPh: Je,
|
|
231
234
|
inviteCodePh: Ze,
|
|
@@ -234,8 +237,8 @@ const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mo
|
|
|
234
237
|
userEr: tt,
|
|
235
238
|
loginNameEr: nt,
|
|
236
239
|
pwdEr: ot,
|
|
237
|
-
confirmPwdEr:
|
|
238
|
-
remember:
|
|
240
|
+
confirmPwdEr: it,
|
|
241
|
+
remember: st,
|
|
239
242
|
forgetPwd: at,
|
|
240
243
|
toRegister: rt,
|
|
241
244
|
captchaTitle: ct,
|
|
@@ -249,27 +252,27 @@ const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mo
|
|
|
249
252
|
pactTitle: ft,
|
|
250
253
|
hasUserName: vt,
|
|
251
254
|
goLogin: kt
|
|
252
|
-
}, Ct = "Daftar",
|
|
255
|
+
}, Ct = "Daftar", Pt = "Masuk", bt = "Ketik Username", yt = "Username atau Nomor WA", St = "Sandi", Tt = "Konfirmasi Sandi", $t = "Kode Undangan ", Lt = "(Wajib)", Et = "(opsional)", It = "8 - 16 Digit Kombinasi Huruf Dan Angka", Vt = "Username atau Nomor WA", _t = "8 - 16 Digit Kombinasi Huruf Dan Angka", At = "Sandi Salah!", Rt = "Ingat", Dt = "Lupa Sandi?", xt = "Daftar", Nt = "Silakan tarik slider untuk menyelesaikan puzzle", Mt = "Verifikasi berhasil", qt = "Verifikasi gagal, coba lagi", Ft = "Geser ke kanan", Ot = "Perhatian!", Bt = "Konfirmasi", Ut = "Saya Berumur Diatas 18 Tahun Dan Membaca ", Xt = "S&K Berlaku", jt = "Syarat & Ketentuan", Wt = "Akun Aktif, ", Kt = "Login Sekarang", zt = {
|
|
253
256
|
register: Ct,
|
|
254
|
-
login:
|
|
255
|
-
userPh:
|
|
257
|
+
login: Pt,
|
|
258
|
+
userPh: bt,
|
|
256
259
|
loginNamePh: yt,
|
|
257
|
-
pwdPh:
|
|
258
|
-
confirmPwdPh:
|
|
259
|
-
inviteCodePh:
|
|
260
|
-
required:
|
|
261
|
-
rnRequired:
|
|
262
|
-
userEr:
|
|
263
|
-
loginNameEr:
|
|
264
|
-
pwdEr:
|
|
260
|
+
pwdPh: St,
|
|
261
|
+
confirmPwdPh: Tt,
|
|
262
|
+
inviteCodePh: $t,
|
|
263
|
+
required: Lt,
|
|
264
|
+
rnRequired: Et,
|
|
265
|
+
userEr: It,
|
|
266
|
+
loginNameEr: Vt,
|
|
267
|
+
pwdEr: _t,
|
|
265
268
|
confirmPwdEr: At,
|
|
266
|
-
remember:
|
|
269
|
+
remember: Rt,
|
|
267
270
|
forgetPwd: Dt,
|
|
268
|
-
toRegister:
|
|
271
|
+
toRegister: xt,
|
|
269
272
|
captchaTitle: Nt,
|
|
270
273
|
captchaCheckSuccess: Mt,
|
|
271
|
-
captchaCheckFail:
|
|
272
|
-
captchaMoveText:
|
|
274
|
+
captchaCheckFail: qt,
|
|
275
|
+
captchaMoveText: Ft,
|
|
273
276
|
popupTitle: Ot,
|
|
274
277
|
confirmText: Bt,
|
|
275
278
|
pact1: Ut,
|
|
@@ -277,20 +280,20 @@ const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mo
|
|
|
277
280
|
pactTitle: jt,
|
|
278
281
|
hasUserName: Wt,
|
|
279
282
|
goLogin: Kt
|
|
280
|
-
},
|
|
283
|
+
}, Ht = {
|
|
281
284
|
en: ve,
|
|
282
285
|
zh: We,
|
|
283
286
|
vi: wt,
|
|
284
287
|
id: zt
|
|
285
|
-
},
|
|
288
|
+
}, Yt = () => R({
|
|
286
289
|
locale: "vi",
|
|
287
290
|
// 用户提供的语言
|
|
288
291
|
fallbackLocale: "en",
|
|
289
|
-
messages:
|
|
292
|
+
messages: Ht
|
|
290
293
|
}), Gt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAACoAQMAAABZmE+jAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAACJJREFUaN7twTEBAAAAwiD7p7bGDmAAAAAAAAAAAAAAQN4BK/gAAcTOpHoAAAAASUVORK5CYII=", C = (t, e) => {
|
|
291
294
|
const n = t.__vccOpts || t;
|
|
292
|
-
for (const [
|
|
293
|
-
n[
|
|
295
|
+
for (const [s, o] of e)
|
|
296
|
+
n[s] = o;
|
|
294
297
|
return n;
|
|
295
298
|
}, Jt = {
|
|
296
299
|
name: "paBanner",
|
|
@@ -300,8 +303,6 @@ const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mo
|
|
|
300
303
|
return {
|
|
301
304
|
skeletonImg: Gt,
|
|
302
305
|
//占位图片
|
|
303
|
-
isUni: !uni.__IS_MY_UNI_POLYFILL__,
|
|
304
|
-
//是否为uni环境
|
|
305
306
|
currentIndex: 0,
|
|
306
307
|
//当前显示轮博下标
|
|
307
308
|
isSliding: !1,
|
|
@@ -338,23 +339,23 @@ const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mo
|
|
|
338
339
|
},
|
|
339
340
|
/*停止自动轮播*/
|
|
340
341
|
stopAutoPlay() {
|
|
341
|
-
clearInterval(this.timer);
|
|
342
|
+
clearInterval(this.timer), this.timer = null;
|
|
342
343
|
},
|
|
343
344
|
/*获取轮博项的偏移值*/
|
|
344
345
|
getItemOffset(t) {
|
|
345
346
|
const e = t - this.currentIndex, n = this.list.length * 100;
|
|
346
|
-
let
|
|
347
|
-
return e > 1 && (
|
|
347
|
+
let s = t * 100;
|
|
348
|
+
return e > 1 && (s -= n), e < -1 && (s += n), s;
|
|
348
349
|
},
|
|
349
350
|
/*轮博切换*/
|
|
350
351
|
slide(t) {
|
|
351
|
-
const e = this.currentIndex + t, n = this.list.length - 1,
|
|
352
|
-
this.startSliding(), this.currentIndex =
|
|
352
|
+
const e = this.currentIndex + t, n = this.list.length - 1, s = e < 0 ? n : e > n ? 0 : e;
|
|
353
|
+
this.startSliding(), this.currentIndex = s;
|
|
353
354
|
},
|
|
354
355
|
/*轮播标记处理*/
|
|
355
356
|
startSliding() {
|
|
356
357
|
this.isSliding = !0, setTimeout(() => {
|
|
357
|
-
this.isSliding = !1;
|
|
358
|
+
this.isSliding = !1, this.timer == null && this.startAutoPlay();
|
|
358
359
|
}, 500);
|
|
359
360
|
},
|
|
360
361
|
/**
|
|
@@ -368,15 +369,15 @@ const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mo
|
|
|
368
369
|
return Math.round(e.pageX);
|
|
369
370
|
let n = e.changedTouches || e.targetTouches || [];
|
|
370
371
|
if (n.length > 0) {
|
|
371
|
-
const
|
|
372
|
-
return "pageX" in
|
|
372
|
+
const s = n[0];
|
|
373
|
+
return "pageX" in s ? Math.round(s.pageX) : Math.round(s.clientX);
|
|
373
374
|
}
|
|
374
375
|
return 0;
|
|
375
376
|
},
|
|
376
377
|
/*Start*/
|
|
377
378
|
onStart(t) {
|
|
378
379
|
const e = this.getCurrentCoordinate(t);
|
|
379
|
-
if (this.startX = e, t.type == "mousedown")
|
|
380
|
+
if (this.stopAutoPlay(), this.startX = e, t.type == "mousedown")
|
|
380
381
|
try {
|
|
381
382
|
document.addEventListener("mousemove", this.onMove), document.addEventListener("mouseup", this.onEnd);
|
|
382
383
|
} catch {
|
|
@@ -385,8 +386,8 @@ const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mo
|
|
|
385
386
|
/*Move*/
|
|
386
387
|
onMove(t) {
|
|
387
388
|
t == null || t.preventDefault(), t.touches && t.touches.length > 0 && (t = t.touches[0]);
|
|
388
|
-
const e = this.getCurrentCoordinate(t), n = this.startX,
|
|
389
|
-
this.moveWidth =
|
|
389
|
+
const e = this.getCurrentCoordinate(t), n = this.startX, s = e - n;
|
|
390
|
+
this.moveWidth = s;
|
|
390
391
|
},
|
|
391
392
|
/*End*/
|
|
392
393
|
onEnd(t) {
|
|
@@ -403,55 +404,49 @@ const j = "Signup", W = "Login", K = "Enter username", z = "Enter username or mo
|
|
|
403
404
|
return /^http/.test(t) ? this.$emit("bannerClick", { type: "third", url: t }) : /^promotion\//.test(t) ? this.$emit("bannerClick", { type: "promo", promoId: t.split("/")[1] }) : this.$emit("bannerClick", { type: "router", routerName: t });
|
|
404
405
|
}
|
|
405
406
|
}
|
|
406
|
-
}, Zt = { class: "pa-banner" }, Qt = { class: "pa-banner-inner" }, en = ["src"], tn = ["
|
|
407
|
-
function
|
|
408
|
-
return
|
|
407
|
+
}, Zt = { class: "pa-banner" }, Qt = { class: "pa-banner-inner" }, en = ["src"], tn = ["onClick"], nn = { class: "pa-ndicators" };
|
|
408
|
+
function on(t, e, n, s, o, i) {
|
|
409
|
+
return u(), d("div", Zt, [
|
|
409
410
|
a("div", Qt, [
|
|
410
|
-
|
|
411
|
-
key: 0,
|
|
412
|
-
class: "pa-banner-skeleton",
|
|
413
|
-
src: o.skeletonImg,
|
|
414
|
-
mode: "widthFix"
|
|
415
|
-
}, null, 8, en)) : (l(), u("img", {
|
|
416
|
-
key: 1,
|
|
411
|
+
a("img", {
|
|
417
412
|
class: "pa-banner-skeleton",
|
|
418
413
|
src: o.skeletonImg
|
|
419
|
-
}, null, 8,
|
|
414
|
+
}, null, 8, en),
|
|
420
415
|
a("div", {
|
|
421
416
|
class: "pa-carousel",
|
|
422
|
-
onTouchstart: e[0] || (e[0] = (...r) =>
|
|
423
|
-
onTouchmove: e[1] || (e[1] = (...r) =>
|
|
424
|
-
onTouchend: e[2] || (e[2] = (...r) =>
|
|
425
|
-
onMousedown: e[3] || (e[3] = (...r) =>
|
|
417
|
+
onTouchstart: e[0] || (e[0] = (...r) => i.onStart && i.onStart(...r)),
|
|
418
|
+
onTouchmove: e[1] || (e[1] = (...r) => i.onMove && i.onMove(...r)),
|
|
419
|
+
onTouchend: e[2] || (e[2] = (...r) => i.onEnd && i.onEnd(...r)),
|
|
420
|
+
onMousedown: e[3] || (e[3] = (...r) => i.onStart && i.onStart(...r))
|
|
426
421
|
}, [
|
|
427
422
|
a("div", {
|
|
428
423
|
class: "pa-banner-track",
|
|
429
|
-
style:
|
|
424
|
+
style: S({
|
|
430
425
|
transform: `translateX(calc(-${o.currentIndex * 100}% + ${o.moveWidth}px))`,
|
|
431
426
|
transitionDuration: o.isSliding ? "500ms" : "0ms"
|
|
432
427
|
})
|
|
433
428
|
}, [
|
|
434
|
-
(
|
|
435
|
-
key:
|
|
429
|
+
(u(!0), d(T, null, E(o.list, (r, h) => (u(), d("div", {
|
|
430
|
+
key: h,
|
|
436
431
|
class: "pa-banner-item",
|
|
437
|
-
onClick: (
|
|
438
|
-
style:
|
|
432
|
+
onClick: (g) => i.handlerClick(r.href),
|
|
433
|
+
style: S({
|
|
439
434
|
backgroundImage: `url(${r.url})`,
|
|
440
|
-
transform: `translateX(${
|
|
435
|
+
transform: `translateX(${i.getItemOffset(h)}%)`
|
|
441
436
|
})
|
|
442
|
-
}, null, 12,
|
|
437
|
+
}, null, 12, tn))), 128))
|
|
443
438
|
], 4),
|
|
444
|
-
a("div",
|
|
445
|
-
(
|
|
446
|
-
key:
|
|
447
|
-
class: w(["pa-indicator", { active:
|
|
439
|
+
a("div", nn, [
|
|
440
|
+
(u(!0), d(T, null, E(o.list, (r, h) => (u(), d("div", {
|
|
441
|
+
key: h,
|
|
442
|
+
class: w(["pa-indicator", { active: h === o.currentIndex }])
|
|
448
443
|
}, null, 2))), 128))
|
|
449
444
|
])
|
|
450
445
|
], 32)
|
|
451
446
|
])
|
|
452
447
|
]);
|
|
453
448
|
}
|
|
454
|
-
const
|
|
449
|
+
const sn = /* @__PURE__ */ C(Jt, [["render", on]]), an = {
|
|
455
450
|
name: "paDialog",
|
|
456
451
|
inject: ["$t"],
|
|
457
452
|
emits: ["update:modelValue"],
|
|
@@ -466,34 +461,34 @@ const an = /* @__PURE__ */ C(Jt, [["render", sn]]), rn = {
|
|
|
466
461
|
message: String
|
|
467
462
|
//消息内容
|
|
468
463
|
}
|
|
469
|
-
},
|
|
464
|
+
}, rn = { class: "pa-dialog" }, cn = {
|
|
470
465
|
key: 0,
|
|
471
466
|
class: "pa-message"
|
|
472
|
-
},
|
|
467
|
+
}, ln = { class: "pa-message-title" }, un = { class: "pa-message-box" }, dn = { class: "pa-message-contx" }, hn = { class: "pa-message-btnbox" }, mn = {
|
|
473
468
|
key: 1,
|
|
474
469
|
class: "pa-loading"
|
|
475
|
-
},
|
|
476
|
-
|
|
470
|
+
}, gn = /* @__PURE__ */ a("div", { class: "pa-loading-bg" }, null, -1), pn = [
|
|
471
|
+
gn
|
|
477
472
|
];
|
|
478
|
-
function
|
|
479
|
-
return b((
|
|
480
|
-
n.type ? (
|
|
481
|
-
a("p",
|
|
482
|
-
a("div",
|
|
483
|
-
a("p",
|
|
473
|
+
function fn(t, e, n, s, o, i) {
|
|
474
|
+
return b((u(), d("div", rn, [
|
|
475
|
+
n.type ? (u(), d("div", cn, [
|
|
476
|
+
a("p", ln, m(i.$t("popupTitle")), 1),
|
|
477
|
+
a("div", un, [
|
|
478
|
+
a("p", dn, m(n.message), 1)
|
|
484
479
|
]),
|
|
485
|
-
a("div",
|
|
480
|
+
a("div", hn, [
|
|
486
481
|
a("div", {
|
|
487
482
|
class: "pa-message-btn",
|
|
488
483
|
onClick: e[0] || (e[0] = (r) => t.$emit("update:modelValue", n.modelValue - 1))
|
|
489
|
-
},
|
|
484
|
+
}, m(i.$t("confirmText")), 1)
|
|
490
485
|
])
|
|
491
|
-
])) : (
|
|
486
|
+
])) : (u(), d("div", mn, pn))
|
|
492
487
|
], 512)), [
|
|
493
|
-
[
|
|
488
|
+
[y, n.modelValue >= 1]
|
|
494
489
|
]);
|
|
495
490
|
}
|
|
496
|
-
const
|
|
491
|
+
const vn = /* @__PURE__ */ C(an, [["render", fn]]), kn = {
|
|
497
492
|
name: "paFormItem",
|
|
498
493
|
emits: ["update:modelValue"],
|
|
499
494
|
inject: ["paForm"],
|
|
@@ -545,11 +540,11 @@ const kn = /* @__PURE__ */ C(rn, [["render", vn]]), wn = {
|
|
|
545
540
|
return this.errorMsg = n, !n;
|
|
546
541
|
}
|
|
547
542
|
}
|
|
548
|
-
},
|
|
549
|
-
function
|
|
550
|
-
return
|
|
551
|
-
a("div",
|
|
552
|
-
n.prefixIcon ? (
|
|
543
|
+
}, wn = { class: "pa-form-item" }, Cn = { class: "pa-input-content" }, Pn = ["placeholder", "disabled", "value", "type"];
|
|
544
|
+
function bn(t, e, n, s, o, i) {
|
|
545
|
+
return u(), d("div", wn, [
|
|
546
|
+
a("div", Cn, [
|
|
547
|
+
n.prefixIcon ? (u(), d("i", {
|
|
553
548
|
key: 0,
|
|
554
549
|
class: w(["iconfont pa-prefix-icon", n.prefixIcon])
|
|
555
550
|
}, null, 2)) : v("", !0),
|
|
@@ -559,10 +554,10 @@ function yn(t, e, n, i, o, s) {
|
|
|
559
554
|
disabled: n.disabled,
|
|
560
555
|
value: n.modelValue,
|
|
561
556
|
type: o.showPassword ? "text" : o.realType,
|
|
562
|
-
onInput: e[0] || (e[0] = (...r) =>
|
|
563
|
-
onFocusOnce: e[1] || (e[1] = (...r) =>
|
|
557
|
+
onInput: e[0] || (e[0] = (...r) => i.handleInput && i.handleInput(...r)),
|
|
558
|
+
onFocusOnce: e[1] || (e[1] = (...r) => i.handlerFocus && i.handlerFocus(...r))
|
|
564
559
|
}, null, 40, Pn),
|
|
565
|
-
n.type == "password" && n.modelValue ? (
|
|
560
|
+
n.type == "password" && n.modelValue ? (u(), d("i", {
|
|
566
561
|
key: 1,
|
|
567
562
|
class: w(["iconfont", o.showPassword ? "icon-eye-slash-filled" : "icon-eye-filled"]),
|
|
568
563
|
onClick: e[2] || (e[2] = (r) => o.showPassword = !o.showPassword)
|
|
@@ -570,18 +565,18 @@ function yn(t, e, n, i, o, s) {
|
|
|
570
565
|
]),
|
|
571
566
|
a("p", {
|
|
572
567
|
class: w(["pa-form-item--error", { active: o.errorMsg }])
|
|
573
|
-
},
|
|
568
|
+
}, m(o.errorMsg), 3)
|
|
574
569
|
]);
|
|
575
570
|
}
|
|
576
|
-
const
|
|
571
|
+
const yn = /* @__PURE__ */ C(kn, [["render", bn]]), Sn = {
|
|
577
572
|
name: "paCheckbox",
|
|
578
573
|
emits: ["update:modelValue"],
|
|
579
574
|
props: {
|
|
580
575
|
modelValue: Boolean
|
|
581
576
|
}
|
|
582
577
|
}, Tn = { class: "iconfont icon-checked" };
|
|
583
|
-
function
|
|
584
|
-
return
|
|
578
|
+
function $n(t, e, n, s, o, i) {
|
|
579
|
+
return u(), d("div", {
|
|
585
580
|
class: "pa-checkbox",
|
|
586
581
|
onClick: e[0] || (e[0] = (r) => t.$emit("update:modelValue", !n.modelValue))
|
|
587
582
|
}, [
|
|
@@ -589,18 +584,18 @@ function _n(t, e, n, i, o, s) {
|
|
|
589
584
|
class: w(["pa-checkbox--input", { active: n.modelValue }])
|
|
590
585
|
}, [
|
|
591
586
|
b(a("i", Tn, null, 512), [
|
|
592
|
-
[
|
|
587
|
+
[y, n.modelValue]
|
|
593
588
|
])
|
|
594
589
|
], 2),
|
|
595
590
|
D(t.$slots, "default")
|
|
596
591
|
]);
|
|
597
592
|
}
|
|
598
|
-
const
|
|
593
|
+
const Ln = /* @__PURE__ */ C(Sn, [["render", $n]]), En = (t, e) => {
|
|
599
594
|
const n = t.__vccOpts || t;
|
|
600
|
-
for (const [
|
|
601
|
-
n[
|
|
595
|
+
for (const [s, o] of e)
|
|
596
|
+
n[s] = o;
|
|
602
597
|
return n;
|
|
603
|
-
},
|
|
598
|
+
}, In = {
|
|
604
599
|
name: "BehaviorCaptcha",
|
|
605
600
|
emits: ["update:modelValue", "success"],
|
|
606
601
|
props: {
|
|
@@ -670,8 +665,8 @@ const In = /* @__PURE__ */ C(Sn, [["render", _n]]), Ln = (t, e) => {
|
|
|
670
665
|
generate() {
|
|
671
666
|
var t;
|
|
672
667
|
this.imgSrc = "", this.generateFun && (this.showLoading = !0, this.checkStatus = null, this.genError = !1, (t = this.generateFun) == null || t.call(this).then((e) => {
|
|
673
|
-
const { captcha: n = {}, id:
|
|
674
|
-
this.imgSrc = n.backgroundImage, this.tempImgSrc = n.templateImage, o.id =
|
|
668
|
+
const { captcha: n = {}, id: s } = e, { checkParams: o } = this;
|
|
669
|
+
this.imgSrc = n.backgroundImage, this.tempImgSrc = n.templateImage, o.id = s, o.track.startTime = /* @__PURE__ */ new Date(), o.track.trackList = [];
|
|
675
670
|
}).catch((e) => {
|
|
676
671
|
this.genError = !0;
|
|
677
672
|
}).finally((e) => {
|
|
@@ -711,8 +706,8 @@ const In = /* @__PURE__ */ C(Sn, [["render", _n]]), Ln = (t, e) => {
|
|
|
711
706
|
onStart(t) {
|
|
712
707
|
if (this.showLoading || this.checkStatus)
|
|
713
708
|
return;
|
|
714
|
-
const e = this.getCurrentCoordinate(t), n = e.x,
|
|
715
|
-
if (this.startX = n, this.startY =
|
|
709
|
+
const e = this.getCurrentCoordinate(t), n = e.x, s = e.y, { startTime: o, trackList: i } = this.checkParams.track;
|
|
710
|
+
if (this.startX = n, this.startY = s, i.push({
|
|
716
711
|
x: 0,
|
|
717
712
|
y: 0,
|
|
718
713
|
type: "down",
|
|
@@ -728,25 +723,25 @@ const In = /* @__PURE__ */ C(Sn, [["render", _n]]), Ln = (t, e) => {
|
|
|
728
723
|
if (this.showLoading || this.checkStatus)
|
|
729
724
|
return;
|
|
730
725
|
t == null || t.preventDefault(), t.touches && t.touches.length > 0 && (t = t.touches[0]);
|
|
731
|
-
const e = this.getCurrentCoordinate(t), n = e.x,
|
|
732
|
-
let c = n - o,
|
|
733
|
-
|
|
726
|
+
const e = this.getCurrentCoordinate(t), n = e.x, s = e.y, { startX: o, startY: i } = this, { startTime: r, trackList: h } = this.checkParams.track, g = 245;
|
|
727
|
+
let c = n - o, l = s - i;
|
|
728
|
+
h.push({
|
|
734
729
|
x: c,
|
|
735
|
-
y:
|
|
730
|
+
y: l,
|
|
736
731
|
type: "move",
|
|
737
732
|
t: (/* @__PURE__ */ new Date()).getTime() - r.getTime()
|
|
738
|
-
}), c = Math.min(Math.max(c, 0),
|
|
733
|
+
}), c = Math.min(Math.max(c, 0), g), this.moveWidth = c;
|
|
739
734
|
},
|
|
740
735
|
/*End*/
|
|
741
736
|
onEnd(t) {
|
|
742
737
|
if (this.showLoading || this.checkStatus)
|
|
743
738
|
return;
|
|
744
739
|
const e = this.getCurrentCoordinate(t);
|
|
745
|
-
let n = e.x,
|
|
746
|
-
const { startX: o, startY:
|
|
747
|
-
if (
|
|
740
|
+
let n = e.x, s = e.y;
|
|
741
|
+
const { startX: o, startY: i } = this, { startTime: r, trackList: h } = this.checkParams.track;
|
|
742
|
+
if (h.push({
|
|
748
743
|
x: n - o,
|
|
749
|
-
y:
|
|
744
|
+
y: s - i,
|
|
750
745
|
type: "up",
|
|
751
746
|
t: (/* @__PURE__ */ new Date()).getTime() - r.getTime()
|
|
752
747
|
}), this.checkParams.track.stopTime = /* @__PURE__ */ new Date(), t.type == "mouseup")
|
|
@@ -757,45 +752,45 @@ const In = /* @__PURE__ */ C(Sn, [["render", _n]]), Ln = (t, e) => {
|
|
|
757
752
|
this.check();
|
|
758
753
|
}
|
|
759
754
|
}
|
|
760
|
-
}, Vn = { class: "behavior-captcha" },
|
|
755
|
+
}, Vn = { class: "behavior-captcha" }, _n = { class: "content" }, An = { class: "captcha-topbox" }, Rn = { class: "title" }, Dn = { class: "captcha-imgbox" }, xn = { class: "flash-box" }, Nn = { class: "loading-box" }, Mn = ["src"], qn = ["src"], Fn = {
|
|
761
756
|
key: 1,
|
|
762
757
|
class: "check-tip"
|
|
763
|
-
},
|
|
758
|
+
}, On = { class: "check-tip-inner" }, Bn = { class: "tip-txt" }, Un = {
|
|
764
759
|
key: 2,
|
|
765
760
|
class: "big-flash"
|
|
766
|
-
},
|
|
767
|
-
function
|
|
768
|
-
return b((
|
|
769
|
-
a("div",
|
|
770
|
-
a("div",
|
|
771
|
-
a("p",
|
|
761
|
+
}, Xn = { class: "captcha-movebox" }, jn = { class: "move-bg" }, Wn = { class: "move-txt" };
|
|
762
|
+
function Kn(t, e, n, s, o, i) {
|
|
763
|
+
return b((u(), d("div", Vn, [
|
|
764
|
+
a("div", _n, [
|
|
765
|
+
a("div", An, [
|
|
766
|
+
a("p", Rn, m(n.textData.title || "请拖动滑块完成拼图"), 1),
|
|
772
767
|
a("i", {
|
|
773
768
|
class: "font-icon close",
|
|
774
769
|
onClick: e[0] || (e[0] = (r) => t.$emit("update:modelValue", !1))
|
|
775
770
|
})
|
|
776
771
|
]),
|
|
777
|
-
a("div",
|
|
778
|
-
a("div",
|
|
772
|
+
a("div", Dn, [
|
|
773
|
+
a("div", xn, [
|
|
779
774
|
b(a("i", {
|
|
780
775
|
class: "font-icon flash",
|
|
781
|
-
onClick: e[1] || (e[1] = (...r) =>
|
|
776
|
+
onClick: e[1] || (e[1] = (...r) => i.generate && i.generate(...r))
|
|
782
777
|
}, null, 512), [
|
|
783
|
-
[
|
|
778
|
+
[y, !(o.showLoading || o.checkStatus || o.genError)]
|
|
784
779
|
])
|
|
785
780
|
]),
|
|
786
|
-
b(a("div",
|
|
781
|
+
b(a("div", Nn, e[7] || (e[7] = [
|
|
787
782
|
a("i", { class: "loading" }, null, -1)
|
|
788
783
|
]), 512), [
|
|
789
|
-
[
|
|
784
|
+
[y, o.showLoading]
|
|
790
785
|
]),
|
|
791
|
-
o.imgSrc ? (
|
|
786
|
+
o.imgSrc ? (u(), d(T, { key: 0 }, [
|
|
792
787
|
a("img", {
|
|
793
788
|
class: "captcha-img",
|
|
794
789
|
src: o.imgSrc
|
|
795
|
-
}, null, 8,
|
|
790
|
+
}, null, 8, Mn),
|
|
796
791
|
a("div", {
|
|
797
792
|
class: "temp-img-box",
|
|
798
|
-
style:
|
|
793
|
+
style: S(`transform: translate(${o.moveWidth}px, 0);`)
|
|
799
794
|
}, [
|
|
800
795
|
a("img", {
|
|
801
796
|
class: "temp-img",
|
|
@@ -803,52 +798,52 @@ function zn(t, e, n, i, o, s) {
|
|
|
803
798
|
}, null, 8, qn)
|
|
804
799
|
], 4)
|
|
805
800
|
], 64)) : v("", !0),
|
|
806
|
-
o.checkStatus ? (
|
|
807
|
-
a("div",
|
|
801
|
+
o.checkStatus ? (u(), d("div", Fn, [
|
|
802
|
+
a("div", On, [
|
|
808
803
|
a("i", {
|
|
809
804
|
class: w(["font-icon", o.checkStatus])
|
|
810
805
|
}, null, 2),
|
|
811
|
-
a("p",
|
|
806
|
+
a("p", Bn, m(o.checkStatus == "success" ? n.textData.checkSuccess || "验证通过" : n.textData.checkFail || "验证失败,请重新尝试"), 1)
|
|
812
807
|
])
|
|
813
808
|
])) : v("", !0),
|
|
814
|
-
o.genError ? (
|
|
809
|
+
o.genError ? (u(), d("div", Un, [
|
|
815
810
|
a("i", {
|
|
816
811
|
class: "font-icon flash",
|
|
817
|
-
onClick: e[2] || (e[2] = (...r) =>
|
|
812
|
+
onClick: e[2] || (e[2] = (...r) => i.generate && i.generate(...r))
|
|
818
813
|
})
|
|
819
814
|
])) : v("", !0)
|
|
820
815
|
]),
|
|
821
|
-
a("div",
|
|
816
|
+
a("div", Xn, [
|
|
822
817
|
e[9] || (e[9] = a("div", { class: "move-shadow" }, null, -1)),
|
|
823
818
|
a("div", {
|
|
824
819
|
class: "move-mask",
|
|
825
|
-
style:
|
|
820
|
+
style: S(`width: ${o.moveWidth}px`)
|
|
826
821
|
}, null, 4),
|
|
827
822
|
a("div", {
|
|
828
823
|
class: "move-btn-box",
|
|
829
|
-
onTouchstart: e[3] || (e[3] = (...r) =>
|
|
830
|
-
onTouchmove: e[4] || (e[4] = (...r) =>
|
|
831
|
-
onTouchend: e[5] || (e[5] = (...r) =>
|
|
832
|
-
onMousedown: e[6] || (e[6] = (...r) =>
|
|
824
|
+
onTouchstart: e[3] || (e[3] = (...r) => i.onStart && i.onStart(...r)),
|
|
825
|
+
onTouchmove: e[4] || (e[4] = (...r) => i.onMove && i.onMove(...r)),
|
|
826
|
+
onTouchend: e[5] || (e[5] = (...r) => i.onEnd && i.onEnd(...r)),
|
|
827
|
+
onMousedown: e[6] || (e[6] = (...r) => i.onStart && i.onStart(...r))
|
|
833
828
|
}, e[8] || (e[8] = [
|
|
834
829
|
a("div", { class: "move-btn" }, [
|
|
835
830
|
a("i", { class: "font-icon right" })
|
|
836
831
|
], -1)
|
|
837
832
|
]), 32),
|
|
838
|
-
a("div",
|
|
839
|
-
a("p",
|
|
833
|
+
a("div", jn, [
|
|
834
|
+
a("p", Wn, m(n.textData.moveText || "向右滑动"), 1)
|
|
840
835
|
])
|
|
841
836
|
])
|
|
842
837
|
])
|
|
843
838
|
], 512)), [
|
|
844
|
-
[
|
|
839
|
+
[y, n.modelValue]
|
|
845
840
|
]);
|
|
846
841
|
}
|
|
847
|
-
const
|
|
842
|
+
const zn = /* @__PURE__ */ En(In, [["render", Kn]]), Hn = {
|
|
848
843
|
name: "paBehaviorCaptcha",
|
|
849
844
|
inject: ["$t", "api"],
|
|
850
845
|
components: {
|
|
851
|
-
BehaviorCaptcha:
|
|
846
|
+
BehaviorCaptcha: zn
|
|
852
847
|
},
|
|
853
848
|
computed: {
|
|
854
849
|
captchaTextData() {
|
|
@@ -872,16 +867,16 @@ const Yn = /* @__PURE__ */ Ln(En, [["render", zn]]), Hn = {
|
|
|
872
867
|
}
|
|
873
868
|
}
|
|
874
869
|
};
|
|
875
|
-
function
|
|
870
|
+
function Yn(t, e, n, s, o, i) {
|
|
876
871
|
const r = f("behavior-captcha");
|
|
877
|
-
return
|
|
878
|
-
textData:
|
|
879
|
-
generateFun:
|
|
880
|
-
checkFun:
|
|
872
|
+
return u(), P(r, x(t.$attrs, {
|
|
873
|
+
textData: i.captchaTextData,
|
|
874
|
+
generateFun: i.generateFun,
|
|
875
|
+
checkFun: i.checkFun
|
|
881
876
|
}), null, 16, ["textData", "generateFun", "checkFun"]);
|
|
882
877
|
}
|
|
883
|
-
const
|
|
884
|
-
var
|
|
878
|
+
const Gn = /* @__PURE__ */ C(Hn, [["render", Yn]]);
|
|
879
|
+
var Jn = { zh: { serviceLang: "zh_CN", mobileReg: "^0[1-9]\\d{8}$" }, vi: { serviceLang: "vi_VN", mobileReg: "^0[1-9]\\d{8}$" }, id: { serviceLang: "id_ID", mobileReg: "^08\\d{8,11}$" } };
|
|
885
880
|
const A = {
|
|
886
881
|
name: "myFormBox",
|
|
887
882
|
inject: ["$t", "api"],
|
|
@@ -889,9 +884,9 @@ const A = {
|
|
|
889
884
|
return { paForm: this };
|
|
890
885
|
},
|
|
891
886
|
components: {
|
|
892
|
-
acountFormItem:
|
|
893
|
-
acountCheckbox:
|
|
894
|
-
acountBehaviorCaptcha:
|
|
887
|
+
acountFormItem: yn,
|
|
888
|
+
acountCheckbox: Ln,
|
|
889
|
+
acountBehaviorCaptcha: Gn
|
|
895
890
|
},
|
|
896
891
|
data() {
|
|
897
892
|
return {
|
|
@@ -902,12 +897,12 @@ const A = {
|
|
|
902
897
|
computed: {
|
|
903
898
|
// 验证规则
|
|
904
899
|
formRule() {
|
|
905
|
-
const t = /^[a-zA-Z][a-zA-Z0-9]{7,15}$/, e = /^[a-zA-Z0-9]{8,16}$/, n = new RegExp(
|
|
900
|
+
const t = /^[a-zA-Z][a-zA-Z0-9]{7,15}$/, e = /^[a-zA-Z0-9]{8,16}$/, n = new RegExp(Jn[this.region].mobileReg), { $t: s, isLogin: o } = this;
|
|
906
901
|
return {
|
|
907
|
-
loginName: (
|
|
908
|
-
password: (
|
|
909
|
-
cfmPassword: (
|
|
910
|
-
inviteCodeTop: (
|
|
902
|
+
loginName: (i) => t.test(i) || o && n.test(i) ? "" : s(o ? "loginNameEr" : "userEr"),
|
|
903
|
+
password: (i) => e.test(i) ? "" : s("pwdEr"),
|
|
904
|
+
cfmPassword: (i) => e.test(i) && i == this.formData.password ? "" : s("confirmPwdEr"),
|
|
905
|
+
inviteCodeTop: (i) => this._inviteCodeRequired ? i ? "" : s("inviteCodePh") : ""
|
|
911
906
|
};
|
|
912
907
|
}
|
|
913
908
|
},
|
|
@@ -919,8 +914,8 @@ const A = {
|
|
|
919
914
|
validateAll() {
|
|
920
915
|
const { childrens: t } = this;
|
|
921
916
|
return t.reduce((e, n) => {
|
|
922
|
-
const
|
|
923
|
-
return e &&
|
|
917
|
+
const s = n.validate();
|
|
918
|
+
return e && s;
|
|
924
919
|
}, !0);
|
|
925
920
|
},
|
|
926
921
|
/*提交按钮点击处理*/
|
|
@@ -932,16 +927,16 @@ const A = {
|
|
|
932
927
|
return this.api.getPublicKey().then((e) => {
|
|
933
928
|
if (!e)
|
|
934
929
|
return Promise.reject();
|
|
935
|
-
const n = new
|
|
930
|
+
const n = new q();
|
|
936
931
|
n.setPublicKey(e);
|
|
937
|
-
const
|
|
938
|
-
for (let r in
|
|
939
|
-
|
|
940
|
-
return
|
|
932
|
+
const s = Object.assign({}, t), o = /^loginname$/i, i = /password|phone/i;
|
|
933
|
+
for (let r in s)
|
|
934
|
+
s.hasOwnProperty(r) && (o.test(r) ? s[r] = n.encrypt(s[r].toLowerCase()) : i.test(r) && (s[r] = n.encrypt(s[r])));
|
|
935
|
+
return s;
|
|
941
936
|
});
|
|
942
937
|
}
|
|
943
938
|
}
|
|
944
|
-
},
|
|
939
|
+
}, Zn = {
|
|
945
940
|
mixins: [A],
|
|
946
941
|
emits: ["forgetPwd", "toggleLinkClick", "loginSuccess"],
|
|
947
942
|
props: {
|
|
@@ -968,40 +963,40 @@ const A = {
|
|
|
968
963
|
submit({ id: t }) {
|
|
969
964
|
const e = Object.assign({ captchaId: t }, this.formData);
|
|
970
965
|
this.getEncryptionData(e).then((n) => {
|
|
971
|
-
n.account = n.loginName, delete n.loginName, this.api.login(n).then((
|
|
972
|
-
this.remember ? uni.setStorageSync("remember_username", this.formData.loginName) : uni.removeStorageSync("remember_username"), this.$emit("loginSuccess",
|
|
973
|
-
}).catch((
|
|
966
|
+
n.account = n.loginName, delete n.loginName, this.api.login(n).then((s) => {
|
|
967
|
+
this.remember ? uni.setStorageSync("remember_username", this.formData.loginName) : uni.removeStorageSync("remember_username"), this.$emit("loginSuccess", s);
|
|
968
|
+
}).catch((s) => {
|
|
974
969
|
this.formData.password = "";
|
|
975
970
|
});
|
|
976
971
|
}).catch((n) => {
|
|
977
972
|
});
|
|
978
973
|
}
|
|
979
974
|
}
|
|
980
|
-
},
|
|
975
|
+
}, Qn = { class: "pa-form" }, eo = /* @__PURE__ */ a("input", {
|
|
981
976
|
type: "password",
|
|
982
977
|
autocomplete: "off",
|
|
983
978
|
class: "pa-hidden-input"
|
|
984
|
-
}, null, -1),
|
|
979
|
+
}, null, -1), to = /* @__PURE__ */ a("input", {
|
|
985
980
|
type: "text",
|
|
986
981
|
autocomplete: "off",
|
|
987
982
|
class: "pa-hidden-input"
|
|
988
|
-
}, null, -1),
|
|
983
|
+
}, null, -1), no = { class: "pa-form-footer-actions" }, oo = {
|
|
989
984
|
key: 0,
|
|
990
985
|
class: "pa-toggle-link"
|
|
991
986
|
};
|
|
992
|
-
function io(t, e, n,
|
|
993
|
-
const r = f("acount-form-item"),
|
|
994
|
-
return
|
|
987
|
+
function io(t, e, n, s, o, i) {
|
|
988
|
+
const r = f("acount-form-item"), h = f("acount-checkbox"), g = f("acount-behavior-captcha");
|
|
989
|
+
return u(), d("div", Qn, [
|
|
990
|
+
eo,
|
|
995
991
|
to,
|
|
996
|
-
|
|
997
|
-
g(r, {
|
|
992
|
+
p(r, {
|
|
998
993
|
modelValue: o.formData.loginName,
|
|
999
994
|
"onUpdate:modelValue": e[0] || (e[0] = (c) => o.formData.loginName = c),
|
|
1000
995
|
rule: t.formRule.loginName,
|
|
1001
996
|
placeholder: t.$t("loginNamePh"),
|
|
1002
997
|
prefixIcon: "icon-user"
|
|
1003
998
|
}, null, 8, ["modelValue", "rule", "placeholder"]),
|
|
1004
|
-
|
|
999
|
+
p(r, {
|
|
1005
1000
|
modelValue: o.formData.password,
|
|
1006
1001
|
"onUpdate:modelValue": e[1] || (e[1] = (c) => o.formData.password = c),
|
|
1007
1002
|
rule: t.formRule.password,
|
|
@@ -1009,40 +1004,40 @@ function io(t, e, n, i, o, s) {
|
|
|
1009
1004
|
prefixIcon: "icon-password",
|
|
1010
1005
|
type: "password"
|
|
1011
1006
|
}, null, 8, ["modelValue", "rule", "placeholder"]),
|
|
1012
|
-
a("div",
|
|
1013
|
-
|
|
1007
|
+
a("div", no, [
|
|
1008
|
+
p(h, {
|
|
1014
1009
|
class: "pa-remeber-me",
|
|
1015
1010
|
modelValue: o.remember,
|
|
1016
1011
|
"onUpdate:modelValue": e[2] || (e[2] = (c) => o.remember = c)
|
|
1017
1012
|
}, {
|
|
1018
|
-
default:
|
|
1019
|
-
N(
|
|
1013
|
+
default: _(() => [
|
|
1014
|
+
N(m(t.$t("remember")), 1)
|
|
1020
1015
|
]),
|
|
1021
1016
|
_: 1
|
|
1022
1017
|
}, 8, ["modelValue"]),
|
|
1023
1018
|
a("div", {
|
|
1024
1019
|
class: "pa-forget-pwd",
|
|
1025
1020
|
onClick: e[3] || (e[3] = (c) => t.$emit("forgetPwd"))
|
|
1026
|
-
},
|
|
1021
|
+
}, m(t.$t("forgetPwd")), 1)
|
|
1027
1022
|
]),
|
|
1028
1023
|
a("div", {
|
|
1029
1024
|
class: "pa-form-btn",
|
|
1030
1025
|
onClick: e[4] || (e[4] = (...c) => t.submitHandler && t.submitHandler(...c))
|
|
1031
|
-
},
|
|
1032
|
-
n.showToggleLink ? (
|
|
1026
|
+
}, m(t.$t("login")), 1),
|
|
1027
|
+
n.showToggleLink ? (u(), d("div", oo, [
|
|
1033
1028
|
a("p", {
|
|
1034
1029
|
class: "pa-text-btn",
|
|
1035
1030
|
onClick: e[5] || (e[5] = (c) => t.$emit("toggleLinkClick"))
|
|
1036
|
-
},
|
|
1031
|
+
}, m(t.$t("toRegister")), 1)
|
|
1037
1032
|
])) : v("", !0),
|
|
1038
|
-
g
|
|
1033
|
+
p(g, {
|
|
1039
1034
|
modelValue: t.showCaptcha,
|
|
1040
1035
|
"onUpdate:modelValue": e[6] || (e[6] = (c) => t.showCaptcha = c),
|
|
1041
|
-
onSuccess:
|
|
1036
|
+
onSuccess: i.submit
|
|
1042
1037
|
}, null, 8, ["modelValue", "onSuccess"])
|
|
1043
1038
|
]);
|
|
1044
1039
|
}
|
|
1045
|
-
const
|
|
1040
|
+
const so = /* @__PURE__ */ C(Zn, [["render", io]]), ao = {
|
|
1046
1041
|
mixins: [A],
|
|
1047
1042
|
emits: ["toggleLinkClick", "pact", "registerSuccess"],
|
|
1048
1043
|
props: {
|
|
@@ -1113,44 +1108,44 @@ const ao = /* @__PURE__ */ C(Qn, [["render", io]]), ro = {
|
|
|
1113
1108
|
submit({ id: t }) {
|
|
1114
1109
|
const e = Object.assign({ captchaId: t }, this.formData);
|
|
1115
1110
|
this.getEncryptionData(e).then((n) => {
|
|
1116
|
-
!this._inviteCodeRequired && this.serviceInviteCode && !n.inviteCodeTop && (n.inviteCodeTop = this.serviceInviteCode), this.api.register(n).then((
|
|
1117
|
-
this.$emit("registerSuccess",
|
|
1118
|
-
}).catch((
|
|
1111
|
+
!this._inviteCodeRequired && this.serviceInviteCode && !n.inviteCodeTop && (n.inviteCodeTop = this.serviceInviteCode), this.api.register(n).then((s) => {
|
|
1112
|
+
this.$emit("registerSuccess", s);
|
|
1113
|
+
}).catch((s) => {
|
|
1119
1114
|
});
|
|
1120
1115
|
}).catch((n) => {
|
|
1121
1116
|
});
|
|
1122
1117
|
}
|
|
1123
1118
|
}
|
|
1124
|
-
},
|
|
1119
|
+
}, ro = { class: "pa-form" }, co = /* @__PURE__ */ a("input", {
|
|
1125
1120
|
type: "password",
|
|
1126
1121
|
autocomplete: "off",
|
|
1127
1122
|
class: "pa-hidden-input"
|
|
1128
|
-
}, null, -1),
|
|
1123
|
+
}, null, -1), lo = /* @__PURE__ */ a("input", {
|
|
1129
1124
|
type: "text",
|
|
1130
1125
|
autocomplete: "off",
|
|
1131
1126
|
class: "pa-hidden-input"
|
|
1132
|
-
}, null, -1),
|
|
1127
|
+
}, null, -1), uo = { class: "pa-form-footer-actions" }, ho = {
|
|
1133
1128
|
key: 0,
|
|
1134
1129
|
class: "pa-toggle-link"
|
|
1135
|
-
},
|
|
1130
|
+
}, mo = {
|
|
1136
1131
|
key: 1,
|
|
1137
1132
|
class: "pa-pact-popup"
|
|
1138
|
-
},
|
|
1139
|
-
|
|
1140
|
-
],
|
|
1141
|
-
function
|
|
1142
|
-
const r = f("acount-form-item"),
|
|
1143
|
-
return
|
|
1133
|
+
}, go = { class: "pa-pact-popup-head" }, po = /* @__PURE__ */ a("i", { class: "iconfont icon-back" }, null, -1), fo = [
|
|
1134
|
+
po
|
|
1135
|
+
], vo = { class: "pa-pact-popup-title" }, ko = ["src"];
|
|
1136
|
+
function wo(t, e, n, s, o, i) {
|
|
1137
|
+
const r = f("acount-form-item"), h = f("acount-checkbox"), g = f("acount-behavior-captcha");
|
|
1138
|
+
return u(), d("div", ro, [
|
|
1139
|
+
co,
|
|
1144
1140
|
lo,
|
|
1145
|
-
|
|
1146
|
-
g(r, {
|
|
1141
|
+
p(r, {
|
|
1147
1142
|
modelValue: o.formData.loginName,
|
|
1148
1143
|
"onUpdate:modelValue": e[0] || (e[0] = (c) => o.formData.loginName = c),
|
|
1149
1144
|
rule: t.formRule.loginName,
|
|
1150
1145
|
placeholder: t.$t("userPh"),
|
|
1151
1146
|
prefixIcon: "icon-user"
|
|
1152
1147
|
}, null, 8, ["modelValue", "rule", "placeholder"]),
|
|
1153
|
-
|
|
1148
|
+
p(r, {
|
|
1154
1149
|
modelValue: o.formData.password,
|
|
1155
1150
|
"onUpdate:modelValue": e[1] || (e[1] = (c) => o.formData.password = c),
|
|
1156
1151
|
rule: t.formRule.password,
|
|
@@ -1158,7 +1153,7 @@ function Co(t, e, n, i, o, s) {
|
|
|
1158
1153
|
prefixIcon: "icon-password",
|
|
1159
1154
|
type: "password"
|
|
1160
1155
|
}, null, 8, ["modelValue", "rule", "placeholder"]),
|
|
1161
|
-
|
|
1156
|
+
p(r, {
|
|
1162
1157
|
modelValue: o.formData.cfmPassword,
|
|
1163
1158
|
"onUpdate:modelValue": e[2] || (e[2] = (c) => o.formData.cfmPassword = c),
|
|
1164
1159
|
rule: t.formRule.cfmPassword,
|
|
@@ -1166,27 +1161,27 @@ function Co(t, e, n, i, o, s) {
|
|
|
1166
1161
|
prefixIcon: "icon-password",
|
|
1167
1162
|
type: "password"
|
|
1168
1163
|
}, null, 8, ["modelValue", "rule", "placeholder"]),
|
|
1169
|
-
|
|
1164
|
+
p(r, {
|
|
1170
1165
|
modelValue: o.formData.inviteCodeTop,
|
|
1171
1166
|
"onUpdate:modelValue": e[3] || (e[3] = (c) => o.formData.inviteCodeTop = c),
|
|
1172
1167
|
rule: t.formRule.inviteCodeTop,
|
|
1173
|
-
placeholder:
|
|
1168
|
+
placeholder: i.inviteCodePh,
|
|
1174
1169
|
disabled: !!n.inviteCode,
|
|
1175
1170
|
prefixIcon: "icon-invite"
|
|
1176
1171
|
}, null, 8, ["modelValue", "rule", "placeholder", "disabled"]),
|
|
1177
|
-
a("div",
|
|
1178
|
-
|
|
1172
|
+
a("div", uo, [
|
|
1173
|
+
p(h, {
|
|
1179
1174
|
class: "pa-remeber-me",
|
|
1180
1175
|
modelValue: o.agreePact,
|
|
1181
1176
|
"onUpdate:modelValue": e[5] || (e[5] = (c) => o.agreePact = c)
|
|
1182
1177
|
}, {
|
|
1183
|
-
default:
|
|
1178
|
+
default: _(() => [
|
|
1184
1179
|
a("div", null, [
|
|
1185
|
-
a("span", null,
|
|
1180
|
+
a("span", null, m(t.$t("pact1")), 1),
|
|
1186
1181
|
a("span", {
|
|
1187
1182
|
class: "pa-underline-text",
|
|
1188
|
-
onClick: e[4] || (e[4] = M((...c) =>
|
|
1189
|
-
},
|
|
1183
|
+
onClick: e[4] || (e[4] = M((...c) => i.readPact && i.readPact(...c), ["stop"]))
|
|
1184
|
+
}, m(t.$t("pact2")), 1)
|
|
1190
1185
|
])
|
|
1191
1186
|
]),
|
|
1192
1187
|
_: 1
|
|
@@ -1195,47 +1190,47 @@ function Co(t, e, n, i, o, s) {
|
|
|
1195
1190
|
a("div", {
|
|
1196
1191
|
class: w(["pa-form-btn", { disabled: !o.agreePact }]),
|
|
1197
1192
|
onClick: e[6] || (e[6] = (c) => t.submitHandler(o.agreePact))
|
|
1198
|
-
},
|
|
1199
|
-
n.showToggleLink ? (
|
|
1200
|
-
a("span", null,
|
|
1193
|
+
}, m(t.$t("register")), 3),
|
|
1194
|
+
n.showToggleLink ? (u(), d("div", ho, [
|
|
1195
|
+
a("span", null, m(t.$t("hasUserName")), 1),
|
|
1201
1196
|
a("span", {
|
|
1202
1197
|
class: "pa-text-btn",
|
|
1203
1198
|
onClick: e[7] || (e[7] = (c) => t.$emit("toggleLinkClick"))
|
|
1204
|
-
},
|
|
1199
|
+
}, m(t.$t("goLogin")), 1)
|
|
1205
1200
|
])) : v("", !0),
|
|
1206
|
-
g
|
|
1201
|
+
p(g, {
|
|
1207
1202
|
modelValue: t.showCaptcha,
|
|
1208
1203
|
"onUpdate:modelValue": e[8] || (e[8] = (c) => t.showCaptcha = c),
|
|
1209
|
-
onSuccess:
|
|
1204
|
+
onSuccess: i.submit
|
|
1210
1205
|
}, null, 8, ["modelValue", "onSuccess"]),
|
|
1211
|
-
n.insideShowPact && o.showPactPopup &&
|
|
1212
|
-
a("div",
|
|
1206
|
+
n.insideShowPact && o.showPactPopup && i.pactSrc ? (u(), d("div", mo, [
|
|
1207
|
+
a("div", go, [
|
|
1213
1208
|
a("div", {
|
|
1214
1209
|
class: "pa-back-button",
|
|
1215
1210
|
onClick: e[9] || (e[9] = (c) => o.showPactPopup = !1)
|
|
1216
|
-
},
|
|
1217
|
-
a("p",
|
|
1211
|
+
}, fo),
|
|
1212
|
+
a("p", vo, m(t.$t("pactTitle")), 1)
|
|
1218
1213
|
]),
|
|
1219
1214
|
a("iframe", {
|
|
1220
1215
|
class: "pa-pact-iframe",
|
|
1221
|
-
src:
|
|
1222
|
-
}, null, 8,
|
|
1216
|
+
src: i.pactSrc
|
|
1217
|
+
}, null, 8, ko)
|
|
1223
1218
|
])) : v("", !0)
|
|
1224
1219
|
]);
|
|
1225
1220
|
}
|
|
1226
|
-
const
|
|
1221
|
+
const Co = /* @__PURE__ */ C(ao, [["render", wo]]), $ = Yt(), I = new X(), Po = {
|
|
1227
1222
|
name: "P500Acount",
|
|
1228
1223
|
emits: ["back", "pact", "bannerClick", "forgetPwd", "toggleLinkClick", "loginSuccess", "registerSuccess"],
|
|
1229
1224
|
components: {
|
|
1230
|
-
acountBanner:
|
|
1231
|
-
acountDialog:
|
|
1232
|
-
acountLoginForm:
|
|
1233
|
-
acountRegisterForm:
|
|
1225
|
+
acountBanner: sn,
|
|
1226
|
+
acountDialog: vn,
|
|
1227
|
+
acountLoginForm: so,
|
|
1228
|
+
acountRegisterForm: Co
|
|
1234
1229
|
},
|
|
1235
1230
|
provide() {
|
|
1236
1231
|
return {
|
|
1237
1232
|
$t: $.global.t,
|
|
1238
|
-
api:
|
|
1233
|
+
api: I
|
|
1239
1234
|
};
|
|
1240
1235
|
},
|
|
1241
1236
|
props: {
|
|
@@ -1283,7 +1278,7 @@ const bo = /* @__PURE__ */ C(ro, [["render", Co]]), $ = Ht(), L = new X(), Po =
|
|
|
1283
1278
|
created() {
|
|
1284
1279
|
$.global.locale = this.region;
|
|
1285
1280
|
const { showLoading: t, hideLoading: e, showMessage: n } = this;
|
|
1286
|
-
|
|
1281
|
+
I.setOptions(this.region, this.apiDomain, this.devicePlatform, { showLoading: t, hideLoading: e, showMessage: n });
|
|
1287
1282
|
},
|
|
1288
1283
|
data() {
|
|
1289
1284
|
return {
|
|
@@ -1311,65 +1306,84 @@ const bo = /* @__PURE__ */ C(ro, [["render", Co]]), $ = Ht(), L = new X(), Po =
|
|
|
1311
1306
|
this.dialogType = 1, this.dialogCount++, this.dialogMsg = t;
|
|
1312
1307
|
}
|
|
1313
1308
|
}
|
|
1314
|
-
},
|
|
1309
|
+
}, bo = { class: "pa-acount" }, yo = {
|
|
1315
1310
|
key: 0,
|
|
1316
1311
|
class: "pa-acount-page"
|
|
1317
1312
|
}, So = /* @__PURE__ */ a("i", { class: "iconfont icon-back" }, null, -1), To = [
|
|
1318
1313
|
So
|
|
1319
|
-
],
|
|
1320
|
-
function
|
|
1321
|
-
const r = f("acount-banner"),
|
|
1322
|
-
return
|
|
1323
|
-
n.page ? (
|
|
1324
|
-
n.showBackBtn ? (
|
|
1314
|
+
], $o = { class: "pa-logo-box" }, Lo = { class: "pa-pageform" }, Eo = { class: "pa-page-title" };
|
|
1315
|
+
function Io(t, e, n, s, o, i) {
|
|
1316
|
+
const r = f("acount-banner"), h = f("acount-login-form"), g = f("acount-register-form"), c = f("acount-dialog");
|
|
1317
|
+
return u(), d("div", bo, [
|
|
1318
|
+
n.page ? (u(), d("div", yo, [
|
|
1319
|
+
n.showBackBtn ? (u(), d("div", {
|
|
1325
1320
|
key: 0,
|
|
1326
1321
|
class: "pa-back-button",
|
|
1327
|
-
onClick: e[0] || (e[0] = (
|
|
1322
|
+
onClick: e[0] || (e[0] = (l) => t.$emit("back"))
|
|
1328
1323
|
}, To)) : v("", !0),
|
|
1329
|
-
a("div",
|
|
1324
|
+
a("div", $o, [
|
|
1330
1325
|
a("i", {
|
|
1331
1326
|
class: w(["pa-logo", n.region + "_logo"])
|
|
1332
1327
|
}, null, 2)
|
|
1333
1328
|
]),
|
|
1334
|
-
|
|
1335
|
-
onBannerClick: e[1] || (e[1] = (
|
|
1329
|
+
p(r, {
|
|
1330
|
+
onBannerClick: e[1] || (e[1] = (l) => t.$emit("bannerClick", l))
|
|
1336
1331
|
}),
|
|
1337
|
-
a("div",
|
|
1338
|
-
a("div",
|
|
1339
|
-
n.type == "login" ? (
|
|
1332
|
+
a("div", Lo, [
|
|
1333
|
+
a("div", Eo, m(o.pageTitle), 1),
|
|
1334
|
+
n.type == "login" ? (u(), P(h, {
|
|
1340
1335
|
key: 0,
|
|
1341
1336
|
showToggleLink: n.showToggleLink,
|
|
1342
1337
|
region: n.region,
|
|
1343
|
-
onForgetPwd: e[2] || (e[2] = (
|
|
1344
|
-
onToggleLinkClick: e[3] || (e[3] = (
|
|
1345
|
-
onLoginSuccess: e[4] || (e[4] = (
|
|
1346
|
-
}, null, 8, ["showToggleLink", "region"])) : n.type == "register" ? (
|
|
1338
|
+
onForgetPwd: e[2] || (e[2] = (l) => t.$emit("forgetPwd", l)),
|
|
1339
|
+
onToggleLinkClick: e[3] || (e[3] = (l) => t.$emit("toggleLinkClick", l)),
|
|
1340
|
+
onLoginSuccess: e[4] || (e[4] = (l) => t.$emit("loginSuccess", l))
|
|
1341
|
+
}, null, 8, ["showToggleLink", "region"])) : n.type == "register" ? (u(), P(g, {
|
|
1347
1342
|
key: 1,
|
|
1348
1343
|
region: n.region,
|
|
1349
1344
|
inviteCode: n.inviteCode,
|
|
1350
1345
|
inviteCodeRequired: n.inviteCodeRequired,
|
|
1351
1346
|
showToggleLink: n.showToggleLink,
|
|
1352
1347
|
insideShowPact: n.insideShowPact,
|
|
1353
|
-
onToggleLinkClick: e[5] || (e[5] = (
|
|
1354
|
-
onPact: e[6] || (e[6] = (
|
|
1355
|
-
onRegisterSuccess: e[7] || (e[7] = (
|
|
1348
|
+
onToggleLinkClick: e[5] || (e[5] = (l) => t.$emit("toggleLinkClick", l)),
|
|
1349
|
+
onPact: e[6] || (e[6] = (l) => t.$emit("pact", l)),
|
|
1350
|
+
onRegisterSuccess: e[7] || (e[7] = (l) => t.$emit("registerSuccess", l))
|
|
1356
1351
|
}, null, 8, ["region", "inviteCode", "inviteCodeRequired", "showToggleLink", "insideShowPact"])) : v("", !0)
|
|
1357
1352
|
])
|
|
1358
|
-
])) :
|
|
1359
|
-
|
|
1353
|
+
])) : (u(), d(T, { key: 1 }, [
|
|
1354
|
+
n.type == "login" ? (u(), P(h, {
|
|
1355
|
+
key: 0,
|
|
1356
|
+
showToggleLink: n.showToggleLink,
|
|
1357
|
+
region: n.region,
|
|
1358
|
+
onForgetPwd: e[8] || (e[8] = (l) => t.$emit("forgetPwd", l)),
|
|
1359
|
+
onToggleLinkClick: e[9] || (e[9] = (l) => t.$emit("toggleLinkClick", l)),
|
|
1360
|
+
onLoginSuccess: e[10] || (e[10] = (l) => t.$emit("loginSuccess", l))
|
|
1361
|
+
}, null, 8, ["showToggleLink", "region"])) : n.type == "register" ? (u(), P(g, {
|
|
1362
|
+
key: 1,
|
|
1363
|
+
region: n.region,
|
|
1364
|
+
inviteCode: n.inviteCode,
|
|
1365
|
+
inviteCodeRequired: n.inviteCodeRequired,
|
|
1366
|
+
showToggleLink: n.showToggleLink,
|
|
1367
|
+
insideShowPact: n.insideShowPact,
|
|
1368
|
+
onToggleLinkClick: e[11] || (e[11] = (l) => t.$emit("toggleLinkClick", l)),
|
|
1369
|
+
onPact: e[12] || (e[12] = (l) => t.$emit("pact", l)),
|
|
1370
|
+
onRegisterSuccess: e[13] || (e[13] = (l) => t.$emit("registerSuccess", l))
|
|
1371
|
+
}, null, 8, ["region", "inviteCode", "inviteCodeRequired", "showToggleLink", "insideShowPact"])) : v("", !0)
|
|
1372
|
+
], 64)),
|
|
1373
|
+
p(c, {
|
|
1360
1374
|
modelValue: o.dialogCount,
|
|
1361
|
-
"onUpdate:modelValue": e[
|
|
1375
|
+
"onUpdate:modelValue": e[14] || (e[14] = (l) => o.dialogCount = l),
|
|
1362
1376
|
type: o.dialogType,
|
|
1363
1377
|
message: o.dialogMsg
|
|
1364
1378
|
}, null, 8, ["modelValue", "type", "message"])
|
|
1365
1379
|
]);
|
|
1366
1380
|
}
|
|
1367
|
-
const
|
|
1381
|
+
const V = /* @__PURE__ */ C(Po, [["render", Io]]), Ro = {
|
|
1368
1382
|
install: (t) => {
|
|
1369
|
-
t.component(
|
|
1383
|
+
t.component(V.name, V);
|
|
1370
1384
|
}
|
|
1371
1385
|
};
|
|
1372
1386
|
export {
|
|
1373
|
-
|
|
1374
|
-
|
|
1387
|
+
V as P500Acount,
|
|
1388
|
+
Ro as default
|
|
1375
1389
|
};
|