@huyooo/ui 0.11.1 → 0.11.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-CSHkDxQT.js +1914 -0
- package/dist/{Clipboard---tG2Zxz.js → Clipboard-CRZDADLE.js} +1 -1
- package/dist/{Contact-BEUbBGiB.js → Contact-Y0Yczmc9.js} +8 -7
- package/dist/{CustomTable-CVZ4mFzi.js → CustomTable-BUkwlbzN.js} +3 -2
- package/dist/{FeedbackItem-CN041vTm.js → FeedbackItem-D7MpOmoM.js} +3 -3
- package/dist/FeedbackModal-CvNF1D-5.js +1050 -0
- package/dist/LandingPageFAQ-CZJXvor9.js +80 -0
- package/dist/LandingPageLinkGroup-DDNRivMt.js +521 -0
- package/dist/LandingPageSectionHeader-D_74W4My.js +69 -0
- package/dist/{LandingPageSectionTabs-B6ZVxR47.js → LandingPageSectionTabs-Ce3_Rc2L.js} +354 -426
- package/dist/MessageHandle-B12koVQL.js +924 -0
- package/dist/MessageList-Bo6YCfRO.js +233 -0
- package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-F6neJUg3.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DxDn6Ok8.js} +2 -2
- package/dist/PaySubscriptions-B8jAtG5n.js +515 -0
- package/dist/PricingPlans-CO26OcbJ.js +210 -0
- package/dist/ReferrerReferees-D_Iiw9wZ.js +106 -0
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-D_-oMTOo.js → Upload.vue_vue_type_script_setup_true_lang-CbVSY_vt.js} +1 -1
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DpVadjMH.js +508 -0
- package/dist/WidthContainer-B6d4xrGT.js +693 -0
- package/dist/{apiClients-9b4zNZ2S.js → apiClients-DVz12LeW.js} +81 -75
- package/dist/authkit.d.ts +7 -0
- package/dist/authkit.js +52 -45
- package/dist/common/globalConfig.d.ts +2 -2
- package/dist/common/userMenuModal.d.ts +1 -0
- package/dist/common.js +2 -2
- package/dist/components/Authkit/AppSetting/AuthkitOAuthBinding.vue.d.ts +31 -0
- package/dist/components/Authkit/AppSetting/AuthkitPhoneBinding.vue.d.ts +14 -0
- package/dist/components/Authkit/AppSetting/AuthkitPhoneVerify.vue.d.ts +66 -0
- package/dist/components/Authkit/Auth/AuthkitBindPhone.vue.d.ts +27 -0
- package/dist/components/Authkit/Auth/AuthkitEmailUpdate.vue.d.ts +11 -1
- package/dist/components/Authkit/Auth/AuthkitOauthCallback.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitOauthItem.vue.d.ts +1 -1
- package/dist/components/Authkit/Auth/AuthkitPasswordAuth.vue.d.ts +11 -1
- package/dist/components/Authkit/Auth/AuthkitPhonePasswordUpdateAndVerify.vue.d.ts +68 -0
- package/dist/components/Authkit/Auth/AuthkitSignInEmailCode.vue.d.ts +68 -0
- package/dist/components/Authkit/Auth/AuthkitSwitchSignUpOrResetPassword.vue.d.ts +15 -3
- package/dist/components/Authkit/AuthkitOAuthCallbackProvider.vue.d.ts +11 -0
- package/dist/components/Authkit/AuthkitProvider.vue.d.ts +45 -0
- package/dist/components/Feedback/FeedbackBubbleEnd.vue.d.ts +9 -0
- package/dist/components/Feedback/FeedbackBubbleStart.vue.d.ts +11 -6
- package/dist/components/LandingPage/LandingPageSections.vue.d.ts +1 -1
- package/dist/components/Pay/PaySubscriptions.vue.d.ts +2 -1
- package/dist/components/Pay/PricingFAQ.vue.d.ts +17 -0
- package/dist/components/Pay/PricingPlans.vue.d.ts +12 -0
- package/dist/components/UserMenu/UserMenuModals.vue.d.ts +2 -2
- package/dist/components/UserMenu/parts/UserSubscriptionBaseInformation.vue.d.ts +8 -0
- package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +26 -0
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +21 -9
- package/dist/composables/Authkit/useEnsureAuthenticated.d.ts +26 -0
- package/dist/composables/Authkit/useOauth.d.ts +4 -1
- package/dist/composables/Billing/useBillingPlans.d.ts +201 -0
- package/dist/composables/Billing/useBillingSubscriptionSummary.d.ts +280 -0
- package/dist/composables/Billing/useSubscriptionCheckout.d.ts +12 -0
- package/dist/composables/UserMenu/useUserMenu.d.ts +5 -1
- package/dist/composables.d.ts +2 -0
- package/dist/composables.js +25 -22
- package/dist/feedback.js +3 -3
- package/dist/index-D3Kp6R4z.js +4 -0
- package/dist/landingPage.js +42 -40
- package/dist/main.js +285 -269
- package/dist/message.js +19 -18
- package/dist/pay.d.ts +5 -0
- package/dist/pay.js +9 -2
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +103 -39
- package/dist/types/api/billing.generated.d.ts +61 -28
- package/dist/types/api.d.ts +1 -1
- package/dist/types/app.d.ts +14 -0
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-494yLvsu.js → useAuthkitAppsAuthPageInfo-Du5d6VK-.js} +20 -7
- package/dist/{useAuthkitCreateAndUpdate-DyRtFxZS.js → useAuthkitCreateAndUpdate-Bc9D5C6R.js} +1 -1
- package/dist/useAuthkitUsersProfile-CQGyvL7g.js +201 -0
- package/dist/{useDownloads-DaeIY0E9.js → useDownloads-BFx1a-f9.js} +1 -1
- package/dist/useEnsureAuthenticated-Cc64hF1O.js +2247 -0
- package/dist/{useLegalLinks-CPbWqlu6.js → useLegalLinks-Deksq9h-.js} +2 -2
- package/dist/{useMessageNotifications-Dg5q-C_o.js → useMessageNotifications-DY5xKtif.js} +1 -1
- package/dist/{useSEO-CXX9dcBx.js → useSEO-CvfzTZA9.js} +2 -2
- package/dist/useSubscriptionCheckout-BgQJN61l.js +345 -0
- package/dist/{useTableHandle-Cjq4gcC0.js → useTableHandle-D71P3Ez_.js} +1 -1
- package/dist/{useUploadCos-DiJmmbRf.js → useUploadCos-N5pim6q1.js} +501 -515
- package/dist/useUserMenu-ClPBlvaM.js +44 -0
- package/dist/user.js +12 -13
- package/dist/utils/apiMiddlewares.d.ts +6 -0
- package/package.json +1 -1
- package/dist/AuthkitAppSetting-BCrLMpLg.js +0 -1322
- package/dist/AuthkitSignInPhone-DmCQ2fWs.js +0 -1721
- package/dist/FeedbackModal-aI28o-w5.js +0 -1053
- package/dist/LandingPageSectionHeader-Cs1x8i3q.js +0 -584
- package/dist/MessageHandle-BV1nKlxs.js +0 -1147
- package/dist/PaySubscriptions-B3gI1Eme.js +0 -408
- package/dist/ReferrerReferees-DJzPo7X5.js +0 -106
- package/dist/UserAccountMenu-CJ9KKVYa.js +0 -371
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-ClAXNSgl.js +0 -81
- package/dist/WidthContainer-BG10rumn.js +0 -669
- package/dist/useAuthkitUsersProfile-lGlQP54m.js +0 -186
- package/dist/useUserMenu-B3HKZKJ4.js +0 -43
|
@@ -1,584 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, openBlock as n, createElementBlock as o, createVNode as _, unref as f, createElementVNode as e, toDisplayString as l, Fragment as x, renderList as I, createBlock as L, renderSlot as h, normalizeClass as k, withCtx as S, createTextVNode as g, ref as $, withModifiers as q, withDirectives as y, vModelText as b, createCommentVNode as w, normalizeStyle as T } from "vue";
|
|
2
|
-
import { Icon as v } from "@iconify/vue";
|
|
3
|
-
import { _ as r } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import { L as D } from "./Logo-D7fyXyB-.js";
|
|
5
|
-
const H = {
|
|
6
|
-
description: "",
|
|
7
|
-
class: "mission-list-item"
|
|
8
|
-
}, F = {
|
|
9
|
-
class: "mission-list-text"
|
|
10
|
-
}, M = /* @__PURE__ */ u({
|
|
11
|
-
__name: "LandingPageListItem",
|
|
12
|
-
props: {
|
|
13
|
-
description: {
|
|
14
|
-
default: ""
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
setup(s) {
|
|
18
|
-
const t = s;
|
|
19
|
-
return (c, a) => (n(), o("div", H, [_(f(v), {
|
|
20
|
-
icon: "mingcute:check-circle-fill",
|
|
21
|
-
class: "mission-list-icon"
|
|
22
|
-
}), e("span", F, l(t.description), 1)]));
|
|
23
|
-
}
|
|
24
|
-
}), B = /* @__PURE__ */ r(M, [["__scopeId", "data-v-8659cb17"]]), A = {
|
|
25
|
-
class: "mission-container"
|
|
26
|
-
}, U = {
|
|
27
|
-
class: "mission-image-wrapper"
|
|
28
|
-
}, N = ["src", "alt"], Z = {
|
|
29
|
-
class: "mission-content"
|
|
30
|
-
}, O = {
|
|
31
|
-
class: "mission-title"
|
|
32
|
-
}, G = {
|
|
33
|
-
class: "mission-title-highlight"
|
|
34
|
-
}, j = {
|
|
35
|
-
class: "mission-desc"
|
|
36
|
-
}, K = {
|
|
37
|
-
class: "mission-list"
|
|
38
|
-
}, W = {
|
|
39
|
-
style: {
|
|
40
|
-
display: "none"
|
|
41
|
-
}
|
|
42
|
-
}, E = /* @__PURE__ */ u({
|
|
43
|
-
__name: "LandingPageMission",
|
|
44
|
-
props: {
|
|
45
|
-
image: {},
|
|
46
|
-
imageAlt: {},
|
|
47
|
-
title: {},
|
|
48
|
-
highlight: {},
|
|
49
|
-
description: {},
|
|
50
|
-
features: {}
|
|
51
|
-
},
|
|
52
|
-
setup(s) {
|
|
53
|
-
return (t, c) => (n(), o("div", A, [e("div", U, [c[0] || (c[0] = e("div", {
|
|
54
|
-
class: "mission-bg1"
|
|
55
|
-
}, null, -1)), e("img", {
|
|
56
|
-
src: s.image,
|
|
57
|
-
alt: s.imageAlt,
|
|
58
|
-
loading: "lazy",
|
|
59
|
-
width: "1270",
|
|
60
|
-
decoding: "async",
|
|
61
|
-
class: "mission-img"
|
|
62
|
-
}, null, 8, N)]), e("div", Z, [e("h2", O, [e("span", G, l(s.highlight), 1), e("strong", null, l(s.title), 1)]), e("p", j, l(s.description), 1), e("div", K, [(n(!0), o(x, null, I(s.features, (a, p) => (n(), L(B, {
|
|
63
|
-
key: p,
|
|
64
|
-
description: a
|
|
65
|
-
}, null, 8, ["description"]))), 128))])]), (n(), o("svg", W, [...c[1] || (c[1] = [e("symbol", {
|
|
66
|
-
id: "ai:ph:check-circle-fill"
|
|
67
|
-
}, [e("path", {
|
|
68
|
-
fill: "currentColor",
|
|
69
|
-
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"
|
|
70
|
-
})], -1)])]))]));
|
|
71
|
-
}
|
|
72
|
-
}), ht = /* @__PURE__ */ r(E, [["__scopeId", "data-v-8d215ca2"]]), R = {
|
|
73
|
-
class: "team-info-container"
|
|
74
|
-
}, Y = {
|
|
75
|
-
class: "team-info-title"
|
|
76
|
-
}, J = {
|
|
77
|
-
class: "team-info-desc"
|
|
78
|
-
}, Q = /* @__PURE__ */ u({
|
|
79
|
-
__name: "LandingPageTeamInfo",
|
|
80
|
-
props: {
|
|
81
|
-
title: {},
|
|
82
|
-
description: {}
|
|
83
|
-
},
|
|
84
|
-
setup(s) {
|
|
85
|
-
const t = s;
|
|
86
|
-
return (c, a) => (n(), o("div", R, [e("div", Y, l(t.title), 1), e("p", J, l(t.description), 1)]));
|
|
87
|
-
}
|
|
88
|
-
}), gt = /* @__PURE__ */ r(Q, [["__scopeId", "data-v-b6a418e6"]]), X = {}, ee = {
|
|
89
|
-
class: "Description"
|
|
90
|
-
};
|
|
91
|
-
function te(s, t) {
|
|
92
|
-
return n(), o("div", ee, [h(s.$slots, "default", {}, void 0, !0)]);
|
|
93
|
-
}
|
|
94
|
-
const P = /* @__PURE__ */ r(X, [["render", te], ["__scopeId", "data-v-8b3dab7a"]]), se = {
|
|
95
|
-
class: "grid-container"
|
|
96
|
-
}, ie = {
|
|
97
|
-
class: "square"
|
|
98
|
-
}, ne = ["src", "alt", "sizes", "width", "height"], ae = {
|
|
99
|
-
class: "footer"
|
|
100
|
-
}, oe = {
|
|
101
|
-
class: "name"
|
|
102
|
-
}, ce = /* @__PURE__ */ u({
|
|
103
|
-
__name: "LandingPageTeamList",
|
|
104
|
-
props: {
|
|
105
|
-
publishedTeamMembers: {},
|
|
106
|
-
sizes: {},
|
|
107
|
-
width: {},
|
|
108
|
-
height: {},
|
|
109
|
-
pictureClass: {}
|
|
110
|
-
},
|
|
111
|
-
setup(s) {
|
|
112
|
-
return (t, c) => (n(), o("div", se, [(n(!0), o(x, null, I(s.publishedTeamMembers, (a) => (n(), o("div", {
|
|
113
|
-
key: a.data.name,
|
|
114
|
-
class: "group"
|
|
115
|
-
}, [e("div", ie, [e("img", {
|
|
116
|
-
src: a.data.avatar.src,
|
|
117
|
-
alt: a.data.avatar.alt,
|
|
118
|
-
sizes: s.sizes,
|
|
119
|
-
width: s.width,
|
|
120
|
-
height: s.height,
|
|
121
|
-
class: k(s.pictureClass ? `${s.pictureClass} picture-img` : "picture-img")
|
|
122
|
-
}, null, 10, ne)]), e("div", ae, [e("h2", oe, l(a.data.name), 1), _(P, null, {
|
|
123
|
-
default: S(() => [g(l(a.data.title), 1)]),
|
|
124
|
-
_: 2
|
|
125
|
-
}, 1024)])]))), 128))]));
|
|
126
|
-
}
|
|
127
|
-
}), ft = /* @__PURE__ */ r(ce, [["__scopeId", "data-v-89ca8f8c"]]), le = {
|
|
128
|
-
class: "BrandInfo"
|
|
129
|
-
}, de = /* @__PURE__ */ u({
|
|
130
|
-
__name: "LandingPageBrandInfo",
|
|
131
|
-
props: {
|
|
132
|
-
icon: {
|
|
133
|
-
type: String,
|
|
134
|
-
required: !0
|
|
135
|
-
},
|
|
136
|
-
name: {
|
|
137
|
-
type: String,
|
|
138
|
-
required: !0
|
|
139
|
-
},
|
|
140
|
-
description: {
|
|
141
|
-
type: String,
|
|
142
|
-
required: !0
|
|
143
|
-
},
|
|
144
|
-
/** 不传则 Logo 使用自身主题色 */
|
|
145
|
-
color: {
|
|
146
|
-
type: String,
|
|
147
|
-
default: ""
|
|
148
|
-
},
|
|
149
|
-
fontSize: {
|
|
150
|
-
type: String,
|
|
151
|
-
default: ""
|
|
152
|
-
},
|
|
153
|
-
iconSize: {
|
|
154
|
-
type: String,
|
|
155
|
-
default: "32px"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
setup(s) {
|
|
159
|
-
const t = s;
|
|
160
|
-
return (c, a) => (n(), o("div", le, [_(D, {
|
|
161
|
-
icon: t.icon,
|
|
162
|
-
name: t.name,
|
|
163
|
-
color: t.color,
|
|
164
|
-
"font-size": t.fontSize,
|
|
165
|
-
"icon-size": t.iconSize
|
|
166
|
-
}, null, 8, ["icon", "name", "color", "font-size", "icon-size"]), _(P, null, {
|
|
167
|
-
default: S(() => [g(l(t.description), 1)]),
|
|
168
|
-
_: 1
|
|
169
|
-
})]));
|
|
170
|
-
}
|
|
171
|
-
}), vt = /* @__PURE__ */ r(de, [["__scopeId", "data-v-9f0b94b0"]]), re = {
|
|
172
|
-
class: "contact-container"
|
|
173
|
-
}, ue = {
|
|
174
|
-
class: "contact-info-section"
|
|
175
|
-
}, _e = {
|
|
176
|
-
class: "contact-title"
|
|
177
|
-
}, pe = {
|
|
178
|
-
class: "contact-info"
|
|
179
|
-
}, me = {
|
|
180
|
-
class: "contact-info-item"
|
|
181
|
-
}, he = {
|
|
182
|
-
class: "contact-info-item"
|
|
183
|
-
}, ge = ["href"], fe = {
|
|
184
|
-
class: "contact-info-item"
|
|
185
|
-
}, ve = ["href"], $e = {
|
|
186
|
-
class: "contact-form-section"
|
|
187
|
-
}, Ce = /* @__PURE__ */ u({
|
|
188
|
-
__name: "LandingPageContact",
|
|
189
|
-
props: {
|
|
190
|
-
title: {
|
|
191
|
-
default: ""
|
|
192
|
-
},
|
|
193
|
-
subTitle: {
|
|
194
|
-
default: ""
|
|
195
|
-
},
|
|
196
|
-
contact: {
|
|
197
|
-
default: () => ({
|
|
198
|
-
title: "联系我们",
|
|
199
|
-
description: "有什么想说的吗?我们随时为您提供帮助。请填写表单或发送邮件或拨打电话。"
|
|
200
|
-
})
|
|
201
|
-
},
|
|
202
|
-
address: {
|
|
203
|
-
default: "北京市朝阳区建国门外大街1号"
|
|
204
|
-
},
|
|
205
|
-
email: {
|
|
206
|
-
default: "hello@example.com"
|
|
207
|
-
},
|
|
208
|
-
phone: {
|
|
209
|
-
default: "+86 138 0000 0000"
|
|
210
|
-
},
|
|
211
|
-
mapIcon: {
|
|
212
|
-
default: "uil:map-marker"
|
|
213
|
-
},
|
|
214
|
-
emailIcon: {
|
|
215
|
-
default: "uil:envelope"
|
|
216
|
-
},
|
|
217
|
-
phoneIcon: {
|
|
218
|
-
default: "uil:phone"
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
setup(s) {
|
|
222
|
-
const t = s;
|
|
223
|
-
return (c, a) => (n(), o("div", re, [e("div", ue, [e("h2", _e, l(t.contact.title), 1), _(P, null, {
|
|
224
|
-
default: S(() => [g(l(t.contact.description), 1)]),
|
|
225
|
-
_: 1
|
|
226
|
-
}), e("div", pe, [e("div", me, [_(f(v), {
|
|
227
|
-
class: "contact-info-icon",
|
|
228
|
-
icon: s.mapIcon
|
|
229
|
-
}, null, 8, ["icon"]), e("span", null, l(t.address), 1)]), e("div", he, [_(f(v), {
|
|
230
|
-
class: "contact-info-icon",
|
|
231
|
-
icon: t.emailIcon
|
|
232
|
-
}, null, 8, ["icon"]), e("a", {
|
|
233
|
-
href: `mailto:${s.email}`
|
|
234
|
-
}, l(t.email), 9, ge)]), e("div", fe, [_(f(v), {
|
|
235
|
-
class: "contact-info-icon",
|
|
236
|
-
icon: t.phoneIcon
|
|
237
|
-
}, null, 8, ["icon"]), e("a", {
|
|
238
|
-
href: `tel:${s.phone}`
|
|
239
|
-
}, l(t.phone), 9, ve)])])]), e("div", $e, [h(c.$slots, "contact-form", {}, void 0, !0)])]));
|
|
240
|
-
}
|
|
241
|
-
}), $t = /* @__PURE__ */ r(Ce, [["__scopeId", "data-v-d93fc680"]]), ye = ["value"], be = ["value"], Le = {
|
|
242
|
-
class: "form-group"
|
|
243
|
-
}, ke = {
|
|
244
|
-
class: "form-group"
|
|
245
|
-
}, we = {
|
|
246
|
-
class: "form-group"
|
|
247
|
-
}, xe = {
|
|
248
|
-
type: "submit",
|
|
249
|
-
class: "form-button"
|
|
250
|
-
}, Ie = {
|
|
251
|
-
key: 0,
|
|
252
|
-
class: "button-content"
|
|
253
|
-
}, Se = {
|
|
254
|
-
key: 1
|
|
255
|
-
}, Pe = /* @__PURE__ */ u({
|
|
256
|
-
__name: "LandingPageContactForm",
|
|
257
|
-
props: {
|
|
258
|
-
accessKey: {
|
|
259
|
-
default: "YOUR_ACCESS_KEY_HERE"
|
|
260
|
-
},
|
|
261
|
-
to: {
|
|
262
|
-
default: "support@huyooo.com"
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
setup(s) {
|
|
266
|
-
const t = s, c = $(!1), a = $(""), p = $(""), d = $({
|
|
267
|
-
name: "",
|
|
268
|
-
email: "",
|
|
269
|
-
message: ""
|
|
270
|
-
}), C = async (z) => {
|
|
271
|
-
c.value = !0;
|
|
272
|
-
const i = z.target;
|
|
273
|
-
if (!i.checkValidity()) {
|
|
274
|
-
i.querySelectorAll(":invalid")[0].focus();
|
|
275
|
-
return;
|
|
276
|
-
}
|
|
277
|
-
a.value = "发送中...", p.value = "";
|
|
278
|
-
try {
|
|
279
|
-
const m = await fetch("https://api.web3forms.com/submit", {
|
|
280
|
-
method: "POST",
|
|
281
|
-
headers: {
|
|
282
|
-
"Content-Type": "application/json",
|
|
283
|
-
Accept: "application/json"
|
|
284
|
-
},
|
|
285
|
-
body: JSON.stringify({
|
|
286
|
-
access_key: t.accessKey,
|
|
287
|
-
to: t.to,
|
|
288
|
-
name: d.value.name,
|
|
289
|
-
email: d.value.email,
|
|
290
|
-
message: d.value.message
|
|
291
|
-
})
|
|
292
|
-
});
|
|
293
|
-
await m.json(), m.status === 200 ? (p.value = "text-green", a.value = "消息发送成功!我们会尽快回复您。") : (p.value = "text-red", a.value = "发送失败,请检查网络连接后重试。");
|
|
294
|
-
} catch {
|
|
295
|
-
p.value = "text-red", a.value = "发送失败,请稍后再试!";
|
|
296
|
-
} finally {
|
|
297
|
-
i.reset(), c.value = !1, setTimeout(() => {
|
|
298
|
-
a.value = "";
|
|
299
|
-
}, 5e3);
|
|
300
|
-
}
|
|
301
|
-
};
|
|
302
|
-
return (z, i) => (n(), o("form", {
|
|
303
|
-
id: "form",
|
|
304
|
-
action: "https://api.web3forms.com/submit",
|
|
305
|
-
method: "POST",
|
|
306
|
-
class: k(["contact-form", {
|
|
307
|
-
"was-validated": c.value
|
|
308
|
-
}]),
|
|
309
|
-
novalidate: "",
|
|
310
|
-
onSubmit: q(C, ["prevent"])
|
|
311
|
-
}, [e("input", {
|
|
312
|
-
type: "hidden",
|
|
313
|
-
name: "access_key",
|
|
314
|
-
value: t.accessKey
|
|
315
|
-
}, null, 8, ye), e("input", {
|
|
316
|
-
type: "hidden",
|
|
317
|
-
name: "to",
|
|
318
|
-
value: t.to
|
|
319
|
-
}, null, 8, be), i[11] || (i[11] = e("input", {
|
|
320
|
-
type: "checkbox",
|
|
321
|
-
class: "hidden",
|
|
322
|
-
style: {
|
|
323
|
-
display: "none"
|
|
324
|
-
},
|
|
325
|
-
name: "botcheck"
|
|
326
|
-
}, null, -1)), e("div", Le, [i[3] || (i[3] = e("label", {
|
|
327
|
-
for: "name",
|
|
328
|
-
class: "form-label"
|
|
329
|
-
}, [g(" 姓名 "), e("span", {
|
|
330
|
-
class: "required"
|
|
331
|
-
}, "*")], -1)), y(e("input", {
|
|
332
|
-
id: "name",
|
|
333
|
-
"onUpdate:modelValue": i[0] || (i[0] = (m) => d.value.name = m),
|
|
334
|
-
type: "text",
|
|
335
|
-
placeholder: "请输入您的姓名",
|
|
336
|
-
required: "",
|
|
337
|
-
class: "form-input",
|
|
338
|
-
name: "name"
|
|
339
|
-
}, null, 512), [[b, d.value.name]]), i[4] || (i[4] = e("div", {
|
|
340
|
-
class: "empty-feedback invalid-feedback form-error"
|
|
341
|
-
}, " 请输入您的姓名。 ", -1))]), e("div", ke, [i[5] || (i[5] = e("label", {
|
|
342
|
-
for: "email_address",
|
|
343
|
-
class: "form-label"
|
|
344
|
-
}, [g(" 邮箱地址 "), e("span", {
|
|
345
|
-
class: "required"
|
|
346
|
-
}, "*")], -1)), y(e("input", {
|
|
347
|
-
id: "email_address",
|
|
348
|
-
"onUpdate:modelValue": i[1] || (i[1] = (m) => d.value.email = m),
|
|
349
|
-
type: "email",
|
|
350
|
-
placeholder: "请输入您的邮箱地址",
|
|
351
|
-
name: "email",
|
|
352
|
-
required: "",
|
|
353
|
-
class: "form-input"
|
|
354
|
-
}, null, 512), [[b, d.value.email]]), i[6] || (i[6] = e("div", {
|
|
355
|
-
class: "empty-feedback form-error"
|
|
356
|
-
}, " 请输入您的邮箱地址。 ", -1)), i[7] || (i[7] = e("div", {
|
|
357
|
-
class: "invalid-feedback form-error"
|
|
358
|
-
}, " 请输入有效的邮箱地址。 ", -1))]), e("div", we, [i[8] || (i[8] = e("label", {
|
|
359
|
-
for: "message",
|
|
360
|
-
class: "form-label"
|
|
361
|
-
}, [g(" 留言内容 "), e("span", {
|
|
362
|
-
class: "required"
|
|
363
|
-
}, "*")], -1)), y(e("textarea", {
|
|
364
|
-
id: "message",
|
|
365
|
-
"onUpdate:modelValue": i[2] || (i[2] = (m) => d.value.message = m),
|
|
366
|
-
name: "message",
|
|
367
|
-
required: "",
|
|
368
|
-
placeholder: "请输入您的留言内容",
|
|
369
|
-
class: "form-textarea",
|
|
370
|
-
rows: "4"
|
|
371
|
-
}, null, 512), [[b, d.value.message]]), i[9] || (i[9] = e("div", {
|
|
372
|
-
class: "empty-feedback invalid-feedback form-error"
|
|
373
|
-
}, " 请输入您的留言内容。 ", -1))]), e("button", xe, [a.value === "发送中..." ? (n(), o("span", Ie, [...i[10] || (i[10] = [e("svg", {
|
|
374
|
-
class: "spinner",
|
|
375
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
376
|
-
fill: "none",
|
|
377
|
-
viewBox: "0 0 24 24"
|
|
378
|
-
}, [e("circle", {
|
|
379
|
-
class: "spinner-circle",
|
|
380
|
-
cx: "12",
|
|
381
|
-
cy: "12",
|
|
382
|
-
r: "10",
|
|
383
|
-
stroke: "currentColor",
|
|
384
|
-
"stroke-width": "4"
|
|
385
|
-
}), e("path", {
|
|
386
|
-
class: "spinner-path",
|
|
387
|
-
fill: "currentColor",
|
|
388
|
-
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
389
|
-
})], -1), g(" 发送中... ", -1)])])) : (n(), o("span", Se, "发送信息"))]), a.value && a.value !== "发送中..." ? (n(), o("div", {
|
|
390
|
-
key: 0,
|
|
391
|
-
class: k(["form-result", p.value])
|
|
392
|
-
}, l(a.value), 3)) : w("", !0)], 34));
|
|
393
|
-
}
|
|
394
|
-
}), Ct = /* @__PURE__ */ r(Pe, [["__scopeId", "data-v-ea3b8237"]]), ze = /* @__PURE__ */ u({
|
|
395
|
-
__name: "LandingPageContainer",
|
|
396
|
-
props: {
|
|
397
|
-
flexDirection: {
|
|
398
|
-
default: "column"
|
|
399
|
-
},
|
|
400
|
-
gap: {
|
|
401
|
-
default: "120px"
|
|
402
|
-
},
|
|
403
|
-
padding: {
|
|
404
|
-
default: ""
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
setup(s) {
|
|
408
|
-
const t = s;
|
|
409
|
-
return (c, a) => (n(), o("div", {
|
|
410
|
-
class: "landing-page-container",
|
|
411
|
-
style: T({
|
|
412
|
-
flexDirection: t.flexDirection,
|
|
413
|
-
gap: t.gap,
|
|
414
|
-
...t.padding ? {
|
|
415
|
-
padding: t.padding
|
|
416
|
-
} : {}
|
|
417
|
-
})
|
|
418
|
-
}, [h(c.$slots, "default", {}, void 0, !0)], 4));
|
|
419
|
-
}
|
|
420
|
-
}), yt = /* @__PURE__ */ r(ze, [["__scopeId", "data-v-213b19a2"]]), Ve = {}, qe = {
|
|
421
|
-
role: "separator",
|
|
422
|
-
class: "divider divider-horizontal"
|
|
423
|
-
};
|
|
424
|
-
function Te(s, t) {
|
|
425
|
-
return n(), o("div", qe);
|
|
426
|
-
}
|
|
427
|
-
const V = /* @__PURE__ */ r(Ve, [["render", Te], ["__scopeId", "data-v-fc6caeb0"]]), De = {
|
|
428
|
-
class: "bottom"
|
|
429
|
-
}, He = {
|
|
430
|
-
class: "beian-number"
|
|
431
|
-
}, Fe = {
|
|
432
|
-
class: "copyright-text"
|
|
433
|
-
}, Me = {
|
|
434
|
-
class: "socials"
|
|
435
|
-
}, Be = ["onClick"], Ae = /* @__PURE__ */ u({
|
|
436
|
-
__name: "LandingPageFooterContact",
|
|
437
|
-
props: {
|
|
438
|
-
beianNumber: {
|
|
439
|
-
type: String,
|
|
440
|
-
required: !0
|
|
441
|
-
},
|
|
442
|
-
copyrightText: {
|
|
443
|
-
type: String,
|
|
444
|
-
required: !0
|
|
445
|
-
},
|
|
446
|
-
beianUrl: {
|
|
447
|
-
type: String,
|
|
448
|
-
required: !0
|
|
449
|
-
},
|
|
450
|
-
links: {
|
|
451
|
-
type: Array,
|
|
452
|
-
required: !0
|
|
453
|
-
}
|
|
454
|
-
},
|
|
455
|
-
setup(s) {
|
|
456
|
-
const t = s;
|
|
457
|
-
function c() {
|
|
458
|
-
window.open(t.beianUrl);
|
|
459
|
-
}
|
|
460
|
-
return (a, p) => (n(), o("div", De, [e("div", {
|
|
461
|
-
class: "beian-text-wrapper",
|
|
462
|
-
onClick: c
|
|
463
|
-
}, [e("span", He, l(t.beianNumber), 1), e("span", Fe, l(t.copyrightText), 1)]), e("div", Me, [(n(!0), o(x, null, I(s.links, (d, C) => (n(), o("div", {
|
|
464
|
-
key: C,
|
|
465
|
-
class: "socialItem",
|
|
466
|
-
onClick: d.select
|
|
467
|
-
}, [d.type === "text" ? (n(), L(f(v), {
|
|
468
|
-
key: 0,
|
|
469
|
-
icon: d.icon
|
|
470
|
-
}, null, 8, ["icon"])) : w("", !0), d.type === "image" ? (n(), L(f(v), {
|
|
471
|
-
key: 1,
|
|
472
|
-
icon: d.icon
|
|
473
|
-
}, null, 8, ["icon"])) : w("", !0)], 8, Be))), 128))])]));
|
|
474
|
-
}
|
|
475
|
-
}), bt = /* @__PURE__ */ r(Ae, [["__scopeId", "data-v-56c85ce5"]]), Ue = {
|
|
476
|
-
class: "FooterLayout"
|
|
477
|
-
}, Ne = {
|
|
478
|
-
class: "body"
|
|
479
|
-
}, Ze = {
|
|
480
|
-
class: "logo"
|
|
481
|
-
}, Oe = {
|
|
482
|
-
class: "links"
|
|
483
|
-
}, Ge = /* @__PURE__ */ u({
|
|
484
|
-
__name: "LandingPageFooterLayout",
|
|
485
|
-
setup(s) {
|
|
486
|
-
return (t, c) => (n(), o("div", Ue, [_(V), e("div", Ne, [e("div", Ze, [h(t.$slots, "LandingPageBrandInfo", {}, void 0, !0)]), e("div", Oe, [h(t.$slots, "LandingPageLinkGroup", {}, void 0, !0)])]), _(V), h(t.$slots, "LandingPageFooterContact", {}, void 0, !0)]));
|
|
487
|
-
}
|
|
488
|
-
}), Lt = /* @__PURE__ */ r(Ge, [["__scopeId", "data-v-425841c7"]]), je = {}, Ke = {
|
|
489
|
-
class: "Description"
|
|
490
|
-
};
|
|
491
|
-
function We(s, t) {
|
|
492
|
-
return n(), o("div", Ke, [h(s.$slots, "default", {}, void 0, !0)]);
|
|
493
|
-
}
|
|
494
|
-
const kt = /* @__PURE__ */ r(je, [["render", We], ["__scopeId", "data-v-302e1437"]]), Ee = {
|
|
495
|
-
class: "list"
|
|
496
|
-
}, Re = {
|
|
497
|
-
class: "title"
|
|
498
|
-
}, Ye = {
|
|
499
|
-
class: "listItemContent"
|
|
500
|
-
}, Je = /* @__PURE__ */ u({
|
|
501
|
-
__name: "LandingPageLinkGroup",
|
|
502
|
-
props: {
|
|
503
|
-
title: {
|
|
504
|
-
default: ""
|
|
505
|
-
}
|
|
506
|
-
},
|
|
507
|
-
setup(s) {
|
|
508
|
-
const t = s;
|
|
509
|
-
return (c, a) => (n(), o("div", Ee, [e("div", Re, l(t.title), 1), e("div", Ye, [h(c.$slots, "item", {}, void 0, !0)])]));
|
|
510
|
-
}
|
|
511
|
-
}), wt = /* @__PURE__ */ r(Je, [["__scopeId", "data-v-4f6d9dca"]]), Qe = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='40'%20height='40'%20rx='14'%20fill='url(%23paint0_linear_1212_46228)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%2011C13.6863%2011%2011%2013.6863%2011%2017V23C11%2026.3137%2013.6863%2029%2017%2029H23C26.3137%2029%2029%2026.3137%2029%2023V17C29%2013.6863%2026.3137%2011%2023%2011H17ZM20.0002%2015.9091C20.4521%2015.9091%2020.8184%2016.2754%2020.8184%2016.7273V19.1818H23.2718C23.7237%2019.1818%2024.09%2019.5481%2024.09%2020C24.09%2020.4519%2023.7237%2020.8182%2023.2718%2020.8182H20.8184V23.2727C20.8184%2023.7246%2020.4521%2024.0909%2020.0002%2024.0909C19.5484%2024.0909%2019.182%2023.7246%2019.182%2023.2727V20.8182H16.7264C16.2745%2020.8182%2015.9082%2020.4519%2015.9082%2020C15.9082%2019.5481%2016.2745%2019.1818%2016.7264%2019.1818H19.182V16.7273C19.182%2016.2754%2019.5484%2015.9091%2020.0002%2015.9091Z'%20fill='white'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_1212_46228'%20x1='20'%20y1='0'%20x2='20'%20y2='40'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%235766F0'/%3e%3cstop%20offset='1'%20stop-color='%23591EFF'%20stop-opacity='0.81'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Xe = "data:image/svg+xml,%3csvg%20width='72'%20height='48'%20viewBox='0%200%2072%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_1212_46227'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='72'%20height='48'%3e%3crect%20width='72'%20height='48'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1212_46227)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.3789%2010.0001C16.3789%209.10554%2017.1041%208.38037%2017.9986%208.38037C18.8932%208.38037%2019.6183%209.10554%2019.6183%2010.0001C19.6183%2011.0172%2019.6664%2011.9775%2019.7585%2012.8841C19.8489%2013.7741%2019.2007%2014.5688%2018.3107%2014.6592C17.4208%2014.7497%2016.626%2014.1015%2016.5356%2013.2115C16.4317%2012.1889%2016.3789%2011.1191%2016.3789%2010.0001ZM18.0425%2019.547C17.7074%2018.7176%2018.1082%2017.7736%2018.9377%2017.4385C19.7671%2017.1035%2020.7111%2017.5043%2021.0461%2018.3337C21.7781%2020.146%2022.7687%2021.655%2023.9669%2022.9209C24.5819%2023.5705%2024.5537%2024.5957%2023.9041%2025.2106C23.2544%2025.8256%2022.2293%2025.7975%2021.6143%2025.1478C20.1362%2023.5862%2018.9254%2021.7329%2018.0425%2019.547ZM26.9161%2029.0658C26.1211%2028.6558%2025.8089%2027.6789%2026.219%2026.8838C26.629%2026.0888%2027.6059%2025.7767%2028.4009%2026.1867C30.0125%2027.0178%2031.8088%2027.6689%2033.753%2028.1757C34.6186%2028.4013%2035.1374%2029.286%2034.9118%2030.1516C34.6861%2031.0172%2033.8015%2031.536%2032.9359%2031.3104C30.8126%2030.7569%2028.7832%2030.0287%2026.9161%2029.0658ZM39.1207%2032.4579C38.2329%2032.348%2037.6022%2031.5393%2037.7121%2030.6516C37.8219%2029.7638%2038.6306%2029.1331%2039.5183%2029.2429C41.4424%2029.4809%2043.4322%2029.6311%2045.4551%2029.7252C46.3487%2029.7668%2047.0394%2030.5249%2046.9978%2031.4185C46.9562%2032.312%2046.1981%2033.0027%2045.3045%2032.9611C43.2229%2032.8643%2041.1475%2032.7086%2039.1207%2032.4579ZM51.4468%2033.1103C50.5523%2033.1036%2049.8326%2032.373%2049.8393%2031.4785C49.846%2030.584%2050.5766%2029.8643%2051.4711%2029.871C51.8002%2029.8735%2052.129%2029.8753%2052.4574%2029.8767L49.0395%2026.4589C48.4537%2025.8731%2048.4537%2024.9233%2049.0395%2024.3376C49.6253%2023.7518%2050.5751%2023.7518%2051.1608%2024.3376L56.5556%2029.7323C57.5319%2030.7086%2057.5319%2032.2915%2056.5556%2033.2678L51.1608%2038.6626C50.5751%2039.2484%2049.6253%2039.2484%2049.0395%2038.6626C48.4537%2038.0768%2048.4537%2037.1271%2049.0395%2036.5413L52.4646%2033.1162C52.1261%2033.1148%2051.7868%2033.1129%2051.4468%2033.1103Z'%20fill='black'%20fill-opacity='0.9'/%3e%3c/g%3e%3c/svg%3e", et = {
|
|
512
|
-
class: "section-header"
|
|
513
|
-
}, tt = {
|
|
514
|
-
class: "title-section"
|
|
515
|
-
}, st = {
|
|
516
|
-
class: "icon-title"
|
|
517
|
-
}, it = ["src", "width", "height"], nt = {
|
|
518
|
-
class: "title"
|
|
519
|
-
}, at = {
|
|
520
|
-
class: "subtitle-section"
|
|
521
|
-
}, ot = ["src", "width", "height"], ct = {
|
|
522
|
-
class: "subtitle"
|
|
523
|
-
}, lt = "图标", dt = "装饰线条", rt = /* @__PURE__ */ u({
|
|
524
|
-
__name: "LandingPageSectionHeader",
|
|
525
|
-
props: {
|
|
526
|
-
title: {},
|
|
527
|
-
subtitle: {},
|
|
528
|
-
icon: {
|
|
529
|
-
default: Qe
|
|
530
|
-
},
|
|
531
|
-
iconWidth: {
|
|
532
|
-
default: 40
|
|
533
|
-
},
|
|
534
|
-
iconHeight: {
|
|
535
|
-
default: 40
|
|
536
|
-
},
|
|
537
|
-
dashline: {
|
|
538
|
-
default: Xe
|
|
539
|
-
},
|
|
540
|
-
dashlineWidth: {
|
|
541
|
-
default: 72
|
|
542
|
-
},
|
|
543
|
-
dashlineHeight: {
|
|
544
|
-
default: 48
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
setup(s) {
|
|
548
|
-
const t = s;
|
|
549
|
-
return (c, a) => (n(), o("div", et, [e("div", tt, [e("div", st, [e("img", {
|
|
550
|
-
src: t.icon,
|
|
551
|
-
alt: lt,
|
|
552
|
-
width: t.iconWidth,
|
|
553
|
-
height: t.iconHeight,
|
|
554
|
-
loading: "lazy",
|
|
555
|
-
decoding: "async",
|
|
556
|
-
class: "icon"
|
|
557
|
-
}, null, 8, it), e("span", nt, l(s.title), 1)]), e("div", at, [e("img", {
|
|
558
|
-
src: t.dashline,
|
|
559
|
-
alt: dt,
|
|
560
|
-
width: t.dashlineWidth,
|
|
561
|
-
height: t.dashlineHeight,
|
|
562
|
-
loading: "lazy",
|
|
563
|
-
decoding: "async",
|
|
564
|
-
class: "dashline"
|
|
565
|
-
}, null, 8, ot), e("span", ct, l(s.subtitle), 1)])])]));
|
|
566
|
-
}
|
|
567
|
-
}), xt = /* @__PURE__ */ r(rt, [["__scopeId", "data-v-e1681a62"]]);
|
|
568
|
-
export {
|
|
569
|
-
P as D,
|
|
570
|
-
vt as L,
|
|
571
|
-
$t as a,
|
|
572
|
-
Ct as b,
|
|
573
|
-
yt as c,
|
|
574
|
-
V as d,
|
|
575
|
-
bt as e,
|
|
576
|
-
Lt as f,
|
|
577
|
-
kt as g,
|
|
578
|
-
wt as h,
|
|
579
|
-
B as i,
|
|
580
|
-
ht as j,
|
|
581
|
-
xt as k,
|
|
582
|
-
gt as l,
|
|
583
|
-
ft as m
|
|
584
|
-
};
|