整理
Some checks failed
/ depcheck (push) Successful in 2m24s
/ lint-build-and-check (push) Successful in 2m36s
/ build-and-deploy-to-vercel (push) Successful in 3m13s
/ surge (push) Successful in 2m40s
/ playwright (push) Failing after 8m16s

This commit is contained in:
严浩
2025-03-10 12:41:24 +08:00
parent a7b10809c1
commit 4542944f52
35 changed files with 66 additions and 60 deletions

View File

@ -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';
/**

View File

@ -0,0 +1 @@
- https://github.com/DigitalArsenal/SDA-TAP-LAB/deployments

View File

@ -0,0 +1 @@
- https://satnogs.org

View File

@ -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>

View File

@ -16,12 +16,12 @@ const state = shallowReactive(structuredClone(K_INITIAL_STATE));
<script setup lang="ts">
defineOptions({
beforeRouteEnter: (to, from) => {
if (from.name !== 'InfiniteLoadingDetail') {
if (from.name !== 'UIComponentsInfiniteLoadingDetail') {
Object.assign(state, structuredClone(K_INITIAL_STATE));
}
},
beforeRouteLeave: (to, from) => {
if (to.name !== 'InfiniteLoadingDetail') {
if (to.name !== 'UIComponentsInfiniteLoadingDetail') {
Object.assign(state, structuredClone(K_INITIAL_STATE));
}
},
@ -92,7 +92,7 @@ watchEffect(() => {
<template v-for="item in state.list" :key="item.id">
<div
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>
@ -105,7 +105,7 @@ watchEffect(() => {
v-for="item in state.list"
:key="item.id"
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 #content>

View File

@ -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>

View File

@ -47,32 +47,4 @@ const FComponent: import('vue').FunctionalComponent<{ prop: string }> = (props /
<SendSms class="mt-2!" />
<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>
<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>

View File

@ -41,6 +41,11 @@ export function install({ app }: { app: import('vue').App<Element> }) {
Object.assign(window, { stack: createStackGuard(router) });
}
/*
definePage({
meta: { },
});
*/
declare module 'vue-router' {
interface RouteMeta {
/**