diff --git a/src/pages/JSPage/index.page.vue b/src/pages/Page/JSPage/index.page.vue
similarity index 100%
rename from src/pages/JSPage/index.page.vue
rename to src/pages/Page/JSPage/index.page.vue
diff --git a/src/pages/JSPage/js-file.js b/src/pages/Page/JSPage/js-file.js
similarity index 100%
rename from src/pages/JSPage/js-file.js
rename to src/pages/Page/JSPage/js-file.js
diff --git a/src/pages/MDPage.page.md b/src/pages/Page/MDPage.page.md
similarity index 100%
rename from src/pages/MDPage.page.md
rename to src/pages/Page/MDPage.page.md
diff --git a/src/pages/cesium/cesium-helper/00.cesium-init.VIEWER_OPTIONS.ts b/src/pages/Satellite/Cesium/cesium-helper/00.cesium-init.VIEWER_OPTIONS.ts
similarity index 100%
rename from src/pages/cesium/cesium-helper/00.cesium-init.VIEWER_OPTIONS.ts
rename to src/pages/Satellite/Cesium/cesium-helper/00.cesium-init.VIEWER_OPTIONS.ts
diff --git a/src/pages/cesium/cesium-helper/00.cesium-init.globe.ts b/src/pages/Satellite/Cesium/cesium-helper/00.cesium-init.globe.ts
similarity index 100%
rename from src/pages/cesium/cesium-helper/00.cesium-init.globe.ts
rename to src/pages/Satellite/Cesium/cesium-helper/00.cesium-init.globe.ts
diff --git a/src/pages/cesium/cesium-helper/00.cesium-init.ts b/src/pages/Satellite/Cesium/cesium-helper/00.cesium-init.ts
similarity index 100%
rename from src/pages/cesium/cesium-helper/00.cesium-init.ts
rename to src/pages/Satellite/Cesium/cesium-helper/00.cesium-init.ts
diff --git a/src/pages/cesium/cesium-helper/README.md b/src/pages/Satellite/Cesium/cesium-helper/README.md
similarity index 100%
rename from src/pages/cesium/cesium-helper/README.md
rename to src/pages/Satellite/Cesium/cesium-helper/README.md
diff --git a/src/pages/cesium/cesium-helper/demo_01_OrbitGeneration.ts b/src/pages/Satellite/Cesium/cesium-helper/demo_01_OrbitGeneration.ts
similarity index 100%
rename from src/pages/cesium/cesium-helper/demo_01_OrbitGeneration.ts
rename to src/pages/Satellite/Cesium/cesium-helper/demo_01_OrbitGeneration.ts
diff --git a/src/pages/cesium/cesium-helper/demo_02_Track.ts b/src/pages/Satellite/Cesium/cesium-helper/demo_02_Track.ts
similarity index 99%
rename from src/pages/cesium/cesium-helper/demo_02_Track.ts
rename to src/pages/Satellite/Cesium/cesium-helper/demo_02_Track.ts
index e05a836..61543f8 100644
--- a/src/pages/cesium/cesium-helper/demo_02_Track.ts
+++ b/src/pages/Satellite/Cesium/cesium-helper/demo_02_Track.ts
@@ -1,5 +1,5 @@
import * as Cesium from 'cesium';
-import { Cartesian3, type Viewer } from 'cesium';
+import { type Viewer } from 'cesium';
import { eciToEcf, gstime, propagate, twoline2satrec } from 'satellite.js';
/**
diff --git a/src/pages/cesium/index.page.vue b/src/pages/Satellite/Cesium/index.page.vue
similarity index 100%
rename from src/pages/cesium/index.page.vue
rename to src/pages/Satellite/Cesium/index.page.vue
diff --git a/src/pages/SAT/CesiumViewer.vue b/src/pages/Satellite/OrbPro/CesiumViewer.vue
similarity index 100%
rename from src/pages/SAT/CesiumViewer.vue
rename to src/pages/Satellite/OrbPro/CesiumViewer.vue
diff --git a/src/pages/SAT/Initialization options for the Viewer constructor.ts b/src/pages/Satellite/OrbPro/Initialization options for the Viewer constructor.ts
similarity index 100%
rename from src/pages/SAT/Initialization options for the Viewer constructor.ts
rename to src/pages/Satellite/OrbPro/Initialization options for the Viewer constructor.ts
diff --git a/src/pages/Satellite/OrbPro/README.md b/src/pages/Satellite/OrbPro/README.md
new file mode 100644
index 0000000..fe2c2de
--- /dev/null
+++ b/src/pages/Satellite/OrbPro/README.md
@@ -0,0 +1 @@
+- https://github.com/DigitalArsenal/SDA-TAP-LAB/deployments
diff --git a/src/pages/SAT/fns/demo.ts b/src/pages/Satellite/OrbPro/fns/demo.ts
similarity index 100%
rename from src/pages/SAT/fns/demo.ts
rename to src/pages/Satellite/OrbPro/fns/demo.ts
diff --git a/src/pages/SAT/fns/index.ts b/src/pages/Satellite/OrbPro/fns/index.ts
similarity index 100%
rename from src/pages/SAT/fns/index.ts
rename to src/pages/Satellite/OrbPro/fns/index.ts
diff --git a/src/pages/SAT/index.page.vue b/src/pages/Satellite/OrbPro/index.page.vue
similarity index 100%
rename from src/pages/SAT/index.page.vue
rename to src/pages/Satellite/OrbPro/index.page.vue
diff --git a/src/pages/Satellite/SatNOGS/index.page.MD b/src/pages/Satellite/SatNOGS/index.page.MD
new file mode 100644
index 0000000..c5b8fe5
--- /dev/null
+++ b/src/pages/Satellite/SatNOGS/index.page.MD
@@ -0,0 +1 @@
+- https://satnogs.org
diff --git a/src/pages/API/index.page.vue b/src/pages/Tool/API/index.page.vue
similarity index 100%
rename from src/pages/API/index.page.vue
rename to src/pages/Tool/API/index.page.vue
diff --git a/src/pages/i18n.page.vue b/src/pages/Tool/I18n.page.vue
similarity index 100%
rename from src/pages/i18n.page.vue
rename to src/pages/Tool/I18n.page.vue
diff --git a/src/pages/Icons.page.vue b/src/pages/Tool/Icons.page.vue
similarity index 100%
rename from src/pages/Icons.page.vue
rename to src/pages/Tool/Icons.page.vue
diff --git a/src/pages/Tool/fonts.page.vue b/src/pages/Tool/fonts.page.vue
new file mode 100644
index 0000000..1444a3f
--- /dev/null
+++ b/src/pages/Tool/fonts.page.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+ - https://juejin.cn/post/7118700280136335396
+ - https://juejin.cn/post/7106556068007772174
+ - cn-font-split
+
+
+
+ unocss-preset-chinese 中文排版
https://unocss-preset-chinese-playground.vercel.app/
+
+
+
+
🔌 Vite Plugin Webfont DL ⚡
+
Fonts are downloaded directly from Google Fonts
+
{{ JSON.stringify({ $style }, null, 2) }}
+
+
+
+
+
diff --git a/src/pages/ts-enum-util.page.vue b/src/pages/Tool/ts-enum-util.page.vue
similarity index 100%
rename from src/pages/ts-enum-util.page.vue
rename to src/pages/Tool/ts-enum-util.page.vue
diff --git a/src/pages/AntdV/HAPopconfirm/HAPopconfirm.vue b/src/pages/UI-components/AntdV/HAPopconfirm/HAPopconfirm.vue
similarity index 100%
rename from src/pages/AntdV/HAPopconfirm/HAPopconfirm.vue
rename to src/pages/UI-components/AntdV/HAPopconfirm/HAPopconfirm.vue
diff --git a/src/pages/AntdV/HAPopconfirm/types.ts b/src/pages/UI-components/AntdV/HAPopconfirm/types.ts
similarity index 100%
rename from src/pages/AntdV/HAPopconfirm/types.ts
rename to src/pages/UI-components/AntdV/HAPopconfirm/types.ts
diff --git a/src/pages/AntdV/index.page.vue b/src/pages/UI-components/AntdV/index.page.vue
similarity index 100%
rename from src/pages/AntdV/index.page.vue
rename to src/pages/UI-components/AntdV/index.page.vue
diff --git a/src/pages/primevue/__dialog-content.vue b/src/pages/UI-components/PrimeVue/__dialog-content.vue
similarity index 100%
rename from src/pages/primevue/__dialog-content.vue
rename to src/pages/UI-components/PrimeVue/__dialog-content.vue
diff --git a/src/pages/primevue/fns.tsx b/src/pages/UI-components/PrimeVue/fns.tsx
similarity index 100%
rename from src/pages/primevue/fns.tsx
rename to src/pages/UI-components/PrimeVue/fns.tsx
diff --git a/src/pages/primevue/index.page.vue b/src/pages/UI-components/PrimeVue/index.page.vue
similarity index 100%
rename from src/pages/primevue/index.page.vue
rename to src/pages/UI-components/PrimeVue/index.page.vue
diff --git a/src/pages/infinite-loading/detail.page.vue b/src/pages/UI-components/infinite-loading/detail.page.vue
similarity index 100%
rename from src/pages/infinite-loading/detail.page.vue
rename to src/pages/UI-components/infinite-loading/detail.page.vue
diff --git a/src/pages/infinite-loading/index.page.vue b/src/pages/UI-components/infinite-loading/index.page.vue
similarity index 91%
rename from src/pages/infinite-loading/index.page.vue
rename to src/pages/UI-components/infinite-loading/index.page.vue
index 4dfb5e1..cdd76bc 100644
--- a/src/pages/infinite-loading/index.page.vue
+++ b/src/pages/UI-components/infinite-loading/index.page.vue
@@ -16,12 +16,12 @@ const state = shallowReactive(structuredClone(K_INITIAL_STATE));
-
-
-
-
- - https://juejin.cn/post/7118700280136335396
- - https://juejin.cn/post/7106556068007772174
- - cn-font-split
-
-
-
diff --git a/src/pages/index.page.vue b/src/pages/index.page.vue
index 409a53c..fe6f306 100644
--- a/src/pages/index.page.vue
+++ b/src/pages/index.page.vue
@@ -47,32 +47,4 @@ const FComponent: import('vue').FunctionalComponent<{ prop: string }> = (props /
commit: {{ VITE_BUILD_COMMIT }}
-
-
- unocss-preset-chinese 中文排版
https://unocss-preset-chinese-playground.vercel.app/
-
-
-
-
🔌 Vite Plugin Webfont DL ⚡
-
Fonts are downloaded directly from Google Fonts
-
{{ JSON.stringify({ $style }, null, 2) }}
-
-
-
diff --git a/src/plugins/router.ts b/src/plugins/router.ts
index 74052b6..50ecb05 100644
--- a/src/plugins/router.ts
+++ b/src/plugins/router.ts
@@ -41,6 +41,11 @@ export function install({ app }: { app: import('vue').App }) {
Object.assign(window, { stack: createStackGuard(router) });
}
+/*
+definePage({
+ meta: { },
+});
+ */
declare module 'vue-router' {
interface RouteMeta {
/**
diff --git a/typed-router.d.ts b/typed-router.d.ts
index 830cded..f719194 100644
--- a/typed-router.d.ts
+++ b/typed-router.d.ts
@@ -20,21 +20,21 @@ declare module 'vue-router/auto-routes' {
export interface RouteNamedMap {
'Root': RouteRecordInfo<'Root', '/', Record, Record>,
'$Path': RouteRecordInfo<'$Path', '/:path(.*)', { path: ParamValue }, { path: ParamValue }>,
- 'AntdV': RouteRecordInfo<'AntdV', '/AntdV', Record, Record>,
- 'API': RouteRecordInfo<'API', '/API', Record, Record>,
- 'Cesium': RouteRecordInfo<'Cesium', '/cesium', Record, Record>,
'DataLoadersId': RouteRecordInfo<'DataLoadersId', '/data-loaders/:id', { id: ParamValue }, { id: ParamValue }>,
'DataLoadersIdSub1UserId': RouteRecordInfo<'DataLoadersIdSub1UserId', '/data-loaders/:id/sub-1/:userId', { id: ParamValue, userId: ParamValue }, { id: ParamValue, userId: ParamValue }>,
- 'Fonts': RouteRecordInfo<'Fonts', '/fonts', Record, Record>,
- 'I18n': RouteRecordInfo<'I18n', '/i18n', Record, Record>,
- 'Icons': RouteRecordInfo<'Icons', '/Icons', Record, Record>,
- 'InfiniteLoading': RouteRecordInfo<'InfiniteLoading', '/infinite-loading', Record, Record>,
- 'InfiniteLoadingDetail': RouteRecordInfo<'InfiniteLoadingDetail', '/infinite-loading/detail', Record, Record>,
- 'JSPage': RouteRecordInfo<'JSPage', '/JSPage', Record, Record>,
- 'MDPage': RouteRecordInfo<'MDPage', '/MDPage', Record, Record>,
- 'Primevue': RouteRecordInfo<'Primevue', '/primevue', Record, Record>,
- 'SAT': RouteRecordInfo<'SAT', '/SAT', Record, Record>,
- 'TsEnumUtil': RouteRecordInfo<'TsEnumUtil', '/ts-enum-util', Record, Record>,
+ 'PageJSPage': RouteRecordInfo<'PageJSPage', '/Page/JSPage', Record, Record>,
+ 'PageMDPage': RouteRecordInfo<'PageMDPage', '/Page/MDPage', Record, Record>,
+ 'SatelliteCesium': RouteRecordInfo<'SatelliteCesium', '/Satellite/Cesium', Record, Record>,
+ 'SatelliteOrbPro': RouteRecordInfo<'SatelliteOrbPro', '/Satellite/OrbPro', Record, Record>,
+ 'ToolAPI': RouteRecordInfo<'ToolAPI', '/Tool/API', Record, Record>,
+ 'ToolFonts': RouteRecordInfo<'ToolFonts', '/Tool/fonts', Record, Record>,
+ 'ToolI18n': RouteRecordInfo<'ToolI18n', '/Tool/I18n', Record, Record>,
+ 'ToolIcons': RouteRecordInfo<'ToolIcons', '/Tool/Icons', Record, Record>,
+ 'ToolTsEnumUtil': RouteRecordInfo<'ToolTsEnumUtil', '/Tool/ts-enum-util', Record, Record>,
+ 'UIComponentsAntdV': RouteRecordInfo<'UIComponentsAntdV', '/UI-components/AntdV', Record, Record>,
+ 'UIComponentsInfiniteLoading': RouteRecordInfo<'UIComponentsInfiniteLoading', '/UI-components/infinite-loading', Record, Record>,
+ 'UIComponentsInfiniteLoadingDetail': RouteRecordInfo<'UIComponentsInfiniteLoadingDetail', '/UI-components/infinite-loading/detail', Record, Record>,
+ 'UIComponentsPrimeVue': RouteRecordInfo<'UIComponentsPrimeVue', '/UI-components/PrimeVue', Record, Record>,
'VueMacrosDefineRender': RouteRecordInfo<'VueMacrosDefineRender', '/VueMacros/DefineRender', Record, Record>,
'VueMacrosReactivityTransform': RouteRecordInfo<'VueMacrosReactivityTransform', '/VueMacros/ReactivityTransform', Record, Record>,
'VueMacrosReusableTemplate': RouteRecordInfo<'VueMacrosReusableTemplate', '/VueMacros/ReusableTemplate', Record, Record>,
diff --git a/vite.config.plugins.ts b/vite.config.plugins.ts
index 8ee410a..3cf442b 100644
--- a/vite.config.plugins.ts
+++ b/vite.config.plugins.ts
@@ -27,7 +27,6 @@ import cdnImport from 'vite-plugin-cdn-import';
import { vitePluginFakeServer } from 'vite-plugin-fake-server';
import { viteStaticCopy } from 'vite-plugin-static-copy';
import VueDevTools from 'vite-plugin-vue-devtools';
-import Layouts from 'vite-plugin-vue-layouts';
import MetaLayouts from 'vite-plugin-vue-meta-layouts';
import { ViteWebfontDownload as WebfontDownload } from 'vite-plugin-webfont-dl';
@@ -57,12 +56,12 @@ export function Plugins() {
}), // https://vue-macros.dev/zh-CN/guide/bundler-integration.html
// https://github.com/JohnCampionJr/vite-plugin-vue-layouts?tab=readme-ov-file#configuration
- Layouts({ defaultLayout: 'sakai-vue/AppLayout', pagesDirs: [] }),
+ // Layouts({ defaultLayout: 'sakai-vue/AppLayout', pagesDirs: [] }),
// https://github.com/dishait/vite-plugin-vue-meta-layouts
MetaLayouts({
- // skipTopLevelRouteLayout: true,
defaultLayout: 'sakai-vue/AppLayout',
+ skipTopLevelRouteLayout: false, // 打开修复 https://github.com/JohnCampionJr/vite-plugin-vue-layouts/issues/134,默认为 false 关闭
}),
// https://github.com/antfu/unocss