Archived
整理
This commit is contained in:
1 parent
a7b10809c1
commit
4542944f52
35 files changed
+66
-60
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
import * as Cesium from 'cesium';
|
import * as Cesium from 'cesium';
|
||||||
import { Cartesian3, type Viewer } from 'cesium';
|
import { type Viewer } from 'cesium';
|
||||||
import { eciToEcf, gstime, propagate, twoline2satrec } from 'satellite.js';
|
import { eciToEcf, gstime, propagate, twoline2satrec } from 'satellite.js';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1 @@
|
|||||||
|
- https://github.com/DigitalArsenal/SDA-TAP-LAB/deployments
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1 @@
|
|||||||
|
- https://satnogs.org
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,39 @@
|
|||||||
|
<script setup lang="ts"></script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li>https://juejin.cn/post/7118700280136335396</li>
|
||||||
|
<li>https://juejin.cn/post/7106556068007772174</li>
|
||||||
|
<li>cn-font-split</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p class="mt-2" b="1px solid pink">
|
||||||
|
unocss-preset-chinese 中文<span class="chinese">排版</span
|
||||||
|
><br />https://unocss-preset-chinese-playground.vercel.app/
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div :class="$style.hero" mt-2>
|
||||||
|
<h1><i>🔌</i> Vite Plugin Webfont DL <i>⚡</i></h1>
|
||||||
|
<h2>Fonts are downloaded directly from Google Fonts</h2>
|
||||||
|
<pre>{{ JSON.stringify({ $style }, null, 2) }}</pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style module>
|
||||||
|
/* https://cn.vuejs.org/api/sfc-css-features#css-modules */
|
||||||
|
h1 {
|
||||||
|
font-family: 'Press Start 2P', cursive;
|
||||||
|
color: #646cff;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-family: 'Fira Code', monospace;
|
||||||
|
background-color: #42b983;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero {
|
||||||
|
border: 1px solid #42b983;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+4
-4
@@ -16,12 +16,12 @@ const state = shallowReactive(structuredClone(K_INITIAL_STATE));
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
defineOptions({
|
defineOptions({
|
||||||
beforeRouteEnter: (to, from) => {
|
beforeRouteEnter: (to, from) => {
|
||||||
if (from.name !== 'InfiniteLoadingDetail') {
|
if (from.name !== 'UIComponentsInfiniteLoadingDetail') {
|
||||||
Object.assign(state, structuredClone(K_INITIAL_STATE));
|
Object.assign(state, structuredClone(K_INITIAL_STATE));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeRouteLeave: (to, from) => {
|
beforeRouteLeave: (to, from) => {
|
||||||
if (to.name !== 'InfiniteLoadingDetail') {
|
if (to.name !== 'UIComponentsInfiniteLoadingDetail') {
|
||||||
Object.assign(state, structuredClone(K_INITIAL_STATE));
|
Object.assign(state, structuredClone(K_INITIAL_STATE));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -92,7 +92,7 @@ watchEffect(() => {
|
|||||||
<template v-for="item in state.list" :key="item.id">
|
<template v-for="item in state.list" :key="item.id">
|
||||||
<div
|
<div
|
||||||
class="border p-4 mb-[16px]"
|
class="border p-4 mb-[16px]"
|
||||||
@click="$router.push({ name: 'InfiniteLoadingDetail', query: { id: item.id } })"
|
@click="$router.push({ name: 'UIComponentsInfiniteLoadingDetail', query: { id: item.id } })"
|
||||||
>
|
>
|
||||||
<div>id:{{ item.id }}</div>
|
<div>id:{{ item.id }}</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -105,7 +105,7 @@ watchEffect(() => {
|
|||||||
v-for="item in state.list"
|
v-for="item in state.list"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
class="mb-[16px]"
|
class="mb-[16px]"
|
||||||
@click="$router.push({ name: 'InfiniteLoadingDetail', query: { id: item.id } })"
|
@click="$router.push({ name: 'UIComponentsInfiniteLoadingDetail', query: { id: item.id } })"
|
||||||
>
|
>
|
||||||
<template #title>{{ item.name }}</template>
|
<template #title>{{ item.name }}</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<script setup lang="ts"></script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<div>
|
|
||||||
<ul>
|
|
||||||
<li>https://juejin.cn/post/7118700280136335396</li>
|
|
||||||
<li>https://juejin.cn/post/7106556068007772174</li>
|
|
||||||
<li>cn-font-split</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
@@ -47,32 +47,4 @@ const FComponent: import('vue').FunctionalComponent<{ prop: string }> = (props /
|
|||||||
|
|
||||||
<SendSms class="mt-2!" />
|
<SendSms class="mt-2!" />
|
||||||
<div b="1px solid pink" mt-2 p-2>commit: {{ VITE_BUILD_COMMIT }}</div>
|
<div b="1px solid pink" mt-2 p-2>commit: {{ VITE_BUILD_COMMIT }}</div>
|
||||||
|
|
||||||
<p class="mt-2" b="1px solid pink">
|
|
||||||
unocss-preset-chinese 中文<span class="chinese">排版</span
|
|
||||||
><br />https://unocss-preset-chinese-playground.vercel.app/
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div :class="$style.hero" mt-2>
|
|
||||||
<h1><i>🔌</i> Vite Plugin Webfont DL <i>⚡</i></h1>
|
|
||||||
<h2>Fonts are downloaded directly from Google Fonts</h2>
|
|
||||||
<pre>{{ JSON.stringify({ $style }, null, 2) }}</pre>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style module>
|
|
||||||
/* https://cn.vuejs.org/api/sfc-css-features#css-modules */
|
|
||||||
h1 {
|
|
||||||
font-family: 'Press Start 2P', cursive;
|
|
||||||
color: #646cff;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-family: 'Fira Code', monospace;
|
|
||||||
background-color: #42b983;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero {
|
|
||||||
border: 1px solid #42b983;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -41,6 +41,11 @@ export function install({ app }: { app: import('vue').App<Element> }) {
|
|||||||
Object.assign(window, { stack: createStackGuard(router) });
|
Object.assign(window, { stack: createStackGuard(router) });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
definePage({
|
||||||
|
meta: { },
|
||||||
|
});
|
||||||
|
*/
|
||||||
declare module 'vue-router' {
|
declare module 'vue-router' {
|
||||||
interface RouteMeta {
|
interface RouteMeta {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Vendored
+13
-13
@@ -20,21 +20,21 @@ declare module 'vue-router/auto-routes' {
|
|||||||
export interface RouteNamedMap {
|
export interface RouteNamedMap {
|
||||||
'Root': RouteRecordInfo<'Root', '/', Record<never, never>, Record<never, never>>,
|
'Root': RouteRecordInfo<'Root', '/', Record<never, never>, Record<never, never>>,
|
||||||
'$Path': RouteRecordInfo<'$Path', '/:path(.*)', { path: ParamValue<true> }, { path: ParamValue<false> }>,
|
'$Path': RouteRecordInfo<'$Path', '/:path(.*)', { path: ParamValue<true> }, { path: ParamValue<false> }>,
|
||||||
'AntdV': RouteRecordInfo<'AntdV', '/AntdV', Record<never, never>, Record<never, never>>,
|
|
||||||
'API': RouteRecordInfo<'API', '/API', Record<never, never>, Record<never, never>>,
|
|
||||||
'Cesium': RouteRecordInfo<'Cesium', '/cesium', Record<never, never>, Record<never, never>>,
|
|
||||||
'DataLoadersId': RouteRecordInfo<'DataLoadersId', '/data-loaders/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
|
'DataLoadersId': RouteRecordInfo<'DataLoadersId', '/data-loaders/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
|
||||||
'DataLoadersIdSub1UserId': RouteRecordInfo<'DataLoadersIdSub1UserId', '/data-loaders/:id/sub-1/:userId', { id: ParamValue<true>, userId: ParamValue<true> }, { id: ParamValue<false>, userId: ParamValue<false> }>,
|
'DataLoadersIdSub1UserId': RouteRecordInfo<'DataLoadersIdSub1UserId', '/data-loaders/:id/sub-1/:userId', { id: ParamValue<true>, userId: ParamValue<true> }, { id: ParamValue<false>, userId: ParamValue<false> }>,
|
||||||
'Fonts': RouteRecordInfo<'Fonts', '/fonts', Record<never, never>, Record<never, never>>,
|
'PageJSPage': RouteRecordInfo<'PageJSPage', '/Page/JSPage', Record<never, never>, Record<never, never>>,
|
||||||
'I18n': RouteRecordInfo<'I18n', '/i18n', Record<never, never>, Record<never, never>>,
|
'PageMDPage': RouteRecordInfo<'PageMDPage', '/Page/MDPage', Record<never, never>, Record<never, never>>,
|
||||||
'Icons': RouteRecordInfo<'Icons', '/Icons', Record<never, never>, Record<never, never>>,
|
'SatelliteCesium': RouteRecordInfo<'SatelliteCesium', '/Satellite/Cesium', Record<never, never>, Record<never, never>>,
|
||||||
'InfiniteLoading': RouteRecordInfo<'InfiniteLoading', '/infinite-loading', Record<never, never>, Record<never, never>>,
|
'SatelliteOrbPro': RouteRecordInfo<'SatelliteOrbPro', '/Satellite/OrbPro', Record<never, never>, Record<never, never>>,
|
||||||
'InfiniteLoadingDetail': RouteRecordInfo<'InfiniteLoadingDetail', '/infinite-loading/detail', Record<never, never>, Record<never, never>>,
|
'ToolAPI': RouteRecordInfo<'ToolAPI', '/Tool/API', Record<never, never>, Record<never, never>>,
|
||||||
'JSPage': RouteRecordInfo<'JSPage', '/JSPage', Record<never, never>, Record<never, never>>,
|
'ToolFonts': RouteRecordInfo<'ToolFonts', '/Tool/fonts', Record<never, never>, Record<never, never>>,
|
||||||
'MDPage': RouteRecordInfo<'MDPage', '/MDPage', Record<never, never>, Record<never, never>>,
|
'ToolI18n': RouteRecordInfo<'ToolI18n', '/Tool/I18n', Record<never, never>, Record<never, never>>,
|
||||||
'Primevue': RouteRecordInfo<'Primevue', '/primevue', Record<never, never>, Record<never, never>>,
|
'ToolIcons': RouteRecordInfo<'ToolIcons', '/Tool/Icons', Record<never, never>, Record<never, never>>,
|
||||||
'SAT': RouteRecordInfo<'SAT', '/SAT', Record<never, never>, Record<never, never>>,
|
'ToolTsEnumUtil': RouteRecordInfo<'ToolTsEnumUtil', '/Tool/ts-enum-util', Record<never, never>, Record<never, never>>,
|
||||||
'TsEnumUtil': RouteRecordInfo<'TsEnumUtil', '/ts-enum-util', Record<never, never>, Record<never, never>>,
|
'UIComponentsAntdV': RouteRecordInfo<'UIComponentsAntdV', '/UI-components/AntdV', Record<never, never>, Record<never, never>>,
|
||||||
|
'UIComponentsInfiniteLoading': RouteRecordInfo<'UIComponentsInfiniteLoading', '/UI-components/infinite-loading', Record<never, never>, Record<never, never>>,
|
||||||
|
'UIComponentsInfiniteLoadingDetail': RouteRecordInfo<'UIComponentsInfiniteLoadingDetail', '/UI-components/infinite-loading/detail', Record<never, never>, Record<never, never>>,
|
||||||
|
'UIComponentsPrimeVue': RouteRecordInfo<'UIComponentsPrimeVue', '/UI-components/PrimeVue', Record<never, never>, Record<never, never>>,
|
||||||
'VueMacrosDefineRender': RouteRecordInfo<'VueMacrosDefineRender', '/VueMacros/DefineRender', Record<never, never>, Record<never, never>>,
|
'VueMacrosDefineRender': RouteRecordInfo<'VueMacrosDefineRender', '/VueMacros/DefineRender', Record<never, never>, Record<never, never>>,
|
||||||
'VueMacrosReactivityTransform': RouteRecordInfo<'VueMacrosReactivityTransform', '/VueMacros/ReactivityTransform', Record<never, never>, Record<never, never>>,
|
'VueMacrosReactivityTransform': RouteRecordInfo<'VueMacrosReactivityTransform', '/VueMacros/ReactivityTransform', Record<never, never>, Record<never, never>>,
|
||||||
'VueMacrosReusableTemplate': RouteRecordInfo<'VueMacrosReusableTemplate', '/VueMacros/ReusableTemplate', Record<never, never>, Record<never, never>>,
|
'VueMacrosReusableTemplate': RouteRecordInfo<'VueMacrosReusableTemplate', '/VueMacros/ReusableTemplate', Record<never, never>, Record<never, never>>,
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ import cdnImport from 'vite-plugin-cdn-import';
|
|||||||
import { vitePluginFakeServer } from 'vite-plugin-fake-server';
|
import { vitePluginFakeServer } from 'vite-plugin-fake-server';
|
||||||
import { viteStaticCopy } from 'vite-plugin-static-copy';
|
import { viteStaticCopy } from 'vite-plugin-static-copy';
|
||||||
import VueDevTools from 'vite-plugin-vue-devtools';
|
import VueDevTools from 'vite-plugin-vue-devtools';
|
||||||
import Layouts from 'vite-plugin-vue-layouts';
|
|
||||||
import MetaLayouts from 'vite-plugin-vue-meta-layouts';
|
import MetaLayouts from 'vite-plugin-vue-meta-layouts';
|
||||||
import { ViteWebfontDownload as WebfontDownload } from 'vite-plugin-webfont-dl';
|
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://vue-macros.dev/zh-CN/guide/bundler-integration.html
|
||||||
|
|
||||||
// https://github.com/JohnCampionJr/vite-plugin-vue-layouts?tab=readme-ov-file#configuration
|
// 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
|
// https://github.com/dishait/vite-plugin-vue-meta-layouts
|
||||||
MetaLayouts({
|
MetaLayouts({
|
||||||
// skipTopLevelRouteLayout: true,
|
|
||||||
defaultLayout: 'sakai-vue/AppLayout',
|
defaultLayout: 'sakai-vue/AppLayout',
|
||||||
|
skipTopLevelRouteLayout: false, // 打开修复 https://github.com/JohnCampionJr/vite-plugin-vue-layouts/issues/134,默认为 false 关闭
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// https://github.com/antfu/unocss
|
// https://github.com/antfu/unocss
|
||||||
|
|||||||
Reference in new issue
Block a user