lazy-bee 1.1.0 → 2.0.0
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/dist/index.esm.js +1276 -0
- package/dist/style.css +1 -0
- package/dist/types/adapters/index.d.ts +2 -0
- package/dist/types/adapters/login-modal.d.ts +15 -0
- package/dist/types/adapters/payment-modal.d.ts +30 -0
- package/dist/types/api.d.ts +1 -0
- package/dist/types/components/LoginModal.vue.d.ts +16 -0
- package/dist/types/components/PayModal.vue.d.ts +26 -0
- package/dist/types/components/addScript.d.ts +2 -0
- package/dist/types/components/converToken.d.ts +1 -0
- package/dist/types/components/debug.d.ts +3 -0
- package/dist/types/components/share.d.ts +6 -0
- package/dist/types/components/trackEvent.d.ts +4 -0
- package/dist/types/core/useLogin.d.ts +22 -0
- package/dist/types/core/useOrderQuery.d.ts +36 -0
- package/dist/types/core/usePayment.d.ts +24 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/utils/crypto.d.ts +12 -0
- package/package.json +45 -7
- package/.github/workflows/npm-publish-github-packages.yml +0 -40
- package/index.d.ts +0 -200
- package/index.js +0 -1
- package/src/_virtual/_plugin-vue_export-helper.js +0 -8
- package/src/components/Login/Login.vue.js +0 -37
- package/src/components/Login/LoginModal.js +0 -20
- package/src/components/Login/LoginModal.vue.js +0 -22
- package/src/components/Login/LoginPage.js +0 -7
- package/src/components/Login/LoginPage.vue.js +0 -8
- package/src/components/PayModal/PayModal.vue.js +0 -41
- package/src/components/PayModal/index.js +0 -20
- package/src/components/Turntable/Turntable.vue.js +0 -60
- package/src/components/Turntable/index.js +0 -7
- package/src/components/addScript.js +0 -30
- package/src/components/converToken.js +0 -54
- package/src/components/debug.js +0 -7
- package/src/components/share.js +0 -14
- package/src/components/trackEvent.js +0 -27
- package/src/index.js +0 -18
- package/src/style.css +0 -1
package/index.d.ts
DELETED
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
interface UrlToken {
|
|
2
|
-
/**
|
|
3
|
-
* name - 名称, 可选, 默认 'token'
|
|
4
|
-
*/
|
|
5
|
-
name?: string
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* position - 位置, 可选, 默认 'all'
|
|
9
|
-
*/
|
|
10
|
-
position?: 'search' | 'hash' | 'all'
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* type - 类型, 可选, 默认 'cq'
|
|
14
|
-
*/
|
|
15
|
-
type?: 'cq' | 'jt'
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface MyToken {
|
|
19
|
-
/**
|
|
20
|
-
* name - 名称, 可选, 默认 'mytoken'
|
|
21
|
-
*/
|
|
22
|
-
name?: string
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* position - 位置, 可选, 默认 'all'
|
|
26
|
-
*/
|
|
27
|
-
position?: 'search' | 'hash' | 'all'
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface AppToken {
|
|
31
|
-
/**
|
|
32
|
-
* sourceId - 6位数字
|
|
33
|
-
*/
|
|
34
|
-
sourceId: string
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
interface SessToken {
|
|
38
|
-
/**
|
|
39
|
-
* name - 名称, 可选, 默认 'token'
|
|
40
|
-
*/
|
|
41
|
-
name?: string
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* position - 位置, 可选, 默认 'session'
|
|
45
|
-
*/
|
|
46
|
-
position?: 'session' | 'local'
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
interface McToken {
|
|
50
|
-
/**
|
|
51
|
-
* name - 名称, 可选, 默认 'mctoken'
|
|
52
|
-
*/
|
|
53
|
-
name?: 'mctoken'
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* position - 位置, 可选, 默认 'all'
|
|
57
|
-
*/
|
|
58
|
-
position?: 'search' | 'hash' | 'all'
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
interface ConverTokenOptions {
|
|
62
|
-
/**
|
|
63
|
-
* urlToken - url中的token, 可选
|
|
64
|
-
*/
|
|
65
|
-
urlToken?: UrlToken
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* myToken - 商城1.0的token, 可选
|
|
69
|
-
*/
|
|
70
|
-
myToken?: MyToken
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* myToken - 集团app的token, 可选
|
|
74
|
-
*/
|
|
75
|
-
appToken?: AppToken
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* sessToken - 本地存储的token, 可选
|
|
79
|
-
*/
|
|
80
|
-
sessToken?: SessToken
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* mcToken - 商城2.0的token, 可选
|
|
84
|
-
*/
|
|
85
|
-
mcToken?: MyToken
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* mcToken - 本地存储的token
|
|
89
|
-
*/
|
|
90
|
-
host: string
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export declare function converToken(
|
|
94
|
-
options: ConverTokenOptions
|
|
95
|
-
): Promise<{
|
|
96
|
-
token: string
|
|
97
|
-
from: string
|
|
98
|
-
}>
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
interface LoginModalOptions {
|
|
102
|
-
/**
|
|
103
|
-
* auto - 自动调用接口, 默认false
|
|
104
|
-
*/
|
|
105
|
-
auto?: boolean
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* host - 接口host
|
|
109
|
-
*/
|
|
110
|
-
host?: '/jt-market-rev-h5pre31',
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* aesKey - aes加密key
|
|
114
|
-
*/
|
|
115
|
-
aesKey?: 'yhcqbendiqruanyi'
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* sendSMS - 发送验证码回调
|
|
119
|
-
*/
|
|
120
|
-
sendSMS?: (
|
|
121
|
-
params: {
|
|
122
|
-
/**
|
|
123
|
-
* mobile - 输入的手机号
|
|
124
|
-
*/
|
|
125
|
-
mobile: string
|
|
126
|
-
},
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* countdown -倒计时方法
|
|
130
|
-
*/
|
|
131
|
-
countdown: () => void
|
|
132
|
-
) => void
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* login - 登录回调
|
|
136
|
-
*/
|
|
137
|
-
login?: (
|
|
138
|
-
params: {
|
|
139
|
-
/**
|
|
140
|
-
* mobile - 输入的手机号
|
|
141
|
-
*/
|
|
142
|
-
mobile: string
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* sms - 输入的验证码
|
|
146
|
-
*/
|
|
147
|
-
sms: string
|
|
148
|
-
},
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* close -关闭弹窗方法
|
|
152
|
-
*/
|
|
153
|
-
close: () => void
|
|
154
|
-
) => void
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
declare function showLoginModal(options: LoginModalOptions): Promise<{
|
|
158
|
-
/**
|
|
159
|
-
* token - 登录成功后的token
|
|
160
|
-
*/
|
|
161
|
-
token: string
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* close -关闭弹窗方法
|
|
165
|
-
*/
|
|
166
|
-
close: () => void
|
|
167
|
-
}>
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
declare const LoginPage: {
|
|
171
|
-
install(app: any): void
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
declare const Turntable: {
|
|
175
|
-
install(app: any): void
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
declare function share(options: {
|
|
180
|
-
/**
|
|
181
|
-
* title - 分享标题
|
|
182
|
-
*/
|
|
183
|
-
title: string
|
|
184
|
-
/**
|
|
185
|
-
* content - 分享内容
|
|
186
|
-
*/
|
|
187
|
-
content: string
|
|
188
|
-
/**
|
|
189
|
-
* link - 分享链接
|
|
190
|
-
*/
|
|
191
|
-
link: string
|
|
192
|
-
/**
|
|
193
|
-
* imgUrl - 分享小图
|
|
194
|
-
*/
|
|
195
|
-
imgUrl: string
|
|
196
|
-
}): void
|
|
197
|
-
|
|
198
|
-
// declare const Debug: {
|
|
199
|
-
// install(): void
|
|
200
|
-
// }
|
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src'
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ref as c, openBlock as m, createElementBlock as g, createElementVNode as t, withDirectives as _, vModelText as h, toDisplayString as x } from "vue";
|
|
2
|
-
import { Get as S } from "lazy-koala";
|
|
3
|
-
import { AES as b, showToast as n, CountDown as q, izMobile as L, izSMS as U } from "lazy-koala/leaf";
|
|
4
|
-
const w = { class: "login__content" }, z = { class: "login__mobile" }, C = { class: "login__sms" }, D = { key: 0, class: "login__sms-countdown" }, B = { __name: "Login", props: ["close", "auto", "host", "aesKey"], emits: ["onSend", "onLogin", "onSuccess"], setup(f, { emit: y }) {
|
|
5
|
-
const l = f, a = y, e = c(""), o = c(""), u = c(!1), r = c(59), d = () => {
|
|
6
|
-
u.value || (u.value = !0, q({ timer: 59, onTick(i) {
|
|
7
|
-
r.value = i;
|
|
8
|
-
} }).then(() => {
|
|
9
|
-
r.value = 59;
|
|
10
|
-
}));
|
|
11
|
-
}, p = () => {
|
|
12
|
-
if (e.value) {
|
|
13
|
-
if (L(e.value)) return !0;
|
|
14
|
-
n("请输入正确的手机号");
|
|
15
|
-
} else n("请输入手机号");
|
|
16
|
-
};
|
|
17
|
-
function M() {
|
|
18
|
-
l.auto ? u.value || p() && S(`${l.host}/api/user/sendSmsUseSingleSignOn`, { encryptMobile: b(e.value, "yhcqbendiqruanyi", "hex") }, { failMsg: !0, loading: !0, errMsg: !0 }).then(() => {
|
|
19
|
-
d(), n("发送成功");
|
|
20
|
-
}) : a("onSend", { mobile: e.value }, d);
|
|
21
|
-
}
|
|
22
|
-
function k() {
|
|
23
|
-
l.auto ? p() && (() => {
|
|
24
|
-
if (o.value) {
|
|
25
|
-
if (U(o.value)) return !0;
|
|
26
|
-
n("请输入正确的验证码");
|
|
27
|
-
} else n("请输入验证码");
|
|
28
|
-
})() && S(`${l.host}/api/user/loginUseSingleSignOn`, { encryptMobile: b(e.value, "yhcqbendiqruanyi", "hex"), code: o.value }, { failMsg: !0, loading: !0, errMsg: !0 }).then((i) => {
|
|
29
|
-
const s = i.data || i.respMsg;
|
|
30
|
-
s ? l.close ? a("onSuccess", { token: s, close: l.close }) : a("onSuccess", { token: s }) : n("缺少有效令牌");
|
|
31
|
-
}) : l.close ? a("onLogin", { mobile: e.value, sms: o.value }, l.close) : a("onLogin", { mobile: e.value, sms: o.value });
|
|
32
|
-
}
|
|
33
|
-
return (i, s) => (m(), g("div", w, [t("div", z, [_(t("input", { class: "login__mobile-value", placeholder: "请输入手机号", maxlength: "11", "onUpdate:modelValue": s[0] || (s[0] = (v) => e.value = v) }, null, 512), [[h, e.value]])]), t("div", C, [_(t("input", { class: "login__sms-value", placeholder: "请输入验证码", maxlength: "6", "onUpdate:modelValue": s[1] || (s[1] = (v) => o.value = v) }, null, 512), [[h, o.value]]), u.value ? (m(), g("span", D, "还有" + x(r.value) + "s", 1)) : (m(), g("span", { key: 1, class: "login__sms-btn", onClick: M }, "获取验证码"))]), t("div", { class: "login__btn", onClick: k }, "登录")]));
|
|
34
|
-
} };
|
|
35
|
-
export {
|
|
36
|
-
B as default
|
|
37
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { h as r, render as s } from "vue";
|
|
2
|
-
import a from "./LoginModal.vue.js";
|
|
3
|
-
const h = ({ sendSMS: l = () => {
|
|
4
|
-
}, login: c = () => {
|
|
5
|
-
}, closeable: t = !1, auto: o = !1, host: d = "", aesKey: u = "" }) => {
|
|
6
|
-
const n = () => {
|
|
7
|
-
s(null, document.body);
|
|
8
|
-
};
|
|
9
|
-
if (o) return new Promise((e, m) => {
|
|
10
|
-
const i = r(a, { host: d, aesKey: u, closeable: t, auto: o, resolve: e, reject: m, clear: n });
|
|
11
|
-
s(i, document.body);
|
|
12
|
-
});
|
|
13
|
-
{
|
|
14
|
-
const e = r(a, { sendSMS: l, login: c, closeable: t, auto: o, clear: n });
|
|
15
|
-
s(e, document.body);
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
h as showLoginModal
|
|
20
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ref as h, onMounted as c, openBlock as l, createBlock as s, unref as w, withCtx as p, createElementVNode as C, createElementBlock as i, createCommentVNode as g } from "vue";
|
|
2
|
-
import { Popup as u } from "vant";
|
|
3
|
-
import r from "./Login.vue.js";
|
|
4
|
-
/* empty css */
|
|
5
|
-
import m from "../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
-
const f = { class: "login-modal" }, v = { class: "login-modal__logo" }, Z = { style: { width: "10vw", height: "10vw", "margin-right": "2vw" }, width: "391.818999px", height: "387.881608px", viewBox: "0 0 391.818999 387.881608", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink" }, x = { style: { flex: "1", height: "8vw" }, width: "779.142943px", height: "326.640695px", viewBox: "0 0 779.142943 326.640695", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink" }, B = m({ __name: "LoginModal", props: ["auto", "host", "aesKey", "sendSMS", "login", "closeable", "resolve", "reject", "clear"], setup(L) {
|
|
7
|
-
const e = L, t = h(!0);
|
|
8
|
-
function d(a) {
|
|
9
|
-
e.resolve(a);
|
|
10
|
-
}
|
|
11
|
-
function n() {
|
|
12
|
-
t.value = !1, setTimeout(() => {
|
|
13
|
-
e.clear();
|
|
14
|
-
}, 500);
|
|
15
|
-
}
|
|
16
|
-
return c(() => {
|
|
17
|
-
e.auto && (e.host ? e.aesKey || e.reject("缺少aesKey") : e.reject("缺少host"));
|
|
18
|
-
}), (a, o) => (l(), s(w(u), { show: t.value, "onUpdate:show": o[0] || (o[0] = (M) => t.value = M), round: "", "close-on-click-overlay": !1, position: "center" }, { default: p(() => [C("div", f, [C("div", v, [(l(), i("svg", Z, o[1] || (o[1] = [C("g", { id: "页面-1", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, [C("g", { id: "中国移动logo", transform: "translate(0, -0)", "fill-rule": "nonzero" }, [C("path", { d: "M274.198382,357.072822 C310.158825,327.854961 357.356907,284.402759 369.343722,271.666768 C369.343722,271.666768 360.353611,260.42913 346.868445,246.943963 C343.871741,244.696436 341.624213,245.445612 339.376686,247.693139 C303.416242,282.155231 264.459095,318.115674 241.983818,335.34672 C203.775847,364.564581 159.574468,367.561284 115.37309,333.099193 C98.8912197,320.363202 84.6568774,307.627212 63.6799521,285.90111 C36.7096194,256.68325 19.4785736,231.960445 0,204.240937 C0,204.240937 0,210.98352 2.24752772,221.471983 C2.99670363,222.970334 2.99670363,225.967038 4.49505544,228.214566 C8.24093497,235.706325 25.4719808,264.924185 50.1947857,294.142045 C98.8912197,351.079414 129.607432,368.31046 149.835181,378.798923 C175.307162,391.534913 226.251124,396.029969 274.198382,357.072822", id: "路径", fill: "#0085CC" }), C("path", { d: "M215.013485,317.366499 C232.993707,304.630508 306.412946,236.455501 320.647288,219.973631 C320.647288,219.973631 310.158825,208.735992 295.175307,196.000002 C291.429428,192.254122 286.185196,193.003298 282.439317,197.498353 C253.221456,225.217862 195.534912,276.161824 188.043153,282.155231 C166.317051,300.884629 140.84507,302.38298 117.620617,285.151935 C61.4324243,243.198084 11.2376386,176.521428 2.99670363,163.785438 C2.99670363,163.785438 1.49835181,169.778845 0.749175907,175.023076 C0.749175907,175.023076 1.86073379e-13,180.267308 2.24752772,184.762363 C55.4390171,261.178306 111.62721,308.376388 133.353311,320.363202 C158.076116,333.848368 186.544801,337.594248 215.013485,317.366499", id: "路径", fill: "#0085CC" }), C("path", { d: "M382.079712,238.703028 C347.617621,193.003298 295.924483,146.554392 281.690141,134.567577 C271.950854,126.326642 261.462391,122.580763 251.723105,122.580763 C241.983818,122.580763 232.244531,127.075818 224.003596,133.818401 C222.505244,135.316753 220.257717,137.564281 217.261013,139.811809 C197.033263,157.042855 133.353311,215.478575 131.85496,216.976927 C127.359904,221.471983 120.617321,224.468686 113.874738,224.468686 C107.881331,224.468686 101.138747,221.471983 94.3961642,215.478575 C89.9011088,210.98352 68.1750075,193.752474 42.7030267,165.28379 C26.9703326,148.052744 14.2343422,132.32005 14.2343422,132.32005 C14.2343422,132.32005 11.2376386,138.313457 9.73928678,142.059336 C8.24093497,145.805216 9.73928678,147.303568 10.4884627,148.80192 C18.7293977,160.788734 57.6865448,207.23764 110.878034,252.937371 C120.617321,261.178306 131.105784,264.924185 140.84507,264.924185 C150.584357,264.924185 160.323644,260.42913 168.564579,253.686546 C170.062931,252.188195 173.059634,249.940667 175.307162,247.693139 C195.534912,230.462093 234.492059,195.250826 252.47228,178.01978 C256.21816,174.2739 259.214864,172.026373 260.713215,170.528021 C265.208271,166.032965 271.950854,163.036262 278.693437,163.036262 C284.686844,163.036262 291.429428,166.032965 298.172011,172.026373 C309.409649,181.765659 328.139047,198.996705 349.865148,221.471983 C365.597842,238.703028 378.333833,254.435722 378.333833,254.435722 C378.333833,254.435722 381.330536,248.442315 382.828888,243.94726 C383.578064,241.699732 382.828888,239.452204 382.079712,238.703028", id: "路径", fill: "#95C11F" }), C("path", { d: "M176.805514,70.8876253 C158.825292,83.6236157 85.4060533,151.798623 71.1717111,168.280493 C71.1717111,168.280493 81.6601738,179.518132 96.6436919,192.254122 C100.389571,196.000002 105.633803,195.250826 109.379682,190.75577 C137.848367,162.287086 195.534912,111.343124 203.026671,105.349717 C224.752772,86.6203193 250.224753,85.1219675 273.449206,102.353013 C329.637399,144.306864 379.832185,210.98352 388.07312,223.71951 C388.07312,223.71951 389.571471,217.726103 390.320647,212.481872 C390.320647,212.481872 391.069823,207.23764 388.822295,202.742585 C335.630806,126.326642 279.442613,79.1285603 257.716512,67.1417458 C233.742883,54.4057554 205.274198,49.9106999 176.805514,70.8876253", id: "路径", fill: "#0085CC" }), C("path", { d: "M116.871441,30.4321263 C80.9109979,59.6499867 33.7129158,103.102189 21.7261013,115.83818 C21.7261013,115.83818 30.7162122,127.075818 44.2013785,140.560985 C47.1980821,142.808512 49.4456098,142.059336 52.4423135,139.811809 C88.402757,105.349717 127.359904,69.3892735 149.835181,52.1582276 C188.043153,22.9403673 232.244531,19.9436637 276.445909,54.4057554 C292.927779,67.1417458 307.162122,79.8777362 328.139047,101.603837 C355.10938,130.821698 372.340426,155.544503 391.818999,183.264011 C391.818999,183.264011 391.818999,175.772252 389.571471,166.032965 C389.571471,164.534614 388.822295,161.53791 387.323944,159.290382 C383.578064,151.798623 366.347018,122.580763 341.624213,94.1120784 C292.927779,37.1747095 262.211567,19.9436637 241.983818,9.45520096 C216.511837,-4.02996535 165.567875,-7.77584489 116.871441,30.4321263", id: "路径", fill: "#0085CC" })])], -1)]))), (l(), i("svg", x, o[2] || (o[2] = [C("g", { id: "页面-1", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, [C("g", { id: "中国移动文字", fill: "#0085CC", "fill-rule": "nonzero" }, [C("path", { d: "M729.697333,38.9571471 C729.697333,26.9703326 730.446509,15.732694 730.446509,3.74587953 L730.446509,2.24752772 L712.466287,2.24752772 L712.466287,38.9571471 L688.492658,38.9571471 L688.492658,56.188193 L711.717111,56.188193 L711.717111,78.6634702 C711.717111,113.125562 705.723704,131.105784 692.238538,151.333533 C683.997603,164.069524 669.76326,172.310458 669.76326,172.310458 L683.248427,185.795625 C683.248427,185.795625 729.697333,161.821996 729.697333,86.1552292 L729.697333,56.188193 L760.413545,56.188193 C760.413545,86.9044052 758.915193,117.620617 757.416841,146.838478 C757.416841,155.828589 752.921786,160.323644 745.430027,160.323644 L725.202277,160.323644 C725.951453,165.567875 728.198981,178.303866 728.198981,178.303866 L749.925082,178.303866 C765.657776,178.303866 773.898711,168.564579 775.397063,150.584357 C776.895415,122.864849 778.393767,86.1552292 779.142943,40.455499 L779.142943,38.9571471 L729.697333,38.9571471 Z M689.241834,149.086005 C683.997603,135.600839 675.756668,116.871441 669.014085,103.386275 L668.264909,101.887923 L652.532215,108.630506 L653.28139,110.128858 C657.02727,119.118969 660.77315,127.359904 664.519029,137.099191 L624.812706,146.838478 C633.802817,132.604135 644.29128,99.6403956 650.284687,82.4093497 L692.238538,82.4093497 L692.238538,65.9274798 L601.588253,65.9274798 L601.588253,82.4093497 L631.555289,82.4093497 C630.056937,92.1486365 619.568475,123.614025 605.334132,149.086005 C603.835781,152.082709 600.839077,154.330237 600.839077,154.330237 L606.083308,166.317051 C606.083308,166.317051 654.779742,152.831885 669.014085,151.333533 L670.512436,155.828589 L689.241834,149.086005 Z M610.578364,18.7293977 L686.24513,18.7293977 L686.24513,35.2112676 L610.578364,35.2112676 L610.578364,18.7293977 Z M531.914894,93.6469883 C534.911597,89.9011088 536.409949,85.4060533 536.409949,85.4060533 L519.928079,82.4093497 C522.924783,80.9109979 525.921486,78.6634702 528.91819,77.1651184 C549.145939,64.429128 562.631106,49.4456098 571.621217,32.214564 L571.621217,16.4818699 L513.185496,16.4818699 C514.683848,13.4851663 516.931375,10.4884627 518.429727,7.49175907 L519.178903,5.99340725 L503.446209,0 L502.697033,1.49835181 C493.706922,19.4785736 480.221756,35.9604435 463.739886,49.4456098 C463.739886,49.4456098 472.729997,56.188193 477.225052,59.9340725 C486.964339,50.9439616 495.95445,41.9538508 501.947857,33.7129158 L551.393467,33.7129158 C542.403356,44.9505544 534.162421,53.9406653 524.423135,60.6832484 C517.680551,54.6898412 512.43632,50.1947857 504.195385,43.4522026 L502.697033,42.7030267 L492.208571,53.9406653 L493.706922,54.6898412 C501.198681,60.6832484 505.693737,64.429128 510.188792,68.9241834 C497.452802,75.6667666 483.21846,81.6601738 466.73659,86.1552292 C466.73659,86.1552292 477.225052,100.389571 477.974228,100.389571 C487.713515,97.3928678 507.192089,88.402757 515.433024,84.6568774 C504.195385,106.382979 480.221756,124.3632 462.99071,133.353311 L475.726701,146.089302 C502.697033,133.353311 521.426431,109.379682 521.426431,109.379682 L558.885226,109.379682 C556.637699,122.115673 545.40006,137.848367 529.667366,147.587654 C523.673959,141.594246 516.931375,135.600839 510.188792,128.858256 L498.201978,139.346719 C504.944561,145.340126 510.188792,151.333533 515.433024,156.577764 C491.459395,167.066227 459.994007,168.564579 459.994007,168.564579 L466.73659,182.798921 C466.73659,182.798921 559.634402,180.551393 578.3638,108.630506 L578.3638,92.8978124 L531.914894,92.8978124 L531.914894,93.6469883 Z M473.479173,106.382979 C465.987414,99.6403956 444.261313,82.4093497 444.261313,82.4093497 L444.261313,73.4192388 L468.984117,73.4192388 L468.984117,56.9373689 L444.261313,56.9373689 L444.261313,30.7162122 C462.241534,27.7195085 469.733293,25.4719808 469.733293,25.4719808 L465.987414,8.99011088 C465.987414,8.99011088 450.25472,12.7359904 433.77285,14.9835181 C412.795924,17.9802218 400.80911,18.7293977 400.80911,18.7293977 L402.307462,35.2112676 C402.307462,35.2112676 415.792628,33.7129158 427.030267,31.4653881 L427.030267,56.188193 L398.561582,56.188193 L398.561582,72.6700629 L424.782739,72.6700629 C418.040156,94.3961642 406.802517,115.37309 395.564879,131.85496 C395.564879,131.85496 407.551693,145.340126 407.551693,144.59095 C415.043452,134.102487 421.786035,122.115673 427.030267,109.379682 L427.030267,182.049745 L443.512137,182.049745 L443.512137,103.386275 C449.505544,109.379682 455.498951,114.623914 460.743182,119.118969 L462.241534,120.617321 L474.228349,107.132155 L473.479173,106.382979 Z M202.277495,178.303866 L363.350315,178.303866 L363.350315,8.24093497 L202.277495,8.24093497 L202.277495,178.303866 Z M346.119269,162.571172 L219.508541,162.571172 L219.508541,23.973629 L346.119269,23.973629 L346.119269,162.571172 Z M336.379982,131.105784 L290.680252,131.105784 L290.680252,93.6469883 L329.637399,93.6469883 L329.637399,77.9142943 L290.680252,77.9142943 L290.680252,53.9406653 L333.383278,53.9406653 L333.383278,38.9571471 L232.244531,38.9571471 L232.244531,53.9406653 L274.198382,53.9406653 L274.198382,77.9142943 L235.241235,77.9142943 L235.241235,93.6469883 L274.198382,93.6469883 L274.198382,131.105784 L229.247827,131.105784 L229.247827,146.838478 L336.379982,146.838478 L336.379982,131.105784 Z M308.660473,95.1453401 L295.924483,104.884627 L297.422835,106.382979 C302.667066,111.62721 309.409649,119.868145 314.653881,127.359904 L315.403057,128.858256 L328.888223,118.369793 L328.139047,116.871441 C323.643992,110.878034 316.152233,102.637099 310.158825,95.894516 L308.660473,95.1453401 Z M88.402757,1.49835181 L69.6733593,1.49835181 L69.6733593,35.9604435 L0,35.9604435 L0,131.85496 L69.6733593,131.85496 L69.6733593,183.548097 L88.402757,183.548097 L88.402757,131.85496 L158.825292,131.85496 L158.825292,35.9604435 L88.402757,35.9604435 L88.402757,1.49835181 Z M69.6733593,114.623914 L17.9802218,114.623914 L17.9802218,52.4423135 L69.6733593,52.4423135 L69.6733593,114.623914 Z M140.84507,114.623914 L89.1519329,114.623914 L89.1519329,52.4423135 L140.84507,52.4423135 L140.84507,114.623914 Z", id: "中国移动" }), C("path", { d: "M164.069524,255.468984 C161.821996,253.221456 158.825292,252.47228 156.577764,251.723105 C151.333533,250.224753 145.340126,250.224753 140.84507,251.723105 L134.102487,253.970632 C131.85496,254.719808 130.356608,256.21816 128.858256,257.716512 L126.610728,259.96404 L126.610728,215.762661 L112.376386,215.762661 L112.376386,324.393168 L126.610728,324.393168 L126.610728,274.198382 C128.858256,270.452502 131.85496,268.204975 135.600839,265.957447 C139.346719,263.709919 142.343422,262.960743 146.089302,262.960743 C150.584357,262.960743 153.581061,264.459095 155.079413,266.706623 C157.32694,268.95415 158.076116,273.449206 158.076116,278.693437 L158.076116,324.393168 L172.310458,324.393168 L172.310458,276.445909 C172.310458,271.201678 171.561283,266.706623 170.062931,263.709919 C168.564579,259.96404 166.317051,256.967336 164.069524,255.468984 M187.293977,223.25442 L201.528319,223.25442 L201.528319,238.987114 L187.293977,238.987114 L187.293977,223.25442 Z M187.293977,251.723105 L201.528319,251.723105 L201.528319,323.643992 L187.293977,323.643992 L187.293977,251.723105 Z M269.703326,256.21816 C267.455799,253.970632 265.208271,252.47228 262.211567,251.723105 C256.967336,250.224753 250.224753,250.224753 244.980521,250.973929 L238.237938,253.221456 C235.990411,253.970632 234.492059,255.468984 232.993707,256.967336 C232.244531,257.716512 230.746179,258.465688 229.997003,259.96404 L228.498651,251.723105 L217.261013,251.723105 L217.261013,323.643992 L231.495355,323.643992 L231.495355,273.449206 C233.742883,269.703326 236.739586,267.455799 240.485466,265.208271 C244.231346,262.960743 247.228049,262.211567 250.973929,262.211567 C254.719808,262.211567 257.716512,263.709919 259.96404,265.957447 C262.211567,268.204975 262.960743,272.70003 262.960743,277.944261 L262.960743,323.643992 L277.195085,323.643992 L277.195085,275.696734 C277.195085,271.201678 276.445909,266.706623 275.696734,263.709919 C273.449206,260.713215 271.201678,258.465688 269.703326,256.21816 M343.122565,264.459095 C340.875037,259.96404 337.878334,256.967336 332.634102,253.970632 C328.139047,251.723105 322.14564,250.224753 314.653881,250.224753 L308.660473,250.224753 C306.412946,250.224753 304.914594,250.973929 302.667066,250.973929 C301.168714,251.723105 298.921187,251.723105 297.422835,252.47228 C295.924483,253.221456 294.426131,253.221456 292.927779,253.970632 L292.178604,253.970632 L292.178604,265.957447 L293.676955,265.208271 C296.673659,264.459095 299.670363,262.960743 302.667066,262.211567 C305.66377,261.462391 308.660473,261.462391 312.406353,261.462391 C316.901408,261.462391 320.647288,262.211567 322.894816,263.709919 C325.142343,265.208271 327.389871,266.706623 328.139047,268.95415 C328.888223,269.703326 328.888223,271.201678 328.888223,272.70003 C328.888223,274.198382 329.637399,275.696734 329.637399,277.195085 L329.637399,280.191789 C327.389871,279.442613 325.142343,278.693437 322.894816,278.693437 C319.898112,277.944261 316.152233,277.944261 312.406353,277.944261 C308.660473,277.944261 304.914594,278.693437 301.168714,279.442613 C298.172011,280.191789 295.175307,282.439317 292.927779,283.937669 C290.680252,286.185196 288.432724,288.432724 287.683548,291.429428 C286.185196,294.426131 285.43602,297.422835 285.43602,301.168714 C285.43602,304.914594 286.185196,307.911298 286.934372,310.908001 C288.432724,313.904705 289.931076,316.152233 292.178604,318.39976 C294.426131,320.647288 296.673659,322.14564 299.670363,322.894816 C302.667066,323.643992 305.66377,324.393168 309.409649,324.393168 C311.657177,324.393168 314.653881,324.393168 316.901408,323.643992 C319.148936,322.894816 321.396464,322.14564 322.894816,321.396464 C325.142343,320.647288 326.640695,319.148936 328.139047,318.39976 C328.888223,317.650584 329.637399,316.901408 330.386575,316.901408 L331.135751,322.894816 L343.122565,322.894816 L343.122565,274.947558 C343.122565,272.70003 343.122565,270.452502 342.373389,268.95415 C343.871741,268.204975 343.871741,265.957447 343.122565,264.459095 M331.135751,292.927779 L331.135751,304.914594 C330.386575,305.66377 329.637399,305.66377 328.888223,306.412946 C328.139047,307.162122 326.640695,307.911298 325.142343,309.409649 C323.643992,310.158825 321.396464,310.908001 319.898112,311.657177 C316.152233,313.155529 312.406353,313.155529 308.660473,311.657177 C307.162122,310.908001 305.66377,310.158825 304.914594,309.409649 C304.165418,308.660473 303.416242,307.162122 302.667066,305.66377 C301.91789,304.165418 301.91789,302.667066 301.91789,300.419539 C301.91789,296.673659 303.416242,293.676955 305.66377,292.178604 C307.911298,290.680252 311.657177,289.1819 316.152233,289.1819 C319.148936,289.1819 322.894816,289.1819 325.142343,289.931076 C326.640695,292.178604 328.888223,292.927779 331.135751,292.927779 M85.4060533,292.178604 C78.6634702,304.165418 65.9274798,310.908001 52.4423135,310.908001 C31.4653881,310.908001 14.2343422,293.676955 14.2343422,272.70003 C14.2343422,251.723105 31.4653881,234.492059 52.4423135,234.492059 C65.9274798,234.492059 78.6634702,241.983818 85.4060533,253.221456 L86.1552292,253.970632 L101.138747,253.970632 L100.389571,251.723105 C92.1486365,232.993707 73.4192388,220.257717 52.4423135,220.257717 C23.973629,220.257717 0.749175907,243.48217 0.749175907,271.950854 C0.749175907,300.419539 23.973629,323.643992 52.4423135,323.643992 C73.4192388,323.643992 92.1486365,311.657177 100.389571,292.178604 L101.138747,289.931076 L85.4060533,292.178604 Z M445.759664,279.442613 C443.512137,283.937669 441.264609,290.680252 438.267905,299.670363 C435.271202,292.178604 433.023674,285.43602 430.776146,279.442613 L407.551693,223.25442 L388.07312,223.25442 L388.07312,323.643992 L403.056638,323.643992 L403.056638,274.947558 C403.056638,265.957447 403.056638,255.468984 402.307462,244.231346 C405.304165,250.973929 407.551693,257.716512 409.799221,263.709919 L434.522026,322.894816 L442.013785,322.894816 L466.73659,263.709919 C468.984117,257.716512 471.980821,250.973929 474.977525,243.48217 C474.228349,254.719808 474.228349,264.459095 474.228349,274.198382 L474.228349,322.894816 L489.211867,322.894816 L489.211867,223.25442 L469.733293,223.25442 L445.759664,279.442613 Z M642.792928,264.459095 C641.294576,261.462391 639.047048,259.214864 636.799521,257.716512 L630.056937,253.221456 C627.80941,252.47228 625.561882,250.973929 623.314354,250.973929 C621.066826,250.224753 618.819299,250.224753 616.571771,250.224753 C612.076716,250.224753 608.330836,250.973929 604.584957,252.47228 C602.337429,253.970632 599.340725,255.468984 597.842373,256.967336 L597.842373,215.762661 L583.608031,215.762661 L583.608031,324.393168 L594.84567,324.393168 L597.093197,317.650584 L597.842373,318.39976 C598.591549,319.898112 600.089901,320.647288 601.588253,322.14564 C603.086605,322.894816 605.334132,324.393168 607.58166,325.142343 C609.829188,325.891519 612.825892,326.640695 615.822595,326.640695 C619.568475,326.640695 624.06353,325.891519 627.80941,324.393168 C631.555289,322.894816 635.301169,320.647288 638.297872,316.901408 C641.294576,313.904705 643.542104,309.409649 645.789631,304.914594 C647.287983,300.419539 648.786335,294.426131 648.786335,287.683548 C648.786335,283.188493 648.037159,278.693437 647.287983,274.947558 C645.789631,270.452502 645.040455,267.455799 642.792928,264.459095 M633.802817,287.683548 C633.802817,291.429428 633.053641,295.175307 632.304465,298.172011 C631.555289,301.168714 630.056937,304.165418 628.558586,306.412946 C627.060234,308.660473 624.812706,310.158825 622.565178,311.657177 C620.317651,313.155529 617.320947,313.155529 614.324243,313.155529 C612.076716,313.155529 610.578364,313.155529 608.330836,312.406353 C606.832484,311.657177 604.584957,310.908001 603.835781,310.158825 C602.337429,309.409649 600.839077,308.660473 600.089901,307.162122 L597.842373,304.914594 L597.842373,269.703326 C600.089901,267.455799 602.337429,265.957447 605.334132,264.459095 C609.829188,262.211567 615.822595,261.462391 621.066826,263.709919 C623.314354,264.459095 624.812706,265.208271 627.060234,267.455799 C628.558586,268.95415 630.806113,271.950854 631.555289,274.947558 C633.053641,277.944261 633.802817,282.439317 633.802817,287.683548 M659.274798,251.723105 L673.50914,251.723105 L673.50914,323.643992 L659.274798,323.643992 L659.274798,251.723105 Z M659.274798,223.25442 L673.50914,223.25442 L673.50914,238.987114 L659.274798,238.987114 L659.274798,223.25442 Z M689.241834,215.762661 L703.476176,215.762661 L703.476176,324.393168 L689.241834,324.393168 L689.241834,215.762661 Z M774.647887,269.703326 C773.149536,265.208271 770.902008,261.462391 768.65448,258.465688 C765.657776,255.468984 762.661073,253.221456 759.664369,251.723105 C752.17261,248.726401 743.182499,248.726401 735.69074,252.47228 C731.944861,253.970632 728.198981,256.21816 725.202277,259.96404 C722.205574,262.960743 719.958046,267.455799 717.710518,271.950854 C716.212167,276.445909 714.713815,282.439317 714.713815,289.1819 C714.713815,295.924483 715.462991,301.168714 717.710518,306.412946 C719.20887,310.908001 722.205574,314.653881 725.202277,317.650584 C728.198981,320.647288 732.694037,322.894816 737.189092,324.393168 C741.684147,325.891519 746.179203,326.640695 751.423434,326.640695 C755.91849,326.640695 759.664369,326.640695 763.410249,325.891519 C767.156128,325.142343 770.152832,324.393168 773.149536,322.894816 L773.898711,322.14564 L773.898711,310.158825 L772.40036,310.908001 C769.403656,311.657177 766.406952,313.155529 763.410249,313.155529 C760.413545,313.904705 757.416841,313.904705 753.670962,313.904705 C749.925082,313.904705 746.928379,313.155529 743.931675,312.406353 C740.934972,311.657177 738.687444,310.158825 736.439916,308.660473 C734.192388,307.162122 732.694037,304.914594 731.195685,301.91789 C730.446509,298.921187 729.697333,295.924483 729.697333,292.178604 L777.644591,292.178604 L777.644591,290.680252 L777.644591,286.185196 C776.895415,279.442613 776.146239,274.198382 774.647887,269.703326 M729.697333,279.442613 C729.697333,277.195085 730.446509,275.696734 731.195685,273.449206 C731.944861,271.201678 733.443212,269.703326 734.941564,267.455799 C736.439916,265.957447 738.687444,264.459095 740.185796,263.709919 C743.931675,262.211567 749.925082,262.211567 753.670962,263.709919 C755.91849,264.459095 757.416841,265.957447 758.166017,267.455799 C759.664369,268.95415 760.413545,271.201678 761.162721,273.449206 C761.911897,274.947558 761.911897,277.195085 761.911897,279.442613 L729.697333,279.442613 Z M536.409949,250.224753 C515.433024,250.224753 498.951154,267.455799 498.951154,287.683548 C498.951154,308.660473 516.1822,325.142343 536.409949,325.142343 C557.386874,325.142343 573.868744,307.911298 573.868744,287.683548 C574.61792,266.706623 557.386874,250.224753 536.409949,250.224753 M536.409949,313.155529 C522.175607,313.155529 510.937968,301.91789 510.937968,287.683548 C510.937968,273.449206 522.175607,262.211567 536.409949,262.211567 C550.644291,262.211567 561.88193,273.449206 561.88193,287.683548 C561.88193,301.91789 550.644291,313.155529 536.409949,313.155529", id: "china-mobile" })])], -1)])))]), L.closeable ? (l(), i("span", { key: 0, class: "login-modal__colse", onClick: n }, "×")) : g("", !0), L.auto ? (l(), s(r, { key: 1, auto: !0, close: n, host: L.host, aesKey: L.aesKey, onOnSuccess: d }, null, 8, ["host", "aesKey"])) : (l(), s(r, { key: 2, close: n, onOnSend: L.sendSMS, onOnLogin: L.login }, null, 8, ["onOnSend", "onOnLogin"]))])]), _: 1 }, 8, ["show"]));
|
|
19
|
-
} }, [["__scopeId", "data-v-45012623"]]);
|
|
20
|
-
export {
|
|
21
|
-
B as default
|
|
22
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { openBlock as t, createElementBlock as o, createElementVNode as e, createStaticVNode as l, createBlock as a } from "vue";
|
|
2
|
-
import i from "./Login.vue.js";
|
|
3
|
-
/* empty css */
|
|
4
|
-
import s from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const d = { class: "login-page" }, n = { class: "login-page__logo" }, M = { style: { width: "16.5vw", height: "16.5vw", "margin-bottom": "3vw" }, width: "391.818999px", height: "387.881608px", viewBox: "0 0 391.818999 387.881608", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink" }, g = { style: { width: "35vw", height: "14.781771vw" }, width: "779.142943px", height: "326.640695px", viewBox: "0 0 779.142943 326.640695", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink" }, f = s({ __name: "LoginPage", props: ["auto", "host", "aesKey", "sendSMS", "login", "success"], setup: (C) => (h, L) => (t(), o("div", d, [e("div", n, [(t(), o("svg", M, L[0] || (L[0] = [l('<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" data-v-c860df47><g id="中国移动logo" transform="translate(0, -0)" fill-rule="nonzero" data-v-c860df47><path d="M274.198382,357.072822 C310.158825,327.854961 357.356907,284.402759 369.343722,271.666768 C369.343722,271.666768 360.353611,260.42913 346.868445,246.943963 C343.871741,244.696436 341.624213,245.445612 339.376686,247.693139 C303.416242,282.155231 264.459095,318.115674 241.983818,335.34672 C203.775847,364.564581 159.574468,367.561284 115.37309,333.099193 C98.8912197,320.363202 84.6568774,307.627212 63.6799521,285.90111 C36.7096194,256.68325 19.4785736,231.960445 0,204.240937 C0,204.240937 0,210.98352 2.24752772,221.471983 C2.99670363,222.970334 2.99670363,225.967038 4.49505544,228.214566 C8.24093497,235.706325 25.4719808,264.924185 50.1947857,294.142045 C98.8912197,351.079414 129.607432,368.31046 149.835181,378.798923 C175.307162,391.534913 226.251124,396.029969 274.198382,357.072822" id="路径" fill="#0085CC" data-v-c860df47></path><path d="M215.013485,317.366499 C232.993707,304.630508 306.412946,236.455501 320.647288,219.973631 C320.647288,219.973631 310.158825,208.735992 295.175307,196.000002 C291.429428,192.254122 286.185196,193.003298 282.439317,197.498353 C253.221456,225.217862 195.534912,276.161824 188.043153,282.155231 C166.317051,300.884629 140.84507,302.38298 117.620617,285.151935 C61.4324243,243.198084 11.2376386,176.521428 2.99670363,163.785438 C2.99670363,163.785438 1.49835181,169.778845 0.749175907,175.023076 C0.749175907,175.023076 1.86073379e-13,180.267308 2.24752772,184.762363 C55.4390171,261.178306 111.62721,308.376388 133.353311,320.363202 C158.076116,333.848368 186.544801,337.594248 215.013485,317.366499" id="路径" fill="#0085CC" data-v-c860df47></path><path d="M382.079712,238.703028 C347.617621,193.003298 295.924483,146.554392 281.690141,134.567577 C271.950854,126.326642 261.462391,122.580763 251.723105,122.580763 C241.983818,122.580763 232.244531,127.075818 224.003596,133.818401 C222.505244,135.316753 220.257717,137.564281 217.261013,139.811809 C197.033263,157.042855 133.353311,215.478575 131.85496,216.976927 C127.359904,221.471983 120.617321,224.468686 113.874738,224.468686 C107.881331,224.468686 101.138747,221.471983 94.3961642,215.478575 C89.9011088,210.98352 68.1750075,193.752474 42.7030267,165.28379 C26.9703326,148.052744 14.2343422,132.32005 14.2343422,132.32005 C14.2343422,132.32005 11.2376386,138.313457 9.73928678,142.059336 C8.24093497,145.805216 9.73928678,147.303568 10.4884627,148.80192 C18.7293977,160.788734 57.6865448,207.23764 110.878034,252.937371 C120.617321,261.178306 131.105784,264.924185 140.84507,264.924185 C150.584357,264.924185 160.323644,260.42913 168.564579,253.686546 C170.062931,252.188195 173.059634,249.940667 175.307162,247.693139 C195.534912,230.462093 234.492059,195.250826 252.47228,178.01978 C256.21816,174.2739 259.214864,172.026373 260.713215,170.528021 C265.208271,166.032965 271.950854,163.036262 278.693437,163.036262 C284.686844,163.036262 291.429428,166.032965 298.172011,172.026373 C309.409649,181.765659 328.139047,198.996705 349.865148,221.471983 C365.597842,238.703028 378.333833,254.435722 378.333833,254.435722 C378.333833,254.435722 381.330536,248.442315 382.828888,243.94726 C383.578064,241.699732 382.828888,239.452204 382.079712,238.703028" id="路径" fill="#95C11F" data-v-c860df47></path><path d="M176.805514,70.8876253 C158.825292,83.6236157 85.4060533,151.798623 71.1717111,168.280493 C71.1717111,168.280493 81.6601738,179.518132 96.6436919,192.254122 C100.389571,196.000002 105.633803,195.250826 109.379682,190.75577 C137.848367,162.287086 195.534912,111.343124 203.026671,105.349717 C224.752772,86.6203193 250.224753,85.1219675 273.449206,102.353013 C329.637399,144.306864 379.832185,210.98352 388.07312,223.71951 C388.07312,223.71951 389.571471,217.726103 390.320647,212.481872 C390.320647,212.481872 391.069823,207.23764 388.822295,202.742585 C335.630806,126.326642 279.442613,79.1285603 257.716512,67.1417458 C233.742883,54.4057554 205.274198,49.9106999 176.805514,70.8876253" id="路径" fill="#0085CC" data-v-c860df47></path><path d="M116.871441,30.4321263 C80.9109979,59.6499867 33.7129158,103.102189 21.7261013,115.83818 C21.7261013,115.83818 30.7162122,127.075818 44.2013785,140.560985 C47.1980821,142.808512 49.4456098,142.059336 52.4423135,139.811809 C88.402757,105.349717 127.359904,69.3892735 149.835181,52.1582276 C188.043153,22.9403673 232.244531,19.9436637 276.445909,54.4057554 C292.927779,67.1417458 307.162122,79.8777362 328.139047,101.603837 C355.10938,130.821698 372.340426,155.544503 391.818999,183.264011 C391.818999,183.264011 391.818999,175.772252 389.571471,166.032965 C389.571471,164.534614 388.822295,161.53791 387.323944,159.290382 C383.578064,151.798623 366.347018,122.580763 341.624213,94.1120784 C292.927779,37.1747095 262.211567,19.9436637 241.983818,9.45520096 C216.511837,-4.02996535 165.567875,-7.77584489 116.871441,30.4321263" id="路径" fill="#0085CC" data-v-c860df47></path></g></g>', 1)]))), (t(), o("svg", g, L[1] || (L[1] = [e("g", { id: "页面-1", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, [e("g", { id: "中国移动文字", fill: "#0085CC", "fill-rule": "nonzero" }, [e("path", { d: "M729.697333,38.9571471 C729.697333,26.9703326 730.446509,15.732694 730.446509,3.74587953 L730.446509,2.24752772 L712.466287,2.24752772 L712.466287,38.9571471 L688.492658,38.9571471 L688.492658,56.188193 L711.717111,56.188193 L711.717111,78.6634702 C711.717111,113.125562 705.723704,131.105784 692.238538,151.333533 C683.997603,164.069524 669.76326,172.310458 669.76326,172.310458 L683.248427,185.795625 C683.248427,185.795625 729.697333,161.821996 729.697333,86.1552292 L729.697333,56.188193 L760.413545,56.188193 C760.413545,86.9044052 758.915193,117.620617 757.416841,146.838478 C757.416841,155.828589 752.921786,160.323644 745.430027,160.323644 L725.202277,160.323644 C725.951453,165.567875 728.198981,178.303866 728.198981,178.303866 L749.925082,178.303866 C765.657776,178.303866 773.898711,168.564579 775.397063,150.584357 C776.895415,122.864849 778.393767,86.1552292 779.142943,40.455499 L779.142943,38.9571471 L729.697333,38.9571471 Z M689.241834,149.086005 C683.997603,135.600839 675.756668,116.871441 669.014085,103.386275 L668.264909,101.887923 L652.532215,108.630506 L653.28139,110.128858 C657.02727,119.118969 660.77315,127.359904 664.519029,137.099191 L624.812706,146.838478 C633.802817,132.604135 644.29128,99.6403956 650.284687,82.4093497 L692.238538,82.4093497 L692.238538,65.9274798 L601.588253,65.9274798 L601.588253,82.4093497 L631.555289,82.4093497 C630.056937,92.1486365 619.568475,123.614025 605.334132,149.086005 C603.835781,152.082709 600.839077,154.330237 600.839077,154.330237 L606.083308,166.317051 C606.083308,166.317051 654.779742,152.831885 669.014085,151.333533 L670.512436,155.828589 L689.241834,149.086005 Z M610.578364,18.7293977 L686.24513,18.7293977 L686.24513,35.2112676 L610.578364,35.2112676 L610.578364,18.7293977 Z M531.914894,93.6469883 C534.911597,89.9011088 536.409949,85.4060533 536.409949,85.4060533 L519.928079,82.4093497 C522.924783,80.9109979 525.921486,78.6634702 528.91819,77.1651184 C549.145939,64.429128 562.631106,49.4456098 571.621217,32.214564 L571.621217,16.4818699 L513.185496,16.4818699 C514.683848,13.4851663 516.931375,10.4884627 518.429727,7.49175907 L519.178903,5.99340725 L503.446209,0 L502.697033,1.49835181 C493.706922,19.4785736 480.221756,35.9604435 463.739886,49.4456098 C463.739886,49.4456098 472.729997,56.188193 477.225052,59.9340725 C486.964339,50.9439616 495.95445,41.9538508 501.947857,33.7129158 L551.393467,33.7129158 C542.403356,44.9505544 534.162421,53.9406653 524.423135,60.6832484 C517.680551,54.6898412 512.43632,50.1947857 504.195385,43.4522026 L502.697033,42.7030267 L492.208571,53.9406653 L493.706922,54.6898412 C501.198681,60.6832484 505.693737,64.429128 510.188792,68.9241834 C497.452802,75.6667666 483.21846,81.6601738 466.73659,86.1552292 C466.73659,86.1552292 477.225052,100.389571 477.974228,100.389571 C487.713515,97.3928678 507.192089,88.402757 515.433024,84.6568774 C504.195385,106.382979 480.221756,124.3632 462.99071,133.353311 L475.726701,146.089302 C502.697033,133.353311 521.426431,109.379682 521.426431,109.379682 L558.885226,109.379682 C556.637699,122.115673 545.40006,137.848367 529.667366,147.587654 C523.673959,141.594246 516.931375,135.600839 510.188792,128.858256 L498.201978,139.346719 C504.944561,145.340126 510.188792,151.333533 515.433024,156.577764 C491.459395,167.066227 459.994007,168.564579 459.994007,168.564579 L466.73659,182.798921 C466.73659,182.798921 559.634402,180.551393 578.3638,108.630506 L578.3638,92.8978124 L531.914894,92.8978124 L531.914894,93.6469883 Z M473.479173,106.382979 C465.987414,99.6403956 444.261313,82.4093497 444.261313,82.4093497 L444.261313,73.4192388 L468.984117,73.4192388 L468.984117,56.9373689 L444.261313,56.9373689 L444.261313,30.7162122 C462.241534,27.7195085 469.733293,25.4719808 469.733293,25.4719808 L465.987414,8.99011088 C465.987414,8.99011088 450.25472,12.7359904 433.77285,14.9835181 C412.795924,17.9802218 400.80911,18.7293977 400.80911,18.7293977 L402.307462,35.2112676 C402.307462,35.2112676 415.792628,33.7129158 427.030267,31.4653881 L427.030267,56.188193 L398.561582,56.188193 L398.561582,72.6700629 L424.782739,72.6700629 C418.040156,94.3961642 406.802517,115.37309 395.564879,131.85496 C395.564879,131.85496 407.551693,145.340126 407.551693,144.59095 C415.043452,134.102487 421.786035,122.115673 427.030267,109.379682 L427.030267,182.049745 L443.512137,182.049745 L443.512137,103.386275 C449.505544,109.379682 455.498951,114.623914 460.743182,119.118969 L462.241534,120.617321 L474.228349,107.132155 L473.479173,106.382979 Z M202.277495,178.303866 L363.350315,178.303866 L363.350315,8.24093497 L202.277495,8.24093497 L202.277495,178.303866 Z M346.119269,162.571172 L219.508541,162.571172 L219.508541,23.973629 L346.119269,23.973629 L346.119269,162.571172 Z M336.379982,131.105784 L290.680252,131.105784 L290.680252,93.6469883 L329.637399,93.6469883 L329.637399,77.9142943 L290.680252,77.9142943 L290.680252,53.9406653 L333.383278,53.9406653 L333.383278,38.9571471 L232.244531,38.9571471 L232.244531,53.9406653 L274.198382,53.9406653 L274.198382,77.9142943 L235.241235,77.9142943 L235.241235,93.6469883 L274.198382,93.6469883 L274.198382,131.105784 L229.247827,131.105784 L229.247827,146.838478 L336.379982,146.838478 L336.379982,131.105784 Z M308.660473,95.1453401 L295.924483,104.884627 L297.422835,106.382979 C302.667066,111.62721 309.409649,119.868145 314.653881,127.359904 L315.403057,128.858256 L328.888223,118.369793 L328.139047,116.871441 C323.643992,110.878034 316.152233,102.637099 310.158825,95.894516 L308.660473,95.1453401 Z M88.402757,1.49835181 L69.6733593,1.49835181 L69.6733593,35.9604435 L0,35.9604435 L0,131.85496 L69.6733593,131.85496 L69.6733593,183.548097 L88.402757,183.548097 L88.402757,131.85496 L158.825292,131.85496 L158.825292,35.9604435 L88.402757,35.9604435 L88.402757,1.49835181 Z M69.6733593,114.623914 L17.9802218,114.623914 L17.9802218,52.4423135 L69.6733593,52.4423135 L69.6733593,114.623914 Z M140.84507,114.623914 L89.1519329,114.623914 L89.1519329,52.4423135 L140.84507,52.4423135 L140.84507,114.623914 Z", id: "中国移动" }), e("path", { d: "M164.069524,255.468984 C161.821996,253.221456 158.825292,252.47228 156.577764,251.723105 C151.333533,250.224753 145.340126,250.224753 140.84507,251.723105 L134.102487,253.970632 C131.85496,254.719808 130.356608,256.21816 128.858256,257.716512 L126.610728,259.96404 L126.610728,215.762661 L112.376386,215.762661 L112.376386,324.393168 L126.610728,324.393168 L126.610728,274.198382 C128.858256,270.452502 131.85496,268.204975 135.600839,265.957447 C139.346719,263.709919 142.343422,262.960743 146.089302,262.960743 C150.584357,262.960743 153.581061,264.459095 155.079413,266.706623 C157.32694,268.95415 158.076116,273.449206 158.076116,278.693437 L158.076116,324.393168 L172.310458,324.393168 L172.310458,276.445909 C172.310458,271.201678 171.561283,266.706623 170.062931,263.709919 C168.564579,259.96404 166.317051,256.967336 164.069524,255.468984 M187.293977,223.25442 L201.528319,223.25442 L201.528319,238.987114 L187.293977,238.987114 L187.293977,223.25442 Z M187.293977,251.723105 L201.528319,251.723105 L201.528319,323.643992 L187.293977,323.643992 L187.293977,251.723105 Z M269.703326,256.21816 C267.455799,253.970632 265.208271,252.47228 262.211567,251.723105 C256.967336,250.224753 250.224753,250.224753 244.980521,250.973929 L238.237938,253.221456 C235.990411,253.970632 234.492059,255.468984 232.993707,256.967336 C232.244531,257.716512 230.746179,258.465688 229.997003,259.96404 L228.498651,251.723105 L217.261013,251.723105 L217.261013,323.643992 L231.495355,323.643992 L231.495355,273.449206 C233.742883,269.703326 236.739586,267.455799 240.485466,265.208271 C244.231346,262.960743 247.228049,262.211567 250.973929,262.211567 C254.719808,262.211567 257.716512,263.709919 259.96404,265.957447 C262.211567,268.204975 262.960743,272.70003 262.960743,277.944261 L262.960743,323.643992 L277.195085,323.643992 L277.195085,275.696734 C277.195085,271.201678 276.445909,266.706623 275.696734,263.709919 C273.449206,260.713215 271.201678,258.465688 269.703326,256.21816 M343.122565,264.459095 C340.875037,259.96404 337.878334,256.967336 332.634102,253.970632 C328.139047,251.723105 322.14564,250.224753 314.653881,250.224753 L308.660473,250.224753 C306.412946,250.224753 304.914594,250.973929 302.667066,250.973929 C301.168714,251.723105 298.921187,251.723105 297.422835,252.47228 C295.924483,253.221456 294.426131,253.221456 292.927779,253.970632 L292.178604,253.970632 L292.178604,265.957447 L293.676955,265.208271 C296.673659,264.459095 299.670363,262.960743 302.667066,262.211567 C305.66377,261.462391 308.660473,261.462391 312.406353,261.462391 C316.901408,261.462391 320.647288,262.211567 322.894816,263.709919 C325.142343,265.208271 327.389871,266.706623 328.139047,268.95415 C328.888223,269.703326 328.888223,271.201678 328.888223,272.70003 C328.888223,274.198382 329.637399,275.696734 329.637399,277.195085 L329.637399,280.191789 C327.389871,279.442613 325.142343,278.693437 322.894816,278.693437 C319.898112,277.944261 316.152233,277.944261 312.406353,277.944261 C308.660473,277.944261 304.914594,278.693437 301.168714,279.442613 C298.172011,280.191789 295.175307,282.439317 292.927779,283.937669 C290.680252,286.185196 288.432724,288.432724 287.683548,291.429428 C286.185196,294.426131 285.43602,297.422835 285.43602,301.168714 C285.43602,304.914594 286.185196,307.911298 286.934372,310.908001 C288.432724,313.904705 289.931076,316.152233 292.178604,318.39976 C294.426131,320.647288 296.673659,322.14564 299.670363,322.894816 C302.667066,323.643992 305.66377,324.393168 309.409649,324.393168 C311.657177,324.393168 314.653881,324.393168 316.901408,323.643992 C319.148936,322.894816 321.396464,322.14564 322.894816,321.396464 C325.142343,320.647288 326.640695,319.148936 328.139047,318.39976 C328.888223,317.650584 329.637399,316.901408 330.386575,316.901408 L331.135751,322.894816 L343.122565,322.894816 L343.122565,274.947558 C343.122565,272.70003 343.122565,270.452502 342.373389,268.95415 C343.871741,268.204975 343.871741,265.957447 343.122565,264.459095 M331.135751,292.927779 L331.135751,304.914594 C330.386575,305.66377 329.637399,305.66377 328.888223,306.412946 C328.139047,307.162122 326.640695,307.911298 325.142343,309.409649 C323.643992,310.158825 321.396464,310.908001 319.898112,311.657177 C316.152233,313.155529 312.406353,313.155529 308.660473,311.657177 C307.162122,310.908001 305.66377,310.158825 304.914594,309.409649 C304.165418,308.660473 303.416242,307.162122 302.667066,305.66377 C301.91789,304.165418 301.91789,302.667066 301.91789,300.419539 C301.91789,296.673659 303.416242,293.676955 305.66377,292.178604 C307.911298,290.680252 311.657177,289.1819 316.152233,289.1819 C319.148936,289.1819 322.894816,289.1819 325.142343,289.931076 C326.640695,292.178604 328.888223,292.927779 331.135751,292.927779 M85.4060533,292.178604 C78.6634702,304.165418 65.9274798,310.908001 52.4423135,310.908001 C31.4653881,310.908001 14.2343422,293.676955 14.2343422,272.70003 C14.2343422,251.723105 31.4653881,234.492059 52.4423135,234.492059 C65.9274798,234.492059 78.6634702,241.983818 85.4060533,253.221456 L86.1552292,253.970632 L101.138747,253.970632 L100.389571,251.723105 C92.1486365,232.993707 73.4192388,220.257717 52.4423135,220.257717 C23.973629,220.257717 0.749175907,243.48217 0.749175907,271.950854 C0.749175907,300.419539 23.973629,323.643992 52.4423135,323.643992 C73.4192388,323.643992 92.1486365,311.657177 100.389571,292.178604 L101.138747,289.931076 L85.4060533,292.178604 Z M445.759664,279.442613 C443.512137,283.937669 441.264609,290.680252 438.267905,299.670363 C435.271202,292.178604 433.023674,285.43602 430.776146,279.442613 L407.551693,223.25442 L388.07312,223.25442 L388.07312,323.643992 L403.056638,323.643992 L403.056638,274.947558 C403.056638,265.957447 403.056638,255.468984 402.307462,244.231346 C405.304165,250.973929 407.551693,257.716512 409.799221,263.709919 L434.522026,322.894816 L442.013785,322.894816 L466.73659,263.709919 C468.984117,257.716512 471.980821,250.973929 474.977525,243.48217 C474.228349,254.719808 474.228349,264.459095 474.228349,274.198382 L474.228349,322.894816 L489.211867,322.894816 L489.211867,223.25442 L469.733293,223.25442 L445.759664,279.442613 Z M642.792928,264.459095 C641.294576,261.462391 639.047048,259.214864 636.799521,257.716512 L630.056937,253.221456 C627.80941,252.47228 625.561882,250.973929 623.314354,250.973929 C621.066826,250.224753 618.819299,250.224753 616.571771,250.224753 C612.076716,250.224753 608.330836,250.973929 604.584957,252.47228 C602.337429,253.970632 599.340725,255.468984 597.842373,256.967336 L597.842373,215.762661 L583.608031,215.762661 L583.608031,324.393168 L594.84567,324.393168 L597.093197,317.650584 L597.842373,318.39976 C598.591549,319.898112 600.089901,320.647288 601.588253,322.14564 C603.086605,322.894816 605.334132,324.393168 607.58166,325.142343 C609.829188,325.891519 612.825892,326.640695 615.822595,326.640695 C619.568475,326.640695 624.06353,325.891519 627.80941,324.393168 C631.555289,322.894816 635.301169,320.647288 638.297872,316.901408 C641.294576,313.904705 643.542104,309.409649 645.789631,304.914594 C647.287983,300.419539 648.786335,294.426131 648.786335,287.683548 C648.786335,283.188493 648.037159,278.693437 647.287983,274.947558 C645.789631,270.452502 645.040455,267.455799 642.792928,264.459095 M633.802817,287.683548 C633.802817,291.429428 633.053641,295.175307 632.304465,298.172011 C631.555289,301.168714 630.056937,304.165418 628.558586,306.412946 C627.060234,308.660473 624.812706,310.158825 622.565178,311.657177 C620.317651,313.155529 617.320947,313.155529 614.324243,313.155529 C612.076716,313.155529 610.578364,313.155529 608.330836,312.406353 C606.832484,311.657177 604.584957,310.908001 603.835781,310.158825 C602.337429,309.409649 600.839077,308.660473 600.089901,307.162122 L597.842373,304.914594 L597.842373,269.703326 C600.089901,267.455799 602.337429,265.957447 605.334132,264.459095 C609.829188,262.211567 615.822595,261.462391 621.066826,263.709919 C623.314354,264.459095 624.812706,265.208271 627.060234,267.455799 C628.558586,268.95415 630.806113,271.950854 631.555289,274.947558 C633.053641,277.944261 633.802817,282.439317 633.802817,287.683548 M659.274798,251.723105 L673.50914,251.723105 L673.50914,323.643992 L659.274798,323.643992 L659.274798,251.723105 Z M659.274798,223.25442 L673.50914,223.25442 L673.50914,238.987114 L659.274798,238.987114 L659.274798,223.25442 Z M689.241834,215.762661 L703.476176,215.762661 L703.476176,324.393168 L689.241834,324.393168 L689.241834,215.762661 Z M774.647887,269.703326 C773.149536,265.208271 770.902008,261.462391 768.65448,258.465688 C765.657776,255.468984 762.661073,253.221456 759.664369,251.723105 C752.17261,248.726401 743.182499,248.726401 735.69074,252.47228 C731.944861,253.970632 728.198981,256.21816 725.202277,259.96404 C722.205574,262.960743 719.958046,267.455799 717.710518,271.950854 C716.212167,276.445909 714.713815,282.439317 714.713815,289.1819 C714.713815,295.924483 715.462991,301.168714 717.710518,306.412946 C719.20887,310.908001 722.205574,314.653881 725.202277,317.650584 C728.198981,320.647288 732.694037,322.894816 737.189092,324.393168 C741.684147,325.891519 746.179203,326.640695 751.423434,326.640695 C755.91849,326.640695 759.664369,326.640695 763.410249,325.891519 C767.156128,325.142343 770.152832,324.393168 773.149536,322.894816 L773.898711,322.14564 L773.898711,310.158825 L772.40036,310.908001 C769.403656,311.657177 766.406952,313.155529 763.410249,313.155529 C760.413545,313.904705 757.416841,313.904705 753.670962,313.904705 C749.925082,313.904705 746.928379,313.155529 743.931675,312.406353 C740.934972,311.657177 738.687444,310.158825 736.439916,308.660473 C734.192388,307.162122 732.694037,304.914594 731.195685,301.91789 C730.446509,298.921187 729.697333,295.924483 729.697333,292.178604 L777.644591,292.178604 L777.644591,290.680252 L777.644591,286.185196 C776.895415,279.442613 776.146239,274.198382 774.647887,269.703326 M729.697333,279.442613 C729.697333,277.195085 730.446509,275.696734 731.195685,273.449206 C731.944861,271.201678 733.443212,269.703326 734.941564,267.455799 C736.439916,265.957447 738.687444,264.459095 740.185796,263.709919 C743.931675,262.211567 749.925082,262.211567 753.670962,263.709919 C755.91849,264.459095 757.416841,265.957447 758.166017,267.455799 C759.664369,268.95415 760.413545,271.201678 761.162721,273.449206 C761.911897,274.947558 761.911897,277.195085 761.911897,279.442613 L729.697333,279.442613 Z M536.409949,250.224753 C515.433024,250.224753 498.951154,267.455799 498.951154,287.683548 C498.951154,308.660473 516.1822,325.142343 536.409949,325.142343 C557.386874,325.142343 573.868744,307.911298 573.868744,287.683548 C574.61792,266.706623 557.386874,250.224753 536.409949,250.224753 M536.409949,313.155529 C522.175607,313.155529 510.937968,301.91789 510.937968,287.683548 C510.937968,273.449206 522.175607,262.211567 536.409949,262.211567 C550.644291,262.211567 561.88193,273.449206 561.88193,287.683548 C561.88193,301.91789 550.644291,313.155529 536.409949,313.155529", id: "china-mobile" })])], -1)])))]), L[2] || (L[2] = e("p", { class: "login-page__tips" }, "短信验证码登录", -1)), C.auto ? (t(), a(i, { key: 0, auto: !0, host: C.host, aesKey: C.aesKey, onOnSuccess: C.success }, null, 8, ["host", "aesKey", "onOnSuccess"])) : (t(), a(i, { key: 1, onOnSend: C.sendSMS, onOnLogin: C.login }, null, 8, ["onOnSend", "onOnLogin"]))])) }, [["__scopeId", "data-v-c860df47"]]);
|
|
6
|
-
export {
|
|
7
|
-
f as default
|
|
8
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ref as r, onMounted as M, openBlock as i, createBlock as b, unref as C, withCtx as w, createElementVNode as a, toDisplayString as m, createElementBlock as u, createCommentVNode as S, Fragment as x, renderList as B, withDirectives as N, vModelText as T } from "vue";
|
|
2
|
-
import { Popup as j } from "vant";
|
|
3
|
-
import { Get as g } from "lazy-koala";
|
|
4
|
-
import { UUID as L, showToast as l, izSMS as $, CountDown as D } from "lazy-koala/leaf";
|
|
5
|
-
/* empty css */
|
|
6
|
-
const O = { class: "pay-modal__title" }, U = { class: "pay-modal__field" }, q = ["value"], V = { class: "pay-modal__field" }, z = { key: 0, class: "pay-modal__field-countdown" }, G = { __name: "PayModal", props: ["maskMobile", "info", "title", "showConfirmButton", "showCancelButton", "confirmButtonText", "cancelButtonText", "closeable", "auto", "host", "token", "pid", "goodsList", "sendSMS", "pay", "resolve", "reject", "clear"], setup(d) {
|
|
7
|
-
const e = d, v = r(!0), t = r(""), y = r(""), p = r(!1), f = r(59), c = () => {
|
|
8
|
-
v.value = !1, setTimeout(() => {
|
|
9
|
-
e.clear();
|
|
10
|
-
}, 500);
|
|
11
|
-
};
|
|
12
|
-
M(() => {
|
|
13
|
-
e.auto || (e.host ? e.reject("缺少host") : e.token ? e.reject("缺少token") : e.pid ? e.reject("缺少pid") : e.goodsList && e.reject("缺少goodsList"));
|
|
14
|
-
});
|
|
15
|
-
const _ = () => {
|
|
16
|
-
p.value || (p.value = !0, D({ timer: 59, onTick(o) {
|
|
17
|
-
f.value = o;
|
|
18
|
-
} }).then(() => {
|
|
19
|
-
f.value = 59;
|
|
20
|
-
}));
|
|
21
|
-
};
|
|
22
|
-
function k() {
|
|
23
|
-
e.auto ? p.value || (y.value = L(), g(`${e.host}/api/order/sendSmsCode?token=${e.token}`, { body: JSON.stringify({ pid: e.pid, goodsList: e.goodsList, requestNumber: y.value }) }, { loading: !0, failMsg: !1, errMsg: !0 }).then(() => {
|
|
24
|
-
l("发送成功,请注意查收"), _();
|
|
25
|
-
}, (o) => {
|
|
26
|
-
o.respMsg.includes("用户身份受限") ? l("当前号码不符合活动参与资格,请使用符合资格的号码参与活动") : l(o.respMsg);
|
|
27
|
-
})) : e.sendSMS(_);
|
|
28
|
-
}
|
|
29
|
-
function h() {
|
|
30
|
-
e.auto ? t.value ? $(t.value) ? g(`${e.host}/api/order/placeOrder?token=${e.token}`, { body: JSON.stringify({ pid: e.pid, goodsList: e.goodsList, smsCode: t.value, requestNumber: y.value }) }, { loading: !0, failMsg: !1, errMsg: !0 }).then((o) => {
|
|
31
|
-
const n = o.data[0];
|
|
32
|
-
e.resolve({ orderId: n }), c();
|
|
33
|
-
}, (o) => {
|
|
34
|
-
o.respMsg.includes("验证码不存在") ? l("验证码错误") : l(o.respMsg);
|
|
35
|
-
}) : l("请输入正确的验证码") : l("请输入验证码") : e.pay({ sms: t.value }, c);
|
|
36
|
-
}
|
|
37
|
-
return (o, n) => (i(), b(C(j), { show: v.value, "onUpdate:show": n[1] || (n[1] = (s) => v.value = s), round: "", class: "pay-modal", closeable: !1, "close-on-click-overlay": !1, position: "bottom" }, { default: w(() => [a("div", O, [a("p", null, m(d.title), 1), d.closeable ? (i(), u("span", { key: 0, onClick: c }, "×")) : S("", !0)]), (i(!0), u(x, null, B(d.info, (s) => (i(), u("div", { class: "pay-modal__info", key: s.name + Math.round() }, [a("span", null, m(s.name), 1), a("span", null, m(s.value), 1)]))), 128)), a("div", U, [a("input", { class: "pay-modal__field-input", type: "text", maxlength: "11", value: d.maskMobile, readonly: "", placeholder: "请输入手机号" }, null, 8, q)]), a("div", V, [N(a("input", { "onUpdate:modelValue": n[0] || (n[0] = (s) => t.value = s), class: "pay-modal__field-input", maxlength: "6", type: "text", placeholder: "请输入验证码" }, null, 512), [[T, t.value]]), p.value ? (i(), u("span", z, "还有" + m(f.value) + "s", 1)) : (i(), u("span", { key: 1, class: "pay-modal__field-send", onClick: k }, "获取验证码"))]), a("div", { class: "pay-modal__btns" }, [a("div", { class: "pay-modal__btn--confirm", onClick: h }, "确认下单"), a("div", { class: "pay-modal__btn--cancel", onClick: c }, "我在想想")])]), _: 1 }, 8, ["show"]));
|
|
38
|
-
} };
|
|
39
|
-
export {
|
|
40
|
-
G as default
|
|
41
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { h as d, render as e } from "vue";
|
|
2
|
-
import B from "./PayModal.vue.js";
|
|
3
|
-
const k = ({ maskMobile: n = "", info: s = [], title: l = "订购确认", showConfirmButton: c = !0, showCancelButton: a = !0, confirmButtonText: i = "确认下单", cancelButtonText: u = "我再想想", closeable: r = !1, auto: o = !1, sendSMS: f = () => {
|
|
4
|
-
}, pay: b = () => {
|
|
5
|
-
}, host: h = "", token: w = "", pid: x = "", goodsList: p = null }) => {
|
|
6
|
-
const m = () => {
|
|
7
|
-
e(null, document.body);
|
|
8
|
-
};
|
|
9
|
-
if (o) return new Promise((t, y) => {
|
|
10
|
-
const C = d(B, { maskMobile: n, info: s, title: l, showConfirmButton: c, showCancelButton: a, confirmButtonText: i, cancelButtonText: u, closeable: r, auto: o, host: h, token: w, pid: x, goodsList: p, resolve: t, reject: y, clear: m });
|
|
11
|
-
e(C, document.body);
|
|
12
|
-
});
|
|
13
|
-
{
|
|
14
|
-
const t = d(B, { maskMobile: n, info: s, title: l, showConfirmButton: c, showCancelButton: a, confirmButtonText: i, cancelButtonText: u, closeable: r, auto: o, sendSMS: f, pay: b, clear: m });
|
|
15
|
-
e(t, document.body);
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
k as PayModal
|
|
20
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ref as A, onMounted as W, openBlock as z, createElementBlock as D } from "vue";
|
|
2
|
-
const E = ["width", "height"], _ = { __name: "Turntable", props: ["wheelData", "borderWidth", "borderColor", "wheelColor", "textColor"], emits: ["mounted"], setup(x, { emit: C }) {
|
|
3
|
-
const f = x, v = C, g = A(750);
|
|
4
|
-
return W(() => {
|
|
5
|
-
const u = document.getElementById("lazy-turntable"), t = u.getContext("2d"), m = f.wheelData, k = f.borderWidth || 2, B = f.borderColor || "#ffe4d5", y = f.wheelColor || ["#ffffff", "#fff1e9"], S = f.textColor || "#fd4618", e = g.value / 2, c = u.width / 2, h = u.height / 2, M = m.length, d = 360 / M * Math.PI / 180;
|
|
6
|
-
let w = 0, p = 0, I = 0;
|
|
7
|
-
const b = [];
|
|
8
|
-
async function P() {
|
|
9
|
-
(function() {
|
|
10
|
-
let l = -Math.PI / 2 - d / 2 + w;
|
|
11
|
-
for (let o = 0; o < M; o++) {
|
|
12
|
-
const n = l + d;
|
|
13
|
-
t.fillStyle = y[o % y.length], t.beginPath(), t.moveTo(c, h), t.arc(c, h, e, l, n), t.closePath(), t.fill(), t.strokeStyle = B, t.lineWidth = k, t.stroke();
|
|
14
|
-
const a = (l + n) / 2, i = c + e / 2 * Math.cos(a), r = h + e / 2 * Math.sin(a);
|
|
15
|
-
t.save(), t.translate(i, r), t.rotate(a + Math.PI / 2), t.fillStyle = S, t.font = e / 8 + "px Arial", t.textAlign = "center", t.textBaseline = "middle", t.fillText(m[o].name, 0, -e / 3.2), t.restore(), l = n;
|
|
16
|
-
}
|
|
17
|
-
})(), function() {
|
|
18
|
-
let l = -Math.PI / 2 - d / 2 + w;
|
|
19
|
-
for (let o = 0; o < M; o++) {
|
|
20
|
-
const n = l + d, a = (l + n) / 2, i = c + e / 2 * Math.cos(a), r = h + e / 2 * Math.sin(a);
|
|
21
|
-
t.save(), t.translate(i, r), t.rotate(a + Math.PI / 2);
|
|
22
|
-
const s = b[o];
|
|
23
|
-
s && t.drawImage(s, -e / 7.5, -e / 5, e / 3.6, e / 3.6), t.restore(), l = n;
|
|
24
|
-
}
|
|
25
|
-
}();
|
|
26
|
-
}
|
|
27
|
-
function T(l) {
|
|
28
|
-
const o = performance.now();
|
|
29
|
-
I = l - 1, p = 10 * Math.PI - I * d, setTimeout(() => {
|
|
30
|
-
v("finish");
|
|
31
|
-
}, 3e3), function n(a) {
|
|
32
|
-
const i = a - o;
|
|
33
|
-
let r = Math.min(i / 3e3, 1);
|
|
34
|
-
var s;
|
|
35
|
-
r = (s = r) < 0.5 ? 2 * s * s : (4 - 2 * s) * s - 1, w = r * p, t.clearRect(c - e, h - e, 2 * e, 2 * e), P(), r < 1 ? requestAnimationFrame(n) : (w = p, t.clearRect(c - e, h - e, 2 * e, 2 * e), P());
|
|
36
|
-
}(performance.now());
|
|
37
|
-
}
|
|
38
|
-
(async function() {
|
|
39
|
-
await function() {
|
|
40
|
-
const l = [];
|
|
41
|
-
for (let o = 0; o < m.length; o++) {
|
|
42
|
-
const n = new Image();
|
|
43
|
-
n.src = m[o].pic;
|
|
44
|
-
const a = new Promise((i, r) => {
|
|
45
|
-
n.onload = () => {
|
|
46
|
-
b[o] = n, i(n);
|
|
47
|
-
}, n.onerror = (s) => {
|
|
48
|
-
i(null);
|
|
49
|
-
};
|
|
50
|
-
});
|
|
51
|
-
l.push(a);
|
|
52
|
-
}
|
|
53
|
-
return Promise.allSettled(l);
|
|
54
|
-
}(), P(), v("mounted", T);
|
|
55
|
-
})();
|
|
56
|
-
}), (u, t) => (z(), D("canvas", { id: "lazy-turntable", style: { width: "100%", height: "100%" }, width: g.value, height: g.value }, null, 8, E));
|
|
57
|
-
} };
|
|
58
|
-
export {
|
|
59
|
-
_ as default
|
|
60
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
function t() {
|
|
2
|
-
return new Promise((n, o) => {
|
|
3
|
-
if (window.leadeon) n("leadeon.js加载成功");
|
|
4
|
-
else {
|
|
5
|
-
const e = document.createElement("script");
|
|
6
|
-
e.src = "https://res.app.coc.10086.cn/appother/js/public/leadeon.js", e.type = "text/javascript", e.crossOrigin = "anonymous", e.onload = function() {
|
|
7
|
-
n("leadeon.js加载成功");
|
|
8
|
-
}, e.onerror = function() {
|
|
9
|
-
o("leadeon.js加载失败");
|
|
10
|
-
}, document.getElementsByTagName("head")[0].appendChild(e);
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function s() {
|
|
15
|
-
return new Promise((n, o) => {
|
|
16
|
-
if (window.showCommonShareBox) n("share.js加载成功");
|
|
17
|
-
else {
|
|
18
|
-
const e = document.createElement("script");
|
|
19
|
-
e.src = "https://wap.cq.10086.cn/mapp/activities/act2023/share/js/share.js", e.type = "text/javascript", e.crossOrigin = "anonymous", e.onload = function() {
|
|
20
|
-
n("share.js加载成功");
|
|
21
|
-
}, e.onerror = function() {
|
|
22
|
-
o("share.js加载失败");
|
|
23
|
-
}, document.getElementsByTagName("head")[0].appendChild(e);
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
t as addLeadeonScript,
|
|
29
|
-
s as addShareScript
|
|
30
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Get as u } from "lazy-koala";
|
|
2
|
-
import { inCMCC as f, SearchParams as h, HashParams as v, UrlParams as g } from "lazy-koala/leaf";
|
|
3
|
-
import { addLeadeonScript as y } from "./addScript.js";
|
|
4
|
-
const i = { urlToken: { name: "token", position: "all", type: "cq" }, myToken: { name: "mytoken", position: "all" }, appToken: { sourceId: "" }, sessToken: { name: "token", position: "session" }, mcToken: { name: "mctoken", position: "all" }, host: "" };
|
|
5
|
-
function d(o, e) {
|
|
6
|
-
return e === "search" ? h(o) : e === "hash" ? v(o) : e === "all" ? g(o) : void 0;
|
|
7
|
-
}
|
|
8
|
-
function J(o = {}) {
|
|
9
|
-
return Object.keys(i).forEach((e) => {
|
|
10
|
-
o[e] = i[e] instanceof Object ? Object.assign(i[e], o[e]) : o[e] || i[e];
|
|
11
|
-
}), new Promise((e, t) => {
|
|
12
|
-
if (!o.host) return void t("缺少host");
|
|
13
|
-
const p = (a = o.sessToken).position === "local" ? localStorage.getItem(a.name) : a.position === "session" ? sessionStorage.getItem(a.name) : void 0;
|
|
14
|
-
var a;
|
|
15
|
-
if (p) return void e({ token: p, from: "sessToken" });
|
|
16
|
-
const T = d(o.mcToken.name, o.mcToken.position);
|
|
17
|
-
if (T) return void e({ token: T, from: "mcToken" });
|
|
18
|
-
const c = d(o.urlToken.name, o.urlToken.position);
|
|
19
|
-
if (c) return void u(`${o.host}/api/user/loginReturnJsonToken`, { from: o.urlToken.type === "jt" ? "JT" : "CQAPP", data: o.urlToken.type === "jt" ? c : JSON.stringify({ ticket: c }) }).then((n) => {
|
|
20
|
-
e({ token: n.data, from: "urlToken" });
|
|
21
|
-
}).catch((n) => {
|
|
22
|
-
t(n);
|
|
23
|
-
});
|
|
24
|
-
const l = d(o.myToken.name, o.myToken.position);
|
|
25
|
-
if (!l) return f() ? o.appToken.sourceId ? void y().then(() => {
|
|
26
|
-
var n;
|
|
27
|
-
(n = o.appToken.sourceId, new Promise((r, s) => {
|
|
28
|
-
leadeon.checkSessionIsvalid({ debug: !1, success: function(m) {
|
|
29
|
-
String(m.status) === "1" && leadeon.getYDRZToken({ debug: !1, sourceId: n, success: function(k) {
|
|
30
|
-
r(k.token);
|
|
31
|
-
}, error: function(k) {
|
|
32
|
-
s(k);
|
|
33
|
-
} });
|
|
34
|
-
}, error: function(m) {
|
|
35
|
-
s(m);
|
|
36
|
-
} });
|
|
37
|
-
})).then((r) => {
|
|
38
|
-
u(`${o.host}/api/user/loginReturnJsonToken`, { from: "JT", data: r }).then((s) => {
|
|
39
|
-
e({ token: s.data, from: "appToken" });
|
|
40
|
-
}).catch((s) => {
|
|
41
|
-
t(s);
|
|
42
|
-
});
|
|
43
|
-
}).catch((r) => t(r));
|
|
44
|
-
}).catch((n) => t(n)) : void t("缺少sourceId") : void t("未登录");
|
|
45
|
-
u(`${o.host}/api/user/entryFromThirdPartyJson`, { data: l }).then((n) => {
|
|
46
|
-
e({ token: n.data, from: "urlToken" });
|
|
47
|
-
}).catch((n) => {
|
|
48
|
-
t(n);
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
J as converToken
|
|
54
|
-
};
|