@kevairy/template 0.1.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/LICENSE +21 -0
- package/README.md +14 -0
- package/package.json +37 -0
- package/template/.env +22 -0
- package/template/.env.development +13 -0
- package/template/.env.production +10 -0
- package/template/.prettierignore +3 -0
- package/template/.prettierrc +20 -0
- package/template/.stylelintignore +9 -0
- package/template/.stylelintrc.cjs +84 -0
- package/template/LICENSE +21 -0
- package/template/README.md +22 -0
- package/template/_gitignore +19 -0
- package/template/eslint-auto-import.json +324 -0
- package/template/eslint.config.mjs +83 -0
- package/template/index.html +25 -0
- package/template/package.json +79 -0
- package/template/playwright.config.ts +25 -0
- package/template/public/favicon.ico +0 -0
- package/template/src/App.vue +39 -0
- package/template/src/adapters/auth/index.ts +9 -0
- package/template/src/adapters/auth/mock.ts +10 -0
- package/template/src/adapters/auth/types.ts +11 -0
- package/template/src/adapters/navigation/index.ts +13 -0
- package/template/src/adapters/navigation/types.ts +6 -0
- package/template/src/api/auth.ts +23 -0
- package/template/src/assets/images/avatar/avatar.webp +0 -0
- package/template/src/assets/images/avatar/avatar1.webp +0 -0
- package/template/src/assets/images/avatar/avatar10.webp +0 -0
- package/template/src/assets/images/avatar/avatar2.webp +0 -0
- package/template/src/assets/images/avatar/avatar3.webp +0 -0
- package/template/src/assets/images/avatar/avatar4.webp +0 -0
- package/template/src/assets/images/avatar/avatar5.webp +0 -0
- package/template/src/assets/images/avatar/avatar6.webp +0 -0
- package/template/src/assets/images/avatar/avatar7.webp +0 -0
- package/template/src/assets/images/avatar/avatar8.webp +0 -0
- package/template/src/assets/images/avatar/avatar9.webp +0 -0
- package/template/src/assets/images/ceremony/hb.png +0 -0
- package/template/src/assets/images/ceremony/sd.png +0 -0
- package/template/src/assets/images/ceremony/xc.png +0 -0
- package/template/src/assets/images/ceremony/yd.png +0 -0
- package/template/src/assets/images/common/logo.webp +0 -0
- package/template/src/assets/images/draw/draw1.png +0 -0
- package/template/src/assets/images/favicon.ico +0 -0
- package/template/src/assets/images/lock/bg_dark.webp +0 -0
- package/template/src/assets/images/lock/bg_light.webp +0 -0
- package/template/src/assets/images/login/kylin-hero-source.png +0 -0
- package/template/src/assets/images/login/lf_icon2.webp +0 -0
- package/template/src/assets/images/settings/menu_layouts/dual_column.png +0 -0
- package/template/src/assets/images/settings/menu_layouts/horizontal.png +0 -0
- package/template/src/assets/images/settings/menu_layouts/mixed.png +0 -0
- package/template/src/assets/images/settings/menu_layouts/vertical.png +0 -0
- package/template/src/assets/images/settings/menu_styles/dark.png +0 -0
- package/template/src/assets/images/settings/menu_styles/design.png +0 -0
- package/template/src/assets/images/settings/menu_styles/light.png +0 -0
- package/template/src/assets/images/settings/theme_styles/dark.png +0 -0
- package/template/src/assets/images/settings/theme_styles/light.png +0 -0
- package/template/src/assets/images/settings/theme_styles/system.png +0 -0
- package/template/src/assets/images/svg/403.svg +1 -0
- package/template/src/assets/images/svg/404.svg +1 -0
- package/template/src/assets/images/svg/500.svg +5 -0
- package/template/src/assets/images/svg/login_icon.svg +1 -0
- package/template/src/assets/images/user/avatar.webp +0 -0
- package/template/src/assets/images/user/bg.webp +0 -0
- package/template/src/assets/styles/core/app.scss +227 -0
- package/template/src/assets/styles/core/dark.scss +93 -0
- package/template/src/assets/styles/core/el-dark.scss +2 -0
- package/template/src/assets/styles/core/el-light.scss +34 -0
- package/template/src/assets/styles/core/el-ui.scss +519 -0
- package/template/src/assets/styles/core/md.scss +1036 -0
- package/template/src/assets/styles/core/mixin.scss +157 -0
- package/template/src/assets/styles/core/reset.scss +41 -0
- package/template/src/assets/styles/core/router-transition.scss +104 -0
- package/template/src/assets/styles/core/tailwind.css +219 -0
- package/template/src/assets/styles/core/theme-animation.scss +63 -0
- package/template/src/assets/styles/core/theme-change.scss +11 -0
- package/template/src/assets/styles/custom/one-dark-pro.scss +98 -0
- package/template/src/assets/styles/index.scss +23 -0
- package/template/src/assets/svg/loading.ts +32 -0
- package/template/src/bootstrap/initializeApp.ts +30 -0
- package/template/src/components/core/banners/art-basic-banner/index.vue +343 -0
- package/template/src/components/core/banners/art-card-banner/index.vue +114 -0
- package/template/src/components/core/base/art-back-to-top/index.vue +40 -0
- package/template/src/components/core/base/art-logo/index.vue +34 -0
- package/template/src/components/core/base/art-svg-icon/index.vue +24 -0
- package/template/src/components/core/cards/art-bar-chart-card/index.vue +103 -0
- package/template/src/components/core/cards/art-data-list-card/index.vue +74 -0
- package/template/src/components/core/cards/art-donut-chart-card/index.vue +124 -0
- package/template/src/components/core/cards/art-image-card/index.vue +89 -0
- package/template/src/components/core/cards/art-line-chart-card/index.vue +126 -0
- package/template/src/components/core/cards/art-progress-card/index.vue +86 -0
- package/template/src/components/core/cards/art-stats-card/index.vue +67 -0
- package/template/src/components/core/cards/art-timeline-list-card/index.vue +69 -0
- package/template/src/components/core/charts/art-bar-chart/index.vue +203 -0
- package/template/src/components/core/charts/art-dual-bar-compare-chart/index.vue +195 -0
- package/template/src/components/core/charts/art-h-bar-chart/index.vue +208 -0
- package/template/src/components/core/charts/art-k-line-chart/index.vue +152 -0
- package/template/src/components/core/charts/art-line-chart/index.vue +371 -0
- package/template/src/components/core/charts/art-radar-chart/index.vue +105 -0
- package/template/src/components/core/charts/art-ring-chart/index.vue +133 -0
- package/template/src/components/core/charts/art-scatter-chart/index.vue +115 -0
- package/template/src/components/core/feedback/art-page-loading/index.vue +281 -0
- package/template/src/components/core/forms/art-button-more/index.vue +71 -0
- package/template/src/components/core/forms/art-button-table/index.vue +59 -0
- package/template/src/components/core/forms/art-drag-verify/index.vue +430 -0
- package/template/src/components/core/forms/art-excel-export/index.vue +390 -0
- package/template/src/components/core/forms/art-excel-import/index.vue +62 -0
- package/template/src/components/core/forms/art-form/index.vue +507 -0
- package/template/src/components/core/forms/art-wang-editor/index.vue +261 -0
- package/template/src/components/core/forms/art-wang-editor/style.scss +273 -0
- package/template/src/components/core/layouts/art-breadcrumb/index.vue +142 -0
- package/template/src/components/core/layouts/art-chat-window/index.vue +262 -0
- package/template/src/components/core/layouts/art-fast-enter/index.vue +113 -0
- package/template/src/components/core/layouts/art-fireworks-effect/index.vue +633 -0
- package/template/src/components/core/layouts/art-global-component/index.vue +14 -0
- package/template/src/components/core/layouts/art-global-search/index.vue +431 -0
- package/template/src/components/core/layouts/art-header-bar/index.vue +485 -0
- package/template/src/components/core/layouts/art-header-bar/widget/ArtUserMenu.vue +118 -0
- package/template/src/components/core/layouts/art-menus/art-horizontal-menu/index.vue +110 -0
- package/template/src/components/core/layouts/art-menus/art-horizontal-menu/widget/HorizontalSubmenu.vue +106 -0
- package/template/src/components/core/layouts/art-menus/art-mixed-menu/index.vue +279 -0
- package/template/src/components/core/layouts/art-menus/art-sidebar-menu/index.vue +354 -0
- package/template/src/components/core/layouts/art-menus/art-sidebar-menu/style.scss +251 -0
- package/template/src/components/core/layouts/art-menus/art-sidebar-menu/theme.scss +258 -0
- package/template/src/components/core/layouts/art-menus/art-sidebar-menu/widget/SidebarSubmenu.vue +190 -0
- package/template/src/components/core/layouts/art-notification/index.vue +456 -0
- package/template/src/components/core/layouts/art-page-content/index.vue +137 -0
- package/template/src/components/core/layouts/art-settings-panel/composables/useSettingsConfig.ts +248 -0
- package/template/src/components/core/layouts/art-settings-panel/composables/useSettingsHandlers.ts +167 -0
- package/template/src/components/core/layouts/art-settings-panel/composables/useSettingsPanel.ts +233 -0
- package/template/src/components/core/layouts/art-settings-panel/composables/useSettingsState.ts +37 -0
- package/template/src/components/core/layouts/art-settings-panel/index.vue +72 -0
- package/template/src/components/core/layouts/art-settings-panel/style.scss +92 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/BasicSettings.vue +77 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/BoxStyleSettings.vue +38 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/ColorSettings.vue +35 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/ContainerSettings.vue +33 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/MenuLayoutSettings.vue +31 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/MenuStyleSettings.vue +44 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/SectionTitle.vue +17 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/SettingActions.vue +236 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/SettingDrawer.vue +51 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/SettingHeader.vue +18 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/SettingItem.vue +101 -0
- package/template/src/components/core/layouts/art-settings-panel/widget/ThemeSettings.vue +28 -0
- package/template/src/components/core/layouts/art-work-tab/index.vue +584 -0
- package/template/src/components/core/media/art-cutter-img/index.vue +350 -0
- package/template/src/components/core/media/art-video-player/index.vue +111 -0
- package/template/src/components/core/others/art-menu-right/index.vue +415 -0
- package/template/src/components/core/others/art-watermark/index.vue +64 -0
- package/template/src/components/core/text-effect/art-count-to/index.vue +310 -0
- package/template/src/components/core/text-effect/art-festival-text-scroll/index.vue +32 -0
- package/template/src/components/core/text-effect/art-text-scroll/index.vue +285 -0
- package/template/src/components/core/theme/theme-svg/index.vue +100 -0
- package/template/src/components/core/views/exception/ArtException.vue +55 -0
- package/template/src/components/core/views/login/AuthTopBar.vue +149 -0
- package/template/src/components/core/views/login/LoginLeftView.vue +602 -0
- package/template/src/components/core/views/result/ArtResultPage.vue +43 -0
- package/template/src/components/core/widget/art-icon-button/index.vue +23 -0
- package/template/src/config/assets/images.ts +61 -0
- package/template/src/config/index.ts +170 -0
- package/template/src/config/modules/component.ts +98 -0
- package/template/src/config/modules/fastEnter.ts +16 -0
- package/template/src/config/modules/festival.ts +51 -0
- package/template/src/config/modules/headerBar.ts +64 -0
- package/template/src/config/setting.ts +109 -0
- package/template/src/directives/core/auth.ts +66 -0
- package/template/src/directives/core/highlight-loader.ts +37 -0
- package/template/src/directives/core/highlight.ts +253 -0
- package/template/src/directives/core/ripple.ts +116 -0
- package/template/src/directives/core/roles.ts +87 -0
- package/template/src/directives/index.ts +14 -0
- package/template/src/enums/appEnum.ts +81 -0
- package/template/src/enums/formEnum.ts +17 -0
- package/template/src/env.d.ts +32 -0
- package/template/src/hooks/core/useAppMode.ts +45 -0
- package/template/src/hooks/core/useAuth.ts +74 -0
- package/template/src/hooks/core/useCeremony.ts +184 -0
- package/template/src/hooks/core/useChart.ts +745 -0
- package/template/src/hooks/core/useCommon.ts +87 -0
- package/template/src/hooks/core/useFastEnter.ts +55 -0
- package/template/src/hooks/core/useHeaderBar.ts +201 -0
- package/template/src/hooks/core/useLayoutHeight.ts +148 -0
- package/template/src/hooks/core/useTableColumns.ts +313 -0
- package/template/src/hooks/core/useTheme.ts +174 -0
- package/template/src/hooks/index.ts +29 -0
- package/template/src/locales/index.ts +123 -0
- package/template/src/locales/langs/en.json +283 -0
- package/template/src/locales/langs/zh.json +283 -0
- package/template/src/main.ts +29 -0
- package/template/src/mock/auth.ts +46 -0
- package/template/src/plugins/echarts.ts +76 -0
- package/template/src/plugins/index.ts +6 -0
- package/template/src/router/core/ComponentLoader.ts +82 -0
- package/template/src/router/core/IframeRouteManager.ts +78 -0
- package/template/src/router/core/MenuProcessor.ts +280 -0
- package/template/src/router/core/RoutePermissionValidator.ts +161 -0
- package/template/src/router/core/RouteRegistry.ts +90 -0
- package/template/src/router/core/RouteTransformer.ts +132 -0
- package/template/src/router/core/RouteValidator.ts +187 -0
- package/template/src/router/core/index.ts +14 -0
- package/template/src/router/guards/afterEach.ts +34 -0
- package/template/src/router/guards/beforeEach.ts +442 -0
- package/template/src/router/index.ts +24 -0
- package/template/src/router/modules/dashboard.ts +23 -0
- package/template/src/router/modules/examples.ts +109 -0
- package/template/src/router/modules/exception.ts +46 -0
- package/template/src/router/modules/index.ts +12 -0
- package/template/src/router/modules/result.ts +32 -0
- package/template/src/router/routes/asyncRoutes.ts +9 -0
- package/template/src/router/routes/staticRoutes.ts +60 -0
- package/template/src/router/routesAlias.ts +8 -0
- package/template/src/services/auth.ts +15 -0
- package/template/src/store/index.ts +52 -0
- package/template/src/store/modules/menu.ts +109 -0
- package/template/src/store/modules/setting.ts +450 -0
- package/template/src/store/modules/user.ts +218 -0
- package/template/src/store/modules/worktab.ts +568 -0
- package/template/src/types/api/api.d.ts +86 -0
- package/template/src/types/common/index.ts +95 -0
- package/template/src/types/common/response.ts +32 -0
- package/template/src/types/component/chart.ts +324 -0
- package/template/src/types/component/index.ts +86 -0
- package/template/src/types/config/index.ts +253 -0
- package/template/src/types/directive/directive.d.ts +15 -0
- package/template/src/types/import/auto-imports.d.ts +319 -0
- package/template/src/types/import/components.d.ts +126 -0
- package/template/src/types/index.ts +22 -0
- package/template/src/types/router/index.ts +80 -0
- package/template/src/types/store/index.ts +157 -0
- package/template/src/utils/form/index.ts +9 -0
- package/template/src/utils/form/validator.ts +316 -0
- package/template/src/utils/http/contract.ts +39 -0
- package/template/src/utils/http/error.ts +182 -0
- package/template/src/utils/http/index.ts +226 -0
- package/template/src/utils/http/status.ts +18 -0
- package/template/src/utils/index.ts +31 -0
- package/template/src/utils/navigation/index.ts +10 -0
- package/template/src/utils/navigation/jump.ts +68 -0
- package/template/src/utils/navigation/route.ts +85 -0
- package/template/src/utils/navigation/worktab.ts +67 -0
- package/template/src/utils/router.ts +63 -0
- package/template/src/utils/socket/index.ts +423 -0
- package/template/src/utils/storage/index.ts +7 -0
- package/template/src/utils/storage/storage-config.ts +127 -0
- package/template/src/utils/storage/storage-key-manager.ts +97 -0
- package/template/src/utils/storage/storage.ts +250 -0
- package/template/src/utils/sys/console.ts +9 -0
- package/template/src/utils/sys/error-handle.ts +143 -0
- package/template/src/utils/sys/index.ts +2 -0
- package/template/src/utils/sys/mittBus.ts +61 -0
- package/template/src/utils/ui/animation.ts +80 -0
- package/template/src/utils/ui/colors.ts +273 -0
- package/template/src/utils/ui/emojo.ts +24 -0
- package/template/src/utils/ui/iconify-loader.ts +31 -0
- package/template/src/utils/ui/index.ts +11 -0
- package/template/src/utils/ui/loading.ts +158 -0
- package/template/src/utils/ui/tabs.ts +60 -0
- package/template/src/views/auth/forget-password/index.vue +62 -0
- package/template/src/views/auth/login/index.vue +166 -0
- package/template/src/views/auth/login/style.css +38 -0
- package/template/src/views/auth/register/index.vue +240 -0
- package/template/src/views/dashboard/console/index.vue +173 -0
- package/template/src/views/examples/analytics/index.vue +389 -0
- package/template/src/views/examples/complex-form/index.vue +395 -0
- package/template/src/views/examples/crud-workspace/index.vue +412 -0
- package/template/src/views/examples/navigation/detail/index.vue +151 -0
- package/template/src/views/examples/navigation/state/index.vue +226 -0
- package/template/src/views/examples/overview/index.vue +309 -0
- package/template/src/views/examples/permissions/index.vue +303 -0
- package/template/src/views/examples/search-table/index.vue +182 -0
- package/template/src/views/examples/search-table/search.config.ts +81 -0
- package/template/src/views/examples/search-table/service.ts +116 -0
- package/template/src/views/examples/search-table/table.config.ts +37 -0
- package/template/src/views/exception/403/index.vue +16 -0
- package/template/src/views/exception/404/index.vue +16 -0
- package/template/src/views/exception/500/index.vue +16 -0
- package/template/src/views/index/index.vue +29 -0
- package/template/src/views/index/style.scss +93 -0
- package/template/src/views/outside/Iframe.vue +42 -0
- package/template/src/views/result/fail/index.vue +28 -0
- package/template/src/views/result/success/index.vue +21 -0
- package/template/tests/e2e/auth.spec.ts +14 -0
- package/template/tests/e2e/search-table.spec.ts +154 -0
- package/template/tests/unit/adapters/auth.spec.ts +38 -0
- package/template/tests/unit/config/app-config.spec.ts +17 -0
- package/template/tests/unit/directives/highlight.spec.ts +20 -0
- package/template/tests/unit/http/contract.spec.ts +47 -0
- package/template/tests/unit/mock/search-table.spec.ts +62 -0
- package/template/tests/unit/router/examples.spec.ts +52 -0
- package/template/tsconfig.json +28 -0
- package/template/vite.config.ts +181 -0
- package/template/vitest.config.ts +27 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// 自定义四点旋转SVG
|
|
2
|
+
export const fourDotsSpinnerSvg = `
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40">
|
|
4
|
+
<style>
|
|
5
|
+
.spinner {
|
|
6
|
+
transform-origin: 20px 20px;
|
|
7
|
+
animation: rotate 1.6s linear infinite;
|
|
8
|
+
}
|
|
9
|
+
.dot {
|
|
10
|
+
fill: var(--theme-color);
|
|
11
|
+
animation: fade 1.6s infinite;
|
|
12
|
+
}
|
|
13
|
+
.dot:nth-child(1) { animation-delay: 0s; }
|
|
14
|
+
.dot:nth-child(2) { animation-delay: 0.5s; }
|
|
15
|
+
.dot:nth-child(3) { animation-delay: 1s; }
|
|
16
|
+
.dot:nth-child(4) { animation-delay: 1.5s; }
|
|
17
|
+
@keyframes rotate {
|
|
18
|
+
100% { transform: rotate(360deg); }
|
|
19
|
+
}
|
|
20
|
+
@keyframes fade {
|
|
21
|
+
0%, 100% { opacity: 1; }
|
|
22
|
+
50% { opacity: 0.5; }
|
|
23
|
+
}
|
|
24
|
+
</style>
|
|
25
|
+
<g class="spinner">
|
|
26
|
+
<circle class="dot" cx="20" cy="8" r="4"/>
|
|
27
|
+
<circle class="dot" cx="32" cy="20" r="4"/>
|
|
28
|
+
<circle class="dot" cx="20" cy="32" r="4"/>
|
|
29
|
+
<circle class="dot" cx="8" cy="20" r="4"/>
|
|
30
|
+
</g>
|
|
31
|
+
</svg>
|
|
32
|
+
`
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import AppConfig from '@/config'
|
|
2
|
+
|
|
3
|
+
function getOrCreateMeta(name: string): HTMLMetaElement {
|
|
4
|
+
let element = document.head.querySelector<HTMLMetaElement>(`meta[name="${name}"]`)
|
|
5
|
+
if (!element) {
|
|
6
|
+
element = document.createElement('meta')
|
|
7
|
+
element.name = name
|
|
8
|
+
document.head.appendChild(element)
|
|
9
|
+
}
|
|
10
|
+
return element
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function getOrCreateFavicon(): HTMLLinkElement {
|
|
14
|
+
let element = document.head.querySelector<HTMLLinkElement>('link[rel="icon"]')
|
|
15
|
+
if (!element) {
|
|
16
|
+
element = document.createElement('link')
|
|
17
|
+
element.rel = 'icon'
|
|
18
|
+
document.head.appendChild(element)
|
|
19
|
+
}
|
|
20
|
+
return element
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/** 将唯一应用配置同步到浏览器元信息。 */
|
|
24
|
+
export function initializeApp(): void {
|
|
25
|
+
const savedTheme = localStorage.getItem(`${AppConfig.storage.namespace}-theme`)
|
|
26
|
+
document.documentElement.classList.toggle('dark', savedTheme === 'dark')
|
|
27
|
+
document.title = AppConfig.systemInfo.name
|
|
28
|
+
getOrCreateMeta('description').content = AppConfig.systemInfo.description ?? ''
|
|
29
|
+
getOrCreateFavicon().href = AppConfig.systemInfo.favicon
|
|
30
|
+
}
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
<!-- 基础横幅组件 -->
|
|
2
|
+
<template>
|
|
3
|
+
<div
|
|
4
|
+
class="art-card basic-banner"
|
|
5
|
+
:class="[{ 'has-decoration': decoration }, boxStyle]"
|
|
6
|
+
:style="{ height }"
|
|
7
|
+
@click="emit('click')"
|
|
8
|
+
>
|
|
9
|
+
<!-- 流星效果 -->
|
|
10
|
+
<div v-if="meteorConfig?.enabled && isDark" class="basic-banner__meteors">
|
|
11
|
+
<span
|
|
12
|
+
v-for="(meteor, index) in meteors"
|
|
13
|
+
:key="index"
|
|
14
|
+
class="meteor"
|
|
15
|
+
:style="{
|
|
16
|
+
top: '-60px',
|
|
17
|
+
left: `${meteor.x}%`,
|
|
18
|
+
animationDuration: `${meteor.speed}s`,
|
|
19
|
+
animationDelay: `${meteor.delay}s`
|
|
20
|
+
}"
|
|
21
|
+
></span>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div class="basic-banner__content">
|
|
25
|
+
<!-- title slot -->
|
|
26
|
+
<slot name="title">
|
|
27
|
+
<p v-if="title" class="basic-banner__title" :style="{ color: titleColor }">{{ title }}</p>
|
|
28
|
+
</slot>
|
|
29
|
+
|
|
30
|
+
<!-- subtitle slot -->
|
|
31
|
+
<slot name="subtitle">
|
|
32
|
+
<p v-if="subtitle" class="basic-banner__subtitle" :style="{ color: subtitleColor }">{{
|
|
33
|
+
subtitle
|
|
34
|
+
}}</p>
|
|
35
|
+
</slot>
|
|
36
|
+
|
|
37
|
+
<!-- button slot -->
|
|
38
|
+
<slot name="button">
|
|
39
|
+
<div
|
|
40
|
+
v-if="buttonConfig?.show"
|
|
41
|
+
class="basic-banner__button"
|
|
42
|
+
:style="{
|
|
43
|
+
backgroundColor: buttonColor,
|
|
44
|
+
color: buttonTextColor,
|
|
45
|
+
borderRadius: buttonRadius
|
|
46
|
+
}"
|
|
47
|
+
@click.stop="emit('buttonClick')"
|
|
48
|
+
>
|
|
49
|
+
{{ buttonConfig?.text }}
|
|
50
|
+
</div>
|
|
51
|
+
</slot>
|
|
52
|
+
|
|
53
|
+
<!-- default slot -->
|
|
54
|
+
<slot></slot>
|
|
55
|
+
|
|
56
|
+
<!-- background image -->
|
|
57
|
+
<img
|
|
58
|
+
v-if="imageConfig.src"
|
|
59
|
+
class="basic-banner__background-image"
|
|
60
|
+
:src="imageConfig.src"
|
|
61
|
+
:style="{ width: imageConfig.width, bottom: imageConfig.bottom, right: imageConfig.right }"
|
|
62
|
+
loading="lazy"
|
|
63
|
+
alt="背景图片"
|
|
64
|
+
/>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</template>
|
|
68
|
+
|
|
69
|
+
<script setup lang="ts">
|
|
70
|
+
import { onMounted, ref, computed } from 'vue'
|
|
71
|
+
import { useSettingStore } from '@/store/modules/setting'
|
|
72
|
+
const settingStore = useSettingStore()
|
|
73
|
+
const { isDark } = storeToRefs(settingStore)
|
|
74
|
+
|
|
75
|
+
defineOptions({ name: 'ArtBasicBanner' })
|
|
76
|
+
|
|
77
|
+
// 流星对象接口定义
|
|
78
|
+
interface Meteor {
|
|
79
|
+
/** 流星的水平位置(百分比) */
|
|
80
|
+
x: number
|
|
81
|
+
/** 流星划过的速度 */
|
|
82
|
+
speed: number
|
|
83
|
+
/** 流星出现的延迟时间 */
|
|
84
|
+
delay: number
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// 按钮配置接口定义
|
|
88
|
+
interface ButtonConfig {
|
|
89
|
+
/** 是否启用按钮 */
|
|
90
|
+
show: boolean
|
|
91
|
+
/** 按钮文本 */
|
|
92
|
+
text: string
|
|
93
|
+
/** 按钮背景色 */
|
|
94
|
+
color?: string
|
|
95
|
+
/** 按钮文字颜色 */
|
|
96
|
+
textColor?: string
|
|
97
|
+
/** 按钮圆角大小 */
|
|
98
|
+
radius?: string
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// 流星效果配置接口定义
|
|
102
|
+
interface MeteorConfig {
|
|
103
|
+
/** 是否启用流星效果 */
|
|
104
|
+
enabled: boolean
|
|
105
|
+
/** 流星数量 */
|
|
106
|
+
count?: number
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// 背景图片配置接口定义
|
|
110
|
+
interface ImageConfig {
|
|
111
|
+
/** 图片源地址 */
|
|
112
|
+
src: string
|
|
113
|
+
/** 图片宽度 */
|
|
114
|
+
width?: string
|
|
115
|
+
/** 距底部距离 */
|
|
116
|
+
bottom?: string
|
|
117
|
+
/** 距右侧距离 */
|
|
118
|
+
right?: string // 距右侧距离
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// 组件属性接口定义
|
|
122
|
+
interface Props {
|
|
123
|
+
/** 横幅高度 */
|
|
124
|
+
height?: string
|
|
125
|
+
/** 标题文本 */
|
|
126
|
+
title?: string
|
|
127
|
+
/** 副标题文本 */
|
|
128
|
+
subtitle?: string
|
|
129
|
+
/** 盒子样式 */
|
|
130
|
+
boxStyle?: string
|
|
131
|
+
/** 是否显示装饰效果 */
|
|
132
|
+
decoration?: boolean
|
|
133
|
+
/** 按钮配置 */
|
|
134
|
+
buttonConfig?: ButtonConfig
|
|
135
|
+
/** 流星配置 */
|
|
136
|
+
meteorConfig?: MeteorConfig
|
|
137
|
+
/** 图片配置 */
|
|
138
|
+
imageConfig?: ImageConfig
|
|
139
|
+
/** 标题颜色 */
|
|
140
|
+
titleColor?: string
|
|
141
|
+
/** 副标题颜色 */
|
|
142
|
+
subtitleColor?: string
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// 组件属性默认值设置
|
|
146
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
147
|
+
height: '11rem',
|
|
148
|
+
titleColor: 'white',
|
|
149
|
+
subtitleColor: 'white',
|
|
150
|
+
boxStyle: '!bg-theme/60',
|
|
151
|
+
decoration: true,
|
|
152
|
+
buttonConfig: () => ({
|
|
153
|
+
show: true,
|
|
154
|
+
text: '查看',
|
|
155
|
+
color: '#fff',
|
|
156
|
+
textColor: '#333',
|
|
157
|
+
radius: '6px'
|
|
158
|
+
}),
|
|
159
|
+
meteorConfig: () => ({ enabled: false, count: 10 }),
|
|
160
|
+
imageConfig: () => ({ src: '', width: '12rem', bottom: '-3rem', right: '0' })
|
|
161
|
+
})
|
|
162
|
+
|
|
163
|
+
// 定义组件事件
|
|
164
|
+
const emit = defineEmits<{
|
|
165
|
+
(e: 'click'): void // 整体点击事件
|
|
166
|
+
(e: 'buttonClick'): void // 按钮点击事件
|
|
167
|
+
}>()
|
|
168
|
+
|
|
169
|
+
// 计算按钮样式属性
|
|
170
|
+
const buttonColor = computed(() => props.buttonConfig?.color ?? '#fff')
|
|
171
|
+
const buttonTextColor = computed(() => props.buttonConfig?.textColor ?? '#333')
|
|
172
|
+
const buttonRadius = computed(() => props.buttonConfig?.radius ?? '6px')
|
|
173
|
+
|
|
174
|
+
// 流星数据初始化
|
|
175
|
+
const meteors = ref<Meteor[]>([])
|
|
176
|
+
onMounted(() => {
|
|
177
|
+
if (props.meteorConfig?.enabled) {
|
|
178
|
+
meteors.value = generateMeteors(props.meteorConfig?.count ?? 10)
|
|
179
|
+
}
|
|
180
|
+
})
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* 生成流星数据数组
|
|
184
|
+
* @param count 流星数量
|
|
185
|
+
* @returns 流星数据数组
|
|
186
|
+
*/
|
|
187
|
+
function generateMeteors(count: number): Meteor[] {
|
|
188
|
+
// 计算每个流星的区域宽度
|
|
189
|
+
const segmentWidth = 100 / count
|
|
190
|
+
return Array.from({ length: count }, (_, index) => {
|
|
191
|
+
// 计算流星起始位置
|
|
192
|
+
const segmentStart = index * segmentWidth
|
|
193
|
+
// 在区域内随机生成x坐标
|
|
194
|
+
const x = segmentStart + Math.random() * segmentWidth
|
|
195
|
+
// 随机决定流星速度快慢
|
|
196
|
+
const isSlow = Math.random() > 0.5
|
|
197
|
+
return {
|
|
198
|
+
x,
|
|
199
|
+
speed: isSlow ? 5 + Math.random() * 3 : 2 + Math.random() * 2,
|
|
200
|
+
delay: Math.random() * 5
|
|
201
|
+
}
|
|
202
|
+
})
|
|
203
|
+
}
|
|
204
|
+
</script>
|
|
205
|
+
|
|
206
|
+
<style lang="scss" scoped>
|
|
207
|
+
.basic-banner {
|
|
208
|
+
position: relative;
|
|
209
|
+
display: flex;
|
|
210
|
+
flex-direction: column;
|
|
211
|
+
justify-content: center;
|
|
212
|
+
padding: 0 2rem;
|
|
213
|
+
overflow: hidden;
|
|
214
|
+
color: white;
|
|
215
|
+
border-radius: calc(var(--custom-radius) + 2px) !important;
|
|
216
|
+
|
|
217
|
+
&__content {
|
|
218
|
+
position: relative;
|
|
219
|
+
z-index: 1;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
&__title {
|
|
223
|
+
margin: 0 0 0.5rem;
|
|
224
|
+
font-size: 1.5rem;
|
|
225
|
+
font-weight: 600;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&__subtitle {
|
|
229
|
+
position: relative;
|
|
230
|
+
z-index: 10;
|
|
231
|
+
margin: 0 0 1.5rem;
|
|
232
|
+
font-size: 0.9rem;
|
|
233
|
+
opacity: 0.9;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&__button {
|
|
237
|
+
box-sizing: border-box;
|
|
238
|
+
display: inline-block;
|
|
239
|
+
min-width: 80px;
|
|
240
|
+
height: var(--el-component-custom-height);
|
|
241
|
+
padding: 0 12px;
|
|
242
|
+
font-size: 14px;
|
|
243
|
+
line-height: var(--el-component-custom-height);
|
|
244
|
+
text-align: center;
|
|
245
|
+
cursor: pointer;
|
|
246
|
+
user-select: none;
|
|
247
|
+
transition: all 0.3s;
|
|
248
|
+
|
|
249
|
+
&:hover {
|
|
250
|
+
opacity: 0.8;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
&__background-image {
|
|
255
|
+
position: absolute;
|
|
256
|
+
right: 0;
|
|
257
|
+
bottom: -3rem;
|
|
258
|
+
z-index: 0;
|
|
259
|
+
width: 12rem;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
&.has-decoration::after {
|
|
263
|
+
position: absolute;
|
|
264
|
+
right: -10%;
|
|
265
|
+
bottom: -20%;
|
|
266
|
+
width: 60%;
|
|
267
|
+
height: 140%;
|
|
268
|
+
content: '';
|
|
269
|
+
background: rgb(255 255 255 / 10%);
|
|
270
|
+
border-radius: 30%;
|
|
271
|
+
transform: rotate(-20deg);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
&__meteors {
|
|
275
|
+
position: absolute;
|
|
276
|
+
top: 0;
|
|
277
|
+
left: 0;
|
|
278
|
+
z-index: 0;
|
|
279
|
+
width: 100%;
|
|
280
|
+
height: 100%;
|
|
281
|
+
pointer-events: none;
|
|
282
|
+
|
|
283
|
+
.meteor {
|
|
284
|
+
position: absolute;
|
|
285
|
+
width: 2px;
|
|
286
|
+
height: 60px;
|
|
287
|
+
background: linear-gradient(
|
|
288
|
+
to top,
|
|
289
|
+
rgb(255 255 255 / 40%),
|
|
290
|
+
rgb(255 255 255 / 10%),
|
|
291
|
+
transparent
|
|
292
|
+
);
|
|
293
|
+
opacity: 0;
|
|
294
|
+
transform-origin: top left;
|
|
295
|
+
animation-name: meteor-fall;
|
|
296
|
+
animation-timing-function: linear;
|
|
297
|
+
animation-iteration-count: infinite;
|
|
298
|
+
|
|
299
|
+
&::before {
|
|
300
|
+
position: absolute;
|
|
301
|
+
right: 0;
|
|
302
|
+
bottom: 0;
|
|
303
|
+
width: 2px;
|
|
304
|
+
height: 2px;
|
|
305
|
+
content: '';
|
|
306
|
+
background: rgb(255 255 255 / 50%);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@keyframes meteor-fall {
|
|
313
|
+
0% {
|
|
314
|
+
opacity: 1;
|
|
315
|
+
transform: translate(0, -60px) rotate(-45deg);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
100% {
|
|
319
|
+
opacity: 0;
|
|
320
|
+
transform: translate(400px, 340px) rotate(-45deg);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@media (width <= 640px) {
|
|
325
|
+
.basic-banner {
|
|
326
|
+
box-sizing: border-box;
|
|
327
|
+
justify-content: flex-start;
|
|
328
|
+
padding: 16px;
|
|
329
|
+
|
|
330
|
+
&__title {
|
|
331
|
+
font-size: 1.4rem;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
&__background-image {
|
|
335
|
+
display: none;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
&.has-decoration::after {
|
|
339
|
+
display: none;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
</style>
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
<!-- 卡片横幅组件 -->
|
|
2
|
+
<template>
|
|
3
|
+
<div class="art-card-sm flex-c flex-col pb-6" :style="{ height: height }">
|
|
4
|
+
<div class="flex-c flex-col gap-4 text-center">
|
|
5
|
+
<div class="w-45">
|
|
6
|
+
<img :src="image" :alt="title" class="w-full h-full object-contain" />
|
|
7
|
+
</div>
|
|
8
|
+
<div class="box-border px-4">
|
|
9
|
+
<p class="mb-2 text-lg font-semibold text-g-800">{{ title }}</p>
|
|
10
|
+
<p class="m-0 text-sm text-g-600">{{ description }}</p>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="flex-c gap-3">
|
|
13
|
+
<div
|
|
14
|
+
v-if="cancelButton?.show"
|
|
15
|
+
class="inline-block h-9 px-3 text-sm/9 c-p select-none rounded-md border border-g-300"
|
|
16
|
+
:style="{
|
|
17
|
+
backgroundColor: cancelButton?.color,
|
|
18
|
+
color: cancelButton?.textColor
|
|
19
|
+
}"
|
|
20
|
+
@click="handleCancel"
|
|
21
|
+
>
|
|
22
|
+
{{ cancelButton?.text }}
|
|
23
|
+
</div>
|
|
24
|
+
<div
|
|
25
|
+
v-if="button?.show"
|
|
26
|
+
class="inline-block h-9 px-3 text-sm/9 c-p select-none rounded-md"
|
|
27
|
+
:style="{ backgroundColor: button?.color, color: button?.textColor }"
|
|
28
|
+
@click="handleClick"
|
|
29
|
+
>
|
|
30
|
+
{{ button?.text }}
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
36
|
+
|
|
37
|
+
<script setup lang="ts">
|
|
38
|
+
// 导入默认图标
|
|
39
|
+
import defaultIcon from '@imgs/3d/icon1.webp'
|
|
40
|
+
|
|
41
|
+
defineOptions({ name: 'ArtCardBanner' })
|
|
42
|
+
|
|
43
|
+
// 定义卡片横幅组件的属性接口
|
|
44
|
+
interface CardBannerProps {
|
|
45
|
+
/** 高度 */
|
|
46
|
+
height?: string
|
|
47
|
+
/** 图片路径 */
|
|
48
|
+
image?: string
|
|
49
|
+
/** 标题文本 */
|
|
50
|
+
title: string
|
|
51
|
+
/** 描述文本 */
|
|
52
|
+
description: string
|
|
53
|
+
/** 主按钮配置 */
|
|
54
|
+
button?: {
|
|
55
|
+
/** 是否显示 */
|
|
56
|
+
show?: boolean
|
|
57
|
+
/** 按钮文本 */
|
|
58
|
+
text?: string
|
|
59
|
+
/** 背景颜色 */
|
|
60
|
+
color?: string
|
|
61
|
+
/** 文字颜色 */
|
|
62
|
+
textColor?: string
|
|
63
|
+
}
|
|
64
|
+
/** 取消按钮配置 */
|
|
65
|
+
cancelButton?: {
|
|
66
|
+
/** 是否显示 */
|
|
67
|
+
show?: boolean
|
|
68
|
+
/** 按钮文本 */
|
|
69
|
+
text?: string
|
|
70
|
+
/** 背景颜色 */
|
|
71
|
+
color?: string
|
|
72
|
+
/** 文字颜色 */
|
|
73
|
+
textColor?: string
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// 定义组件属性默认值
|
|
78
|
+
withDefaults(defineProps<CardBannerProps>(), {
|
|
79
|
+
height: '24rem',
|
|
80
|
+
image: defaultIcon,
|
|
81
|
+
title: '',
|
|
82
|
+
description: '',
|
|
83
|
+
// 主按钮默认配置
|
|
84
|
+
button: () => ({
|
|
85
|
+
show: true,
|
|
86
|
+
text: '查看详情',
|
|
87
|
+
color: 'var(--theme-color)',
|
|
88
|
+
textColor: '#fff'
|
|
89
|
+
}),
|
|
90
|
+
// 取消按钮默认配置
|
|
91
|
+
cancelButton: () => ({
|
|
92
|
+
show: false,
|
|
93
|
+
text: '取消',
|
|
94
|
+
color: '#f5f5f5',
|
|
95
|
+
textColor: '#666'
|
|
96
|
+
})
|
|
97
|
+
})
|
|
98
|
+
|
|
99
|
+
// 定义组件事件
|
|
100
|
+
const emit = defineEmits<{
|
|
101
|
+
(e: 'click'): void // 主按钮点击事件
|
|
102
|
+
(e: 'cancel'): void // 取消按钮点击事件
|
|
103
|
+
}>()
|
|
104
|
+
|
|
105
|
+
// 主按钮点击处理函数
|
|
106
|
+
const handleClick = () => {
|
|
107
|
+
emit('click')
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// 取消按钮点击处理函数
|
|
111
|
+
const handleCancel = () => {
|
|
112
|
+
emit('cancel')
|
|
113
|
+
}
|
|
114
|
+
</script>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<!-- 返回顶部按钮 -->
|
|
2
|
+
<template>
|
|
3
|
+
<Transition
|
|
4
|
+
enter-active-class="tad-300 ease-out"
|
|
5
|
+
leave-active-class="tad-200 ease-in"
|
|
6
|
+
enter-from-class="opacity-0 translate-y-2"
|
|
7
|
+
enter-to-class="opacity-100 translate-y-0"
|
|
8
|
+
leave-from-class="opacity-100 translate-y-0"
|
|
9
|
+
leave-to-class="opacity-0 translate-y-2"
|
|
10
|
+
>
|
|
11
|
+
<div
|
|
12
|
+
v-show="showButton"
|
|
13
|
+
class="fixed right-10 bottom-15 size-9.5 flex-cc c-p border border-g-300 rounded-md tad-300 hover:bg-g-200"
|
|
14
|
+
@click="scrollToTop"
|
|
15
|
+
>
|
|
16
|
+
<ArtSvgIcon icon="ri:arrow-up-wide-line" class="text-g-500 text-lg" />
|
|
17
|
+
</div>
|
|
18
|
+
</Transition>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
import { useCommon } from '@/hooks/core/useCommon'
|
|
23
|
+
|
|
24
|
+
defineOptions({ name: 'ArtBackToTop' })
|
|
25
|
+
|
|
26
|
+
const { scrollToTop } = useCommon()
|
|
27
|
+
|
|
28
|
+
const showButton = ref(false)
|
|
29
|
+
const scrollThreshold = 300
|
|
30
|
+
|
|
31
|
+
onMounted(() => {
|
|
32
|
+
const scrollContainer = document.getElementById('app-main')
|
|
33
|
+
if (scrollContainer) {
|
|
34
|
+
const { y } = useScroll(scrollContainer)
|
|
35
|
+
watch(y, (newY: number) => {
|
|
36
|
+
showButton.value = newY > scrollThreshold
|
|
37
|
+
})
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
</script>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<!-- 系统logo -->
|
|
2
|
+
<template>
|
|
3
|
+
<div class="flex-cc">
|
|
4
|
+
<img
|
|
5
|
+
:style="logoStyle"
|
|
6
|
+
:src="logoUrl"
|
|
7
|
+
:alt="`${AppConfig.systemInfo.name} Logo`"
|
|
8
|
+
class="w-full h-full"
|
|
9
|
+
/>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script setup lang="ts">
|
|
14
|
+
defineOptions({ name: 'ArtLogo' })
|
|
15
|
+
import AppConfig from '@/config'
|
|
16
|
+
import { useSettingStore } from '@/store/modules/setting'
|
|
17
|
+
|
|
18
|
+
interface Props {
|
|
19
|
+
/** logo 大小 */
|
|
20
|
+
size?: number | string
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
24
|
+
size: 36
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
const logoStyle = computed(() => ({ width: `${props.size}px` }))
|
|
28
|
+
const { isDark } = storeToRefs(useSettingStore())
|
|
29
|
+
const logoUrl = computed(() =>
|
|
30
|
+
isDark.value && AppConfig.systemInfo.logoDark
|
|
31
|
+
? AppConfig.systemInfo.logoDark
|
|
32
|
+
: AppConfig.systemInfo.logo
|
|
33
|
+
)
|
|
34
|
+
</script>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- 图标组件 -->
|
|
2
|
+
<template>
|
|
3
|
+
<Icon v-if="icon" :icon="icon" v-bind="bindAttrs" class="art-svg-icon inline" />
|
|
4
|
+
</template>
|
|
5
|
+
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { Icon } from '@iconify/vue'
|
|
8
|
+
|
|
9
|
+
defineOptions({ name: 'ArtSvgIcon', inheritAttrs: false })
|
|
10
|
+
|
|
11
|
+
interface Props {
|
|
12
|
+
/** Iconify icon name */
|
|
13
|
+
icon?: string
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
defineProps<Props>()
|
|
17
|
+
|
|
18
|
+
const attrs = useAttrs()
|
|
19
|
+
|
|
20
|
+
const bindAttrs = computed<{ class: string; style: string }>(() => ({
|
|
21
|
+
class: (attrs.class as string) || '',
|
|
22
|
+
style: (attrs.style as string) || ''
|
|
23
|
+
}))
|
|
24
|
+
</script>
|