@huyooo/ui 4.0.3 → 4.0.5
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/{AuthkitAppSetting-Mt0Npsrg.js → AuthkitAppSetting-B7xyx5Kb.js} +7 -7
- package/dist/{CustomTable-DWiyrYnW.js → CustomTable-FlfUde4Q.js} +2 -2
- package/dist/{FeedbackModal.vue_vue_type_script_setup_true_lang-Cw2KkPEV.js → FeedbackModal.vue_vue_type_script_setup_true_lang-BBmobezM.js} +4 -4
- package/dist/{LandingPageLinkGroup-CVktmuZn.js → LandingPageLinkGroup-DBhikoiz.js} +190 -209
- package/dist/{LandingPageSectionTabs-dSiKXmAa.js → LandingPageSectionTabs-BwStYRXA.js} +362 -366
- package/dist/{LegalDocViewer-Dg5IUUsW.js → LegalDocViewer-BPbrJ2tj.js} +10 -10
- package/dist/{PaySubscriptions-D1jt316F.js → PaySubscriptions-CPH1wESx.js} +4 -4
- package/dist/{PricingPlans-DuVbKs34.js → PricingPlans-Cb2qrkmu.js} +3 -3
- package/dist/{ReferrerReferees-QPRxJ-CP.js → ReferrerReferees-B2OR30NV.js} +3 -3
- package/dist/{Report-DjNFwR2V.js → Report-C5RbZNpM.js} +105 -112
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-BIRnaBoz.js → Upload.vue_vue_type_script_setup_true_lang-BygtAblQ.js} +1 -1
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-CGWtJ2il.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DxvHvsQm.js} +6 -6
- package/dist/{WidthContainer-BwYM1SLO.js → WidthContainer-DtKLf5Ub.js} +10 -10
- package/dist/authkit.js +8 -8
- package/dist/common/globalConfig.d.ts +5 -0
- package/dist/common.js +2 -2
- package/dist/components/LandingPage/LandingPageFooterContact.vue.d.ts +0 -20
- package/dist/composables/Authkit/useLegalDocs.d.ts +1 -1
- package/dist/composables.d.ts +2 -0
- package/dist/composables.js +60 -54
- package/dist/feedback.js +2 -2
- package/dist/{fetchAuthPageAboutUs-D_l0X2Xq.js → fetchAuthPageAboutUs-DD-MwyiG.js} +2 -2
- package/dist/{index-C81Mrlvt.js → index-ClOjruo3.js} +1 -1
- package/dist/{index-hjdpP8PD.js → index-CncbUu-V.js} +1 -1
- package/dist/landingPage.js +2 -2
- package/dist/legalDocs/buildBuiltinUrl.d.ts +1 -1
- package/dist/main.js +306 -300
- package/dist/pay.js +3 -3
- package/dist/privateCom.js +1 -1
- package/dist/publicReport-ZlMy0xQf.js +32 -0
- package/dist/referrer.js +1 -1
- package/dist/{runtime-DgASwLjo.js → runtime-CfbHkmk9.js} +2 -1
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +250 -43
- package/dist/upload.js +2 -2
- package/dist/{useAccessPosture-DZj1K8tj.js → useAccessPosture-NSPnmu0I.js} +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-Dmm9xVjp.js → useAuthkitAppsAuthPageInfo-Cg40bxCJ.js} +1 -1
- package/dist/{useAuthkitAuth-DkP0hwv-.js → useAuthkitAuth-C5oUnl8U.js} +1 -1
- package/dist/{useAuthkitUsersProfile-CR4lcY7Y.js → useAuthkitUsersProfile-BWNVk2UM.js} +1 -1
- package/dist/{useEnsureAuthenticated-DV2hKAPd.js → useEnsureAuthenticated-CQWINiHB.js} +1 -1
- package/dist/useLegalDocs-ky2EzBke.js +114 -0
- package/dist/{usePageSEO-DEFnaFKf.js → usePageSEO-CWLQAmET.js} +1 -1
- package/dist/{useRoutePermission-BicvPoLI.js → useRoutePermission-K-Eu4pRD.js} +3 -3
- package/dist/{useSubscriptionCheckout-BCGpYG5C.js → useSubscriptionCheckout-BcN8cRMV.js} +1 -1
- package/dist/user.js +1 -1
- package/dist/utils/requiredFooterLinks.d.ts +11 -0
- package/package.json +1 -1
- package/dist/useLegalDocs-DAxt9_gM.js +0 -107
|
@@ -1,54 +1,65 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as L, openBlock as o, createElementBlock as i, createVNode as d, unref as m, createElementVNode as s, toDisplayString as f, Fragment as x, renderList as V, createBlock as z, normalizeClass as S, withCtx as v, createTextVNode as D, renderSlot as C, ref as k, createCommentVNode as T, normalizeStyle as Y, computed as O } from "vue";
|
|
2
2
|
import { Icon as P } from "@iconify/vue";
|
|
3
3
|
import { _ as y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { D as R } from "./LandingPageDescription-BczWZHKy.js";
|
|
5
5
|
import { L as G } from "./Logo-B9DFBxDU.js";
|
|
6
6
|
import { g as M } from "./apiClients-5u4_uxFE.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import "./index-
|
|
8
|
+
import "./index-ClOjruo3.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { Form as q, FormItem as w, Input as
|
|
10
|
+
import { Form as q, FormItem as w, Input as F, Textarea as N, Button as E, DatePicker as j } from "@arco-design/web-vue";
|
|
11
11
|
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { useRouter as W } from "vue-router";
|
|
14
|
-
const J = {
|
|
14
|
+
const J = /^1[3-9]\d{9}$/, K = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
15
|
+
function Q(e) {
|
|
16
|
+
return K.test(e.trim());
|
|
17
|
+
}
|
|
18
|
+
function X(e) {
|
|
19
|
+
return J.test(e.trim());
|
|
20
|
+
}
|
|
21
|
+
function Z(e) {
|
|
22
|
+
const t = e.trim();
|
|
23
|
+
return t ? Q(t) || X(t) : !0;
|
|
24
|
+
}
|
|
25
|
+
const ee = {
|
|
15
26
|
description: "",
|
|
16
27
|
class: "mission-list-item"
|
|
17
|
-
},
|
|
28
|
+
}, te = {
|
|
18
29
|
class: "mission-list-text"
|
|
19
|
-
},
|
|
30
|
+
}, ae = /* @__PURE__ */ L({
|
|
20
31
|
__name: "LandingPageListItem",
|
|
21
32
|
props: {
|
|
22
33
|
description: {
|
|
23
34
|
default: ""
|
|
24
35
|
}
|
|
25
36
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const
|
|
28
|
-
return (a, r) => (o(), i("div",
|
|
37
|
+
setup(e) {
|
|
38
|
+
const t = e;
|
|
39
|
+
return (a, r) => (o(), i("div", ee, [d(m(P), {
|
|
29
40
|
icon: "mingcute:check-circle-fill",
|
|
30
41
|
class: "mission-list-icon"
|
|
31
|
-
}), s("span",
|
|
42
|
+
}), s("span", te, f(t.description), 1)]));
|
|
32
43
|
}
|
|
33
|
-
}),
|
|
44
|
+
}), oe = /* @__PURE__ */ y(ae, [["__scopeId", "data-v-60bfd053"]]), ne = {
|
|
34
45
|
class: "mission-container"
|
|
35
|
-
},
|
|
46
|
+
}, se = {
|
|
36
47
|
class: "mission-image-wrapper"
|
|
37
|
-
},
|
|
48
|
+
}, ie = ["src", "alt"], le = {
|
|
38
49
|
class: "mission-content"
|
|
39
|
-
},
|
|
50
|
+
}, re = {
|
|
40
51
|
class: "mission-title"
|
|
41
|
-
},
|
|
52
|
+
}, ce = {
|
|
42
53
|
class: "mission-title-highlight"
|
|
43
|
-
},
|
|
54
|
+
}, de = {
|
|
44
55
|
class: "mission-desc"
|
|
45
|
-
},
|
|
56
|
+
}, ue = {
|
|
46
57
|
class: "mission-list"
|
|
47
|
-
},
|
|
58
|
+
}, me = {
|
|
48
59
|
style: {
|
|
49
60
|
display: "none"
|
|
50
61
|
}
|
|
51
|
-
},
|
|
62
|
+
}, fe = /* @__PURE__ */ L({
|
|
52
63
|
__name: "LandingPageMission",
|
|
53
64
|
props: {
|
|
54
65
|
image: {},
|
|
@@ -58,51 +69,51 @@ const J = {
|
|
|
58
69
|
description: {},
|
|
59
70
|
features: {}
|
|
60
71
|
},
|
|
61
|
-
setup(
|
|
62
|
-
return (
|
|
72
|
+
setup(e) {
|
|
73
|
+
return (t, a) => (o(), i("div", ne, [s("div", se, [a[0] || (a[0] = s("div", {
|
|
63
74
|
class: "mission-bg1"
|
|
64
75
|
}, null, -1)), s("img", {
|
|
65
|
-
src:
|
|
66
|
-
alt:
|
|
76
|
+
src: e.image,
|
|
77
|
+
alt: e.imageAlt,
|
|
67
78
|
loading: "lazy",
|
|
68
79
|
width: "1270",
|
|
69
80
|
decoding: "async",
|
|
70
81
|
class: "mission-img"
|
|
71
|
-
}, null, 8,
|
|
82
|
+
}, null, 8, ie)]), s("div", le, [s("h2", re, [s("span", ce, f(e.highlight), 1), s("strong", null, f(e.title), 1)]), s("p", de, f(e.description), 1), s("div", ue, [(o(!0), i(x, null, V(e.features, (r, $) => (o(), z(oe, {
|
|
72
83
|
key: $,
|
|
73
84
|
description: r
|
|
74
|
-
}, null, 8, ["description"]))), 128))])]), (o(), i("svg",
|
|
85
|
+
}, null, 8, ["description"]))), 128))])]), (o(), i("svg", me, [...a[1] || (a[1] = [s("symbol", {
|
|
75
86
|
id: "ai:ph:check-circle-fill"
|
|
76
87
|
}, [s("path", {
|
|
77
88
|
fill: "currentColor",
|
|
78
89
|
d: "M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m45.66 85.66l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32"
|
|
79
90
|
})], -1)])]))]));
|
|
80
91
|
}
|
|
81
|
-
}), Pt = /* @__PURE__ */ y(
|
|
92
|
+
}), Pt = /* @__PURE__ */ y(fe, [["__scopeId", "data-v-8d215ca2"]]), pe = {
|
|
82
93
|
class: "team-info-container"
|
|
83
|
-
},
|
|
94
|
+
}, _e = {
|
|
84
95
|
class: "team-info-title"
|
|
85
|
-
},
|
|
96
|
+
}, ge = {
|
|
86
97
|
class: "team-info-desc"
|
|
87
|
-
},
|
|
98
|
+
}, he = /* @__PURE__ */ L({
|
|
88
99
|
__name: "LandingPageTeamInfo",
|
|
89
100
|
props: {
|
|
90
101
|
title: {},
|
|
91
102
|
description: {}
|
|
92
103
|
},
|
|
93
|
-
setup(
|
|
94
|
-
const
|
|
95
|
-
return (a, r) => (o(), i("div",
|
|
104
|
+
setup(e) {
|
|
105
|
+
const t = e;
|
|
106
|
+
return (a, r) => (o(), i("div", pe, [s("div", _e, f(t.title), 1), s("p", ge, f(t.description), 1)]));
|
|
96
107
|
}
|
|
97
|
-
}), Vt = /* @__PURE__ */ y(
|
|
108
|
+
}), Vt = /* @__PURE__ */ y(he, [["__scopeId", "data-v-b6a418e6"]]), ve = {
|
|
98
109
|
class: "grid-container"
|
|
99
|
-
},
|
|
110
|
+
}, ye = {
|
|
100
111
|
class: "square"
|
|
101
|
-
},
|
|
112
|
+
}, $e = ["src", "alt", "sizes", "width", "height"], Le = {
|
|
102
113
|
class: "footer"
|
|
103
|
-
},
|
|
114
|
+
}, be = {
|
|
104
115
|
class: "name"
|
|
105
|
-
},
|
|
116
|
+
}, ke = /* @__PURE__ */ L({
|
|
106
117
|
__name: "LandingPageTeamList",
|
|
107
118
|
props: {
|
|
108
119
|
publishedTeamMembers: {},
|
|
@@ -111,25 +122,25 @@ const J = {
|
|
|
111
122
|
height: {},
|
|
112
123
|
pictureClass: {}
|
|
113
124
|
},
|
|
114
|
-
setup(
|
|
115
|
-
return (
|
|
125
|
+
setup(e) {
|
|
126
|
+
return (t, a) => (o(), i("div", ve, [(o(!0), i(x, null, V(e.publishedTeamMembers, (r) => (o(), i("div", {
|
|
116
127
|
key: r.data.name,
|
|
117
128
|
class: "group"
|
|
118
|
-
}, [s("div",
|
|
129
|
+
}, [s("div", ye, [s("img", {
|
|
119
130
|
src: r.data.avatar.src,
|
|
120
131
|
alt: r.data.avatar.alt,
|
|
121
|
-
sizes:
|
|
122
|
-
width:
|
|
123
|
-
height:
|
|
124
|
-
class:
|
|
125
|
-
}, null, 10,
|
|
132
|
+
sizes: e.sizes,
|
|
133
|
+
width: e.width,
|
|
134
|
+
height: e.height,
|
|
135
|
+
class: S(e.pictureClass ? `${e.pictureClass} picture-img` : "picture-img")
|
|
136
|
+
}, null, 10, $e)]), s("div", Le, [s("h2", be, f(r.data.name), 1), d(R, null, {
|
|
126
137
|
default: v(() => [D(f(r.data.title), 1)]),
|
|
127
138
|
_: 2
|
|
128
139
|
}, 1024)])]))), 128))]));
|
|
129
140
|
}
|
|
130
|
-
}), Dt = /* @__PURE__ */ y(
|
|
141
|
+
}), Dt = /* @__PURE__ */ y(ke, [["__scopeId", "data-v-89ca8f8c"]]), Ie = {
|
|
131
142
|
class: "BrandInfo"
|
|
132
|
-
},
|
|
143
|
+
}, Ce = /* @__PURE__ */ L({
|
|
133
144
|
__name: "LandingPageBrandInfo",
|
|
134
145
|
props: {
|
|
135
146
|
icon: {
|
|
@@ -158,36 +169,36 @@ const J = {
|
|
|
158
169
|
default: "32px"
|
|
159
170
|
}
|
|
160
171
|
},
|
|
161
|
-
setup(
|
|
162
|
-
const
|
|
163
|
-
return (a, r) => (o(), i("div",
|
|
164
|
-
icon:
|
|
165
|
-
name:
|
|
166
|
-
color:
|
|
167
|
-
"font-size":
|
|
168
|
-
"icon-size":
|
|
172
|
+
setup(e) {
|
|
173
|
+
const t = e;
|
|
174
|
+
return (a, r) => (o(), i("div", Ie, [d(G, {
|
|
175
|
+
icon: t.icon,
|
|
176
|
+
name: t.name,
|
|
177
|
+
color: t.color,
|
|
178
|
+
"font-size": t.fontSize,
|
|
179
|
+
"icon-size": t.iconSize
|
|
169
180
|
}, null, 8, ["icon", "name", "color", "font-size", "icon-size"]), d(R, null, {
|
|
170
|
-
default: v(() => [D(f(
|
|
181
|
+
default: v(() => [D(f(t.description), 1)]),
|
|
171
182
|
_: 1
|
|
172
183
|
})]));
|
|
173
184
|
}
|
|
174
|
-
}),
|
|
185
|
+
}), Tt = /* @__PURE__ */ y(Ce, [["__scopeId", "data-v-9f0b94b0"]]), xe = {
|
|
175
186
|
class: "contact-container"
|
|
176
|
-
},
|
|
187
|
+
}, we = {
|
|
177
188
|
class: "contact-info-section"
|
|
178
|
-
},
|
|
189
|
+
}, Pe = {
|
|
179
190
|
class: "contact-title"
|
|
180
|
-
},
|
|
191
|
+
}, Ve = {
|
|
181
192
|
class: "contact-info"
|
|
182
|
-
},
|
|
193
|
+
}, De = {
|
|
183
194
|
class: "contact-info-item"
|
|
184
|
-
},
|
|
195
|
+
}, Te = {
|
|
185
196
|
class: "contact-info-item"
|
|
186
|
-
},
|
|
197
|
+
}, Fe = ["href"], Se = {
|
|
187
198
|
class: "contact-info-item"
|
|
188
|
-
},
|
|
199
|
+
}, ze = ["href"], Re = ["href", "target", "rel"], Ae = ["onClick"], Be = {
|
|
189
200
|
class: "contact-form-section"
|
|
190
|
-
},
|
|
201
|
+
}, Me = /* @__PURE__ */ L({
|
|
191
202
|
__name: "LandingPageContact",
|
|
192
203
|
props: {
|
|
193
204
|
title: {
|
|
@@ -225,95 +236,95 @@ const J = {
|
|
|
225
236
|
}
|
|
226
237
|
},
|
|
227
238
|
emits: ["extraClick"],
|
|
228
|
-
setup(
|
|
229
|
-
emit:
|
|
239
|
+
setup(e, {
|
|
240
|
+
emit: t
|
|
230
241
|
}) {
|
|
231
|
-
const a =
|
|
232
|
-
return ($, l) => (o(), i("div",
|
|
242
|
+
const a = e, r = t;
|
|
243
|
+
return ($, l) => (o(), i("div", xe, [s("div", we, [s("h2", Pe, f(a.contact.title), 1), d(R, null, {
|
|
233
244
|
default: v(() => [D(f(a.contact.description), 1)]),
|
|
234
245
|
_: 1
|
|
235
|
-
}), s("div",
|
|
246
|
+
}), s("div", Ve, [s("div", De, [d(m(P), {
|
|
236
247
|
class: "contact-info-icon",
|
|
237
|
-
icon:
|
|
238
|
-
}, null, 8, ["icon"]), s("span", null, f(a.address), 1)]), s("div",
|
|
248
|
+
icon: e.mapIcon
|
|
249
|
+
}, null, 8, ["icon"]), s("span", null, f(a.address), 1)]), s("div", Te, [d(m(P), {
|
|
239
250
|
class: "contact-info-icon",
|
|
240
251
|
icon: a.emailIcon
|
|
241
252
|
}, null, 8, ["icon"]), s("a", {
|
|
242
|
-
href: `mailto:${
|
|
243
|
-
}, f(a.email), 9,
|
|
253
|
+
href: `mailto:${e.email}`
|
|
254
|
+
}, f(a.email), 9, Fe)]), s("div", Se, [d(m(P), {
|
|
244
255
|
class: "contact-info-icon",
|
|
245
256
|
icon: a.phoneIcon
|
|
246
257
|
}, null, 8, ["icon"]), s("a", {
|
|
247
|
-
href: `tel:${
|
|
248
|
-
}, f(a.phone), 9,
|
|
249
|
-
key:
|
|
258
|
+
href: `tel:${e.phone}`
|
|
259
|
+
}, f(a.phone), 9, ze)]), (o(!0), i(x, null, V(e.extraItems, (p) => (o(), i("div", {
|
|
260
|
+
key: p.id,
|
|
250
261
|
class: "contact-info-item"
|
|
251
262
|
}, [d(m(P), {
|
|
252
263
|
class: "contact-info-icon",
|
|
253
|
-
icon:
|
|
254
|
-
}, null, 8, ["icon"]),
|
|
264
|
+
icon: p.icon
|
|
265
|
+
}, null, 8, ["icon"]), p.href ? (o(), i("a", {
|
|
255
266
|
key: 0,
|
|
256
|
-
href:
|
|
257
|
-
target:
|
|
258
|
-
rel:
|
|
259
|
-
}, f(
|
|
267
|
+
href: p.href,
|
|
268
|
+
target: p.target,
|
|
269
|
+
rel: p.target === "_blank" ? "noopener noreferrer" : void 0
|
|
270
|
+
}, f(p.label), 9, Re)) : (o(), i("button", {
|
|
260
271
|
key: 1,
|
|
261
272
|
type: "button",
|
|
262
273
|
class: "contact-info-action",
|
|
263
|
-
onClick: (
|
|
264
|
-
}, f(
|
|
274
|
+
onClick: (_) => r("extraClick", p.id)
|
|
275
|
+
}, f(p.label), 9, Ae))]))), 128))])]), s("div", Be, [C($.$slots, "contact-form", {}, void 0, !0)])]));
|
|
265
276
|
}
|
|
266
|
-
}),
|
|
277
|
+
}), Ft = /* @__PURE__ */ y(Me, [["__scopeId", "data-v-e3766943"]]), U = {
|
|
267
278
|
meta: {
|
|
268
279
|
silentError: !0
|
|
269
280
|
}
|
|
270
281
|
};
|
|
271
|
-
async function
|
|
272
|
-
return M().ones.feedbackCenter.public.contact.post(
|
|
282
|
+
async function qe(e) {
|
|
283
|
+
return M().ones.feedbackCenter.public.contact.post(e, U);
|
|
273
284
|
}
|
|
274
|
-
async function
|
|
275
|
-
return M().ones.feedbackCenter.public.report.post(
|
|
285
|
+
async function Ne(e) {
|
|
286
|
+
return M().ones.feedbackCenter.public.report.post(e, U);
|
|
276
287
|
}
|
|
277
|
-
const
|
|
288
|
+
const Ee = /* @__PURE__ */ L({
|
|
278
289
|
__name: "LandingPageContactForm",
|
|
279
|
-
setup(
|
|
280
|
-
const
|
|
290
|
+
setup(e) {
|
|
291
|
+
const t = k(), a = k(!1), r = k(""), $ = k(""), l = k({
|
|
281
292
|
name: "",
|
|
282
293
|
email: "",
|
|
283
294
|
message: ""
|
|
284
295
|
});
|
|
285
|
-
function
|
|
296
|
+
function p() {
|
|
286
297
|
var n, u;
|
|
287
298
|
l.value = {
|
|
288
299
|
name: "",
|
|
289
300
|
email: "",
|
|
290
301
|
message: ""
|
|
291
|
-
}, (u = (n =
|
|
302
|
+
}, (u = (n = t.value) == null ? void 0 : n.resetFields) == null || u.call(n);
|
|
292
303
|
}
|
|
293
|
-
function
|
|
304
|
+
function _(n, u) {
|
|
294
305
|
$.value = n ? "text-green" : "text-red", r.value = u, window.setTimeout(() => {
|
|
295
306
|
r.value = "";
|
|
296
307
|
}, 5e3);
|
|
297
308
|
}
|
|
298
309
|
async function I() {
|
|
299
310
|
var u;
|
|
300
|
-
if (!await ((u =
|
|
311
|
+
if (!await ((u = t.value) == null ? void 0 : u.validate())) {
|
|
301
312
|
a.value = !0;
|
|
302
313
|
try {
|
|
303
314
|
const {
|
|
304
|
-
error:
|
|
305
|
-
} = await
|
|
315
|
+
error: b
|
|
316
|
+
} = await qe({
|
|
306
317
|
name: l.value.name.trim(),
|
|
307
318
|
email: l.value.email.trim(),
|
|
308
319
|
message: l.value.message.trim()
|
|
309
320
|
});
|
|
310
|
-
if (!
|
|
311
|
-
|
|
321
|
+
if (!b) {
|
|
322
|
+
_(!0, "消息发送成功!我们会尽快回复您。"), p();
|
|
312
323
|
return;
|
|
313
324
|
}
|
|
314
|
-
|
|
325
|
+
_(!1, b.message || "发送失败,请检查网络连接后重试。");
|
|
315
326
|
} catch {
|
|
316
|
-
|
|
327
|
+
_(!1, "发送失败,请稍后再试!");
|
|
317
328
|
} finally {
|
|
318
329
|
a.value = !1;
|
|
319
330
|
}
|
|
@@ -321,7 +332,7 @@ const Ae = /* @__PURE__ */ b({
|
|
|
321
332
|
}
|
|
322
333
|
return (n, u) => (o(), z(m(q), {
|
|
323
334
|
ref_key: "formRef",
|
|
324
|
-
ref:
|
|
335
|
+
ref: t,
|
|
325
336
|
class: "contact-form",
|
|
326
337
|
model: l.value,
|
|
327
338
|
layout: "vertical"
|
|
@@ -334,9 +345,9 @@ const Ae = /* @__PURE__ */ b({
|
|
|
334
345
|
message: "请输入您的姓名"
|
|
335
346
|
}]
|
|
336
347
|
}, {
|
|
337
|
-
default: v(() => [d(m(
|
|
348
|
+
default: v(() => [d(m(F), {
|
|
338
349
|
modelValue: l.value.name,
|
|
339
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
350
|
+
"onUpdate:modelValue": u[0] || (u[0] = (b) => l.value.name = b),
|
|
340
351
|
placeholder: "请输入您的姓名",
|
|
341
352
|
"allow-clear": ""
|
|
342
353
|
}, null, 8, ["modelValue"])]),
|
|
@@ -352,9 +363,9 @@ const Ae = /* @__PURE__ */ b({
|
|
|
352
363
|
message: "请输入有效的邮箱地址"
|
|
353
364
|
}]
|
|
354
365
|
}, {
|
|
355
|
-
default: v(() => [d(m(
|
|
366
|
+
default: v(() => [d(m(F), {
|
|
356
367
|
modelValue: l.value.email,
|
|
357
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
368
|
+
"onUpdate:modelValue": u[1] || (u[1] = (b) => l.value.email = b),
|
|
358
369
|
placeholder: "请输入您的邮箱地址",
|
|
359
370
|
"allow-clear": ""
|
|
360
371
|
}, null, 8, ["modelValue"])]),
|
|
@@ -369,7 +380,7 @@ const Ae = /* @__PURE__ */ b({
|
|
|
369
380
|
}, {
|
|
370
381
|
default: v(() => [d(m(N), {
|
|
371
382
|
modelValue: l.value.message,
|
|
372
|
-
"onUpdate:modelValue": u[2] || (u[2] = (
|
|
383
|
+
"onUpdate:modelValue": u[2] || (u[2] = (b) => l.value.message = b),
|
|
373
384
|
placeholder: "请输入您的留言内容",
|
|
374
385
|
"auto-size": {
|
|
375
386
|
minRows: 4
|
|
@@ -377,7 +388,7 @@ const Ae = /* @__PURE__ */ b({
|
|
|
377
388
|
"allow-clear": ""
|
|
378
389
|
}, null, 8, ["modelValue"])]),
|
|
379
390
|
_: 1
|
|
380
|
-
}), d(m(
|
|
391
|
+
}), d(m(E), {
|
|
381
392
|
type: "primary",
|
|
382
393
|
loading: a.value,
|
|
383
394
|
onClick: I
|
|
@@ -386,38 +397,27 @@ const Ae = /* @__PURE__ */ b({
|
|
|
386
397
|
_: 1
|
|
387
398
|
}, 8, ["loading"]), r.value ? (o(), i("div", {
|
|
388
399
|
key: 0,
|
|
389
|
-
class:
|
|
390
|
-
}, f(r.value), 3)) :
|
|
400
|
+
class: S(["form-result", $.value])
|
|
401
|
+
}, f(r.value), 3)) : T("", !0)]),
|
|
391
402
|
_: 1
|
|
392
403
|
}, 8, ["model"]));
|
|
393
404
|
}
|
|
394
|
-
}),
|
|
395
|
-
function qe(t) {
|
|
396
|
-
return Me.test(t.trim());
|
|
397
|
-
}
|
|
398
|
-
function Ne(t) {
|
|
399
|
-
return Be.test(t.trim());
|
|
400
|
-
}
|
|
401
|
-
function Ue(t) {
|
|
402
|
-
const e = t.trim();
|
|
403
|
-
return e ? qe(e) || Ne(e) : !0;
|
|
404
|
-
}
|
|
405
|
-
const Ee = /* @__PURE__ */ b({
|
|
405
|
+
}), St = /* @__PURE__ */ y(Ee, [["__scopeId", "data-v-7ef1c29b"]]), Ue = /* @__PURE__ */ L({
|
|
406
406
|
__name: "LandingPageReportForm",
|
|
407
|
-
setup(
|
|
408
|
-
const
|
|
407
|
+
setup(e) {
|
|
408
|
+
const t = k(), a = k(!1), r = k(""), $ = k(""), l = k({
|
|
409
409
|
location: "",
|
|
410
410
|
occurredAt: "",
|
|
411
411
|
detail: "",
|
|
412
412
|
contact: ""
|
|
413
413
|
});
|
|
414
|
-
function
|
|
414
|
+
function p(g) {
|
|
415
415
|
const c = /* @__PURE__ */ new Date();
|
|
416
416
|
c.setHours(0, 0, 0, 0);
|
|
417
417
|
const h = new Date(g);
|
|
418
418
|
return h.setHours(0, 0, 0, 0), h.getTime() > c.getTime();
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function _(g, c) {
|
|
421
421
|
if (!g) {
|
|
422
422
|
c();
|
|
423
423
|
return;
|
|
@@ -430,7 +430,7 @@ const Ee = /* @__PURE__ */ b({
|
|
|
430
430
|
c();
|
|
431
431
|
}
|
|
432
432
|
function I(g, c) {
|
|
433
|
-
if (typeof g == "string" &&
|
|
433
|
+
if (typeof g == "string" && Z(g)) {
|
|
434
434
|
c();
|
|
435
435
|
return;
|
|
436
436
|
}
|
|
@@ -443,21 +443,21 @@ const Ee = /* @__PURE__ */ b({
|
|
|
443
443
|
occurredAt: "",
|
|
444
444
|
detail: "",
|
|
445
445
|
contact: ""
|
|
446
|
-
}, (c = (g =
|
|
446
|
+
}, (c = (g = t.value) == null ? void 0 : g.resetFields) == null || c.call(g);
|
|
447
447
|
}
|
|
448
448
|
function u(g, c) {
|
|
449
449
|
$.value = g ? "text-green" : "text-red", r.value = c, window.setTimeout(() => {
|
|
450
450
|
r.value = "";
|
|
451
451
|
}, 5e3);
|
|
452
452
|
}
|
|
453
|
-
async function
|
|
453
|
+
async function b() {
|
|
454
454
|
var c;
|
|
455
|
-
if (!await ((c =
|
|
455
|
+
if (!await ((c = t.value) == null ? void 0 : c.validate())) {
|
|
456
456
|
a.value = !0;
|
|
457
457
|
try {
|
|
458
458
|
const h = l.value.contact.trim(), H = l.value.occurredAt.trim(), {
|
|
459
459
|
error: A
|
|
460
|
-
} = await
|
|
460
|
+
} = await Ne({
|
|
461
461
|
location: l.value.location.trim(),
|
|
462
462
|
occurredAt: H || void 0,
|
|
463
463
|
detail: l.value.detail.trim(),
|
|
@@ -477,7 +477,7 @@ const Ee = /* @__PURE__ */ b({
|
|
|
477
477
|
}
|
|
478
478
|
return (g, c) => (o(), z(m(q), {
|
|
479
479
|
ref_key: "formRef",
|
|
480
|
-
ref:
|
|
480
|
+
ref: t,
|
|
481
481
|
class: "contact-form",
|
|
482
482
|
model: l.value,
|
|
483
483
|
layout: "vertical"
|
|
@@ -490,7 +490,7 @@ const Ee = /* @__PURE__ */ b({
|
|
|
490
490
|
message: "请填写被举报内容出现的位置"
|
|
491
491
|
}]
|
|
492
492
|
}, {
|
|
493
|
-
default: v(() => [d(m(
|
|
493
|
+
default: v(() => [d(m(F), {
|
|
494
494
|
modelValue: l.value.location,
|
|
495
495
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => l.value.location = h),
|
|
496
496
|
placeholder: "页面地址、会话链接或功能名称",
|
|
@@ -502,7 +502,7 @@ const Ee = /* @__PURE__ */ b({
|
|
|
502
502
|
label: "出现时间",
|
|
503
503
|
extra: "选填,精确到分钟",
|
|
504
504
|
rules: [{
|
|
505
|
-
validator:
|
|
505
|
+
validator: _
|
|
506
506
|
}]
|
|
507
507
|
}, {
|
|
508
508
|
default: v(() => [d(m(j), {
|
|
@@ -512,7 +512,7 @@ const Ee = /* @__PURE__ */ b({
|
|
|
512
512
|
format: "YYYY-MM-DD HH:mm",
|
|
513
513
|
"value-format": "YYYY-MM-DD HH:mm",
|
|
514
514
|
placeholder: "请选择出现时间",
|
|
515
|
-
"disabled-date":
|
|
515
|
+
"disabled-date": p,
|
|
516
516
|
style: {
|
|
517
517
|
width: "100%"
|
|
518
518
|
}
|
|
@@ -544,28 +544,28 @@ const Ee = /* @__PURE__ */ b({
|
|
|
544
544
|
validator: I
|
|
545
545
|
}]
|
|
546
546
|
}, {
|
|
547
|
-
default: v(() => [d(m(
|
|
547
|
+
default: v(() => [d(m(F), {
|
|
548
548
|
modelValue: l.value.contact,
|
|
549
549
|
"onUpdate:modelValue": c[3] || (c[3] = (h) => l.value.contact = h),
|
|
550
550
|
placeholder: "邮箱或 11 位手机号",
|
|
551
551
|
"allow-clear": ""
|
|
552
552
|
}, null, 8, ["modelValue"])]),
|
|
553
553
|
_: 1
|
|
554
|
-
}, 8, ["rules"]), d(m(
|
|
554
|
+
}, 8, ["rules"]), d(m(E), {
|
|
555
555
|
type: "primary",
|
|
556
556
|
loading: a.value,
|
|
557
|
-
onClick:
|
|
557
|
+
onClick: b
|
|
558
558
|
}, {
|
|
559
559
|
default: v(() => [...c[4] || (c[4] = [D(" 提交举报 ", -1)])]),
|
|
560
560
|
_: 1
|
|
561
561
|
}, 8, ["loading"]), r.value ? (o(), i("div", {
|
|
562
562
|
key: 0,
|
|
563
|
-
class:
|
|
564
|
-
}, f(r.value), 3)) :
|
|
563
|
+
class: S(["form-result", $.value])
|
|
564
|
+
}, f(r.value), 3)) : T("", !0)]),
|
|
565
565
|
_: 1
|
|
566
566
|
}, 8, ["model"]));
|
|
567
567
|
}
|
|
568
|
-
}), zt = /* @__PURE__ */ y(
|
|
568
|
+
}), zt = /* @__PURE__ */ y(Ue, [["__scopeId", "data-v-4e6e6216"]]), He = /* @__PURE__ */ L({
|
|
569
569
|
__name: "LandingPageContainer",
|
|
570
570
|
props: {
|
|
571
571
|
flexDirection: {
|
|
@@ -578,17 +578,17 @@ const Ee = /* @__PURE__ */ b({
|
|
|
578
578
|
default: ""
|
|
579
579
|
}
|
|
580
580
|
},
|
|
581
|
-
setup(
|
|
582
|
-
const
|
|
581
|
+
setup(e) {
|
|
582
|
+
const t = e;
|
|
583
583
|
return (a, r) => (o(), i("div", {
|
|
584
584
|
class: "landing-page-container",
|
|
585
585
|
style: Y({
|
|
586
|
-
flexDirection:
|
|
587
|
-
...
|
|
588
|
-
gap:
|
|
586
|
+
flexDirection: t.flexDirection,
|
|
587
|
+
...t.gap ? {
|
|
588
|
+
gap: t.gap
|
|
589
589
|
} : {},
|
|
590
|
-
...
|
|
591
|
-
padding:
|
|
590
|
+
...t.padding ? {
|
|
591
|
+
padding: t.padding
|
|
592
592
|
} : {}
|
|
593
593
|
})
|
|
594
594
|
}, [C(a.$slots, "default", {}, void 0, !0)], 4));
|
|
@@ -597,12 +597,12 @@ const Ee = /* @__PURE__ */ b({
|
|
|
597
597
|
role: "separator",
|
|
598
598
|
class: "divider divider-horizontal"
|
|
599
599
|
};
|
|
600
|
-
function Ge(
|
|
600
|
+
function Ge(e, t) {
|
|
601
601
|
return o(), i("div", Oe);
|
|
602
602
|
}
|
|
603
603
|
const B = /* @__PURE__ */ y(Ye, [["render", Ge], ["__scopeId", "data-v-fc6caeb0"]]);
|
|
604
|
-
function At(
|
|
605
|
-
return `Copyright © ${a >
|
|
604
|
+
function At(e, t, a = (/* @__PURE__ */ new Date()).getFullYear()) {
|
|
605
|
+
return `Copyright © ${a > t ? `${t}-${a}` : `${t}`} ${e}`;
|
|
606
606
|
}
|
|
607
607
|
const je = {
|
|
608
608
|
class: "bottom"
|
|
@@ -619,26 +619,17 @@ const je = {
|
|
|
619
619
|
}, et = ["title", "onClick"], tt = {
|
|
620
620
|
key: 0,
|
|
621
621
|
class: "socialLabel"
|
|
622
|
-
}, at = /* @__PURE__ */
|
|
622
|
+
}, at = /* @__PURE__ */ L({
|
|
623
623
|
__name: "LandingPageFooterContact",
|
|
624
624
|
props: {
|
|
625
625
|
filings: {
|
|
626
626
|
type: Array,
|
|
627
627
|
default: () => []
|
|
628
628
|
},
|
|
629
|
-
/** @deprecated 仅兼容旧调用;优先用 filings */
|
|
630
|
-
beianNumber: {
|
|
631
|
-
type: String,
|
|
632
|
-
default: ""
|
|
633
|
-
},
|
|
634
629
|
copyrightText: {
|
|
635
630
|
type: String,
|
|
636
631
|
required: !0
|
|
637
632
|
},
|
|
638
|
-
beianUrl: {
|
|
639
|
-
type: String,
|
|
640
|
-
default: ""
|
|
641
|
-
},
|
|
642
633
|
links: {
|
|
643
634
|
type: Array,
|
|
644
635
|
required: !0
|
|
@@ -648,31 +639,21 @@ const je = {
|
|
|
648
639
|
default: () => []
|
|
649
640
|
}
|
|
650
641
|
},
|
|
651
|
-
setup(
|
|
652
|
-
const
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
const p = e.beianNumber.trim();
|
|
656
|
-
return p ? [{
|
|
657
|
-
key: "icp",
|
|
658
|
-
label: "ICP备案",
|
|
659
|
-
value: p,
|
|
660
|
-
href: e.beianUrl || void 0
|
|
661
|
-
}] : [];
|
|
662
|
-
});
|
|
663
|
-
function $(p) {
|
|
664
|
-
return /^(https?:|mailto:)/i.test(p);
|
|
642
|
+
setup(e) {
|
|
643
|
+
const t = e, a = W(), r = O(() => t.filings);
|
|
644
|
+
function $(_) {
|
|
645
|
+
return /^(https?:|mailto:)/i.test(_);
|
|
665
646
|
}
|
|
666
|
-
function l(
|
|
667
|
-
$(I) || (
|
|
647
|
+
function l(_, I) {
|
|
648
|
+
$(I) || (_.preventDefault(), _.stopPropagation(), a.push(I));
|
|
668
649
|
}
|
|
669
|
-
function _
|
|
670
|
-
if (
|
|
650
|
+
function p(_) {
|
|
651
|
+
if (_.type === "image")
|
|
671
652
|
return "";
|
|
672
|
-
const n = ([
|
|
653
|
+
const n = ([_.content, _.url, _.kind === "email" ? _.label : ""].map((u) => typeof u == "string" ? u.trim() : "").find(Boolean) || "").replace(/^mailto:/i, "");
|
|
673
654
|
return n.includes("@") && !n.startsWith("http") ? n : "";
|
|
674
655
|
}
|
|
675
|
-
return (
|
|
656
|
+
return (_, I) => (o(), i("div", je, [s("div", We, [(o(!0), i(x, null, V(r.value, (n) => (o(), i(x, {
|
|
676
657
|
key: n.key
|
|
677
658
|
}, [n.href ? (o(), i("a", {
|
|
678
659
|
key: 0,
|
|
@@ -680,26 +661,26 @@ const je = {
|
|
|
680
661
|
href: n.href,
|
|
681
662
|
target: "_blank",
|
|
682
663
|
rel: "noopener noreferrer"
|
|
683
|
-
}, f(n.value), 9, Je)) : (o(), i("span", Ke, f(n.value), 1))], 64))), 128)), (o(!0), i(x, null, V(
|
|
664
|
+
}, f(n.value), 9, Je)) : (o(), i("span", Ke, f(n.value), 1))], 64))), 128)), (o(!0), i(x, null, V(e.extraLinks, (n) => (o(), i("a", {
|
|
684
665
|
key: n.label,
|
|
685
666
|
class: "extra-link",
|
|
686
667
|
href: n.href,
|
|
687
668
|
target: $(n.href) ? "_blank" : void 0,
|
|
688
669
|
rel: $(n.href) ? "noopener noreferrer" : void 0,
|
|
689
670
|
onClick: (u) => l(u, n.href)
|
|
690
|
-
}, f(n.label), 9, Qe))), 128)), s("span", Xe, f(
|
|
671
|
+
}, f(n.label), 9, Qe))), 128)), s("span", Xe, f(t.copyrightText), 1)]), e.links.length ? (o(), i("div", Ze, [(o(!0), i(x, null, V(e.links, (n, u) => (o(), i("div", {
|
|
691
672
|
key: u,
|
|
692
|
-
class:
|
|
693
|
-
socialItemText: !!
|
|
673
|
+
class: S(["socialItem", {
|
|
674
|
+
socialItemText: !!p(n)
|
|
694
675
|
}]),
|
|
695
|
-
title: n.label ||
|
|
676
|
+
title: n.label || p(n) || void 0,
|
|
696
677
|
onClick: n.select
|
|
697
678
|
}, [d(m(P), {
|
|
698
679
|
icon: n.icon,
|
|
699
680
|
class: "socialIcon"
|
|
700
|
-
}, null, 8, ["icon"]),
|
|
681
|
+
}, null, 8, ["icon"]), p(n) ? (o(), i("span", tt, f(p(n)), 1)) : T("", !0)], 10, et))), 128))])) : T("", !0)]));
|
|
701
682
|
}
|
|
702
|
-
}), Bt = /* @__PURE__ */ y(at, [["__scopeId", "data-v-
|
|
683
|
+
}), Bt = /* @__PURE__ */ y(at, [["__scopeId", "data-v-80b5c341"]]), ot = {
|
|
703
684
|
class: "FooterLayout"
|
|
704
685
|
}, nt = {
|
|
705
686
|
class: "body"
|
|
@@ -707,28 +688,28 @@ const je = {
|
|
|
707
688
|
class: "logo"
|
|
708
689
|
}, it = {
|
|
709
690
|
class: "links"
|
|
710
|
-
}, lt = /* @__PURE__ */
|
|
691
|
+
}, lt = /* @__PURE__ */ L({
|
|
711
692
|
__name: "LandingPageFooterLayout",
|
|
712
|
-
setup(
|
|
713
|
-
return (
|
|
693
|
+
setup(e) {
|
|
694
|
+
return (t, a) => (o(), i("div", ot, [d(B), s("div", nt, [s("div", st, [C(t.$slots, "LandingPageBrandInfo", {}, void 0, !0)]), s("div", it, [C(t.$slots, "LandingPageLinkGroup", {}, void 0, !0)])]), d(B), C(t.$slots, "LandingPageFooterContact", {}, void 0, !0)]));
|
|
714
695
|
}
|
|
715
|
-
}), Mt = /* @__PURE__ */ y(lt, [["__scopeId", "data-v-
|
|
696
|
+
}), Mt = /* @__PURE__ */ y(lt, [["__scopeId", "data-v-4beca0b2"]]), rt = ["href", "target", "rel"], ct = {
|
|
716
697
|
key: 1,
|
|
717
698
|
class: "Description"
|
|
718
|
-
}, dt = /* @__PURE__ */
|
|
699
|
+
}, dt = /* @__PURE__ */ L({
|
|
719
700
|
__name: "LandingPageLink",
|
|
720
701
|
props: {
|
|
721
702
|
href: {},
|
|
722
703
|
target: {}
|
|
723
704
|
},
|
|
724
|
-
setup(
|
|
725
|
-
const
|
|
726
|
-
return (a, r) =>
|
|
705
|
+
setup(e) {
|
|
706
|
+
const t = e;
|
|
707
|
+
return (a, r) => t.href ? (o(), i("a", {
|
|
727
708
|
key: 0,
|
|
728
709
|
class: "Description",
|
|
729
|
-
href:
|
|
730
|
-
target:
|
|
731
|
-
rel:
|
|
710
|
+
href: t.href,
|
|
711
|
+
target: t.target,
|
|
712
|
+
rel: t.target === "_blank" ? "noopener noreferrer" : void 0
|
|
732
713
|
}, [C(a.$slots, "default", {}, void 0, !0)], 8, rt)) : (o(), i("div", ct, [C(a.$slots, "default", {}, void 0, !0)]));
|
|
733
714
|
}
|
|
734
715
|
}), qt = /* @__PURE__ */ y(dt, [["__scopeId", "data-v-160922db"]]), ut = {
|
|
@@ -737,29 +718,29 @@ const je = {
|
|
|
737
718
|
class: "title"
|
|
738
719
|
}, ft = {
|
|
739
720
|
class: "listItemContent"
|
|
740
|
-
}, pt = /* @__PURE__ */
|
|
721
|
+
}, pt = /* @__PURE__ */ L({
|
|
741
722
|
__name: "LandingPageLinkGroup",
|
|
742
723
|
props: {
|
|
743
724
|
title: {
|
|
744
725
|
default: ""
|
|
745
726
|
}
|
|
746
727
|
},
|
|
747
|
-
setup(
|
|
748
|
-
const
|
|
749
|
-
return (a, r) => (o(), i("div", ut, [s("div", mt, f(
|
|
728
|
+
setup(e) {
|
|
729
|
+
const t = e;
|
|
730
|
+
return (a, r) => (o(), i("div", ut, [s("div", mt, f(t.title), 1), s("div", ft, [C(a.$slots, "item", {}, void 0, !0)])]));
|
|
750
731
|
}
|
|
751
732
|
}), Nt = /* @__PURE__ */ y(pt, [["__scopeId", "data-v-4f6d9dca"]]);
|
|
752
733
|
export {
|
|
753
734
|
B as D,
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
735
|
+
Tt as L,
|
|
736
|
+
Ft as a,
|
|
737
|
+
St as b,
|
|
757
738
|
Rt as c,
|
|
758
739
|
Bt as d,
|
|
759
740
|
Mt as e,
|
|
760
741
|
qt as f,
|
|
761
742
|
Nt as g,
|
|
762
|
-
|
|
743
|
+
oe as h,
|
|
763
744
|
Pt as i,
|
|
764
745
|
zt as j,
|
|
765
746
|
Vt as k,
|