mirror of
https://github.com/dream-pep/koring-launcher.git
synced 2026-09-12 05:45:18 +08:00
feat(pages): 添加资源、实例页临时占位页面,更新版本至1.2.5
移除原有商城和图库页面的导入,替换对应路由为临时占位组件
This commit is contained in:
+3
-4
@@ -10,13 +10,12 @@ import { useAuthStore } from "./stores/authStore";
|
||||
import { useKoringAuthStore } from "./stores/koringAuthStore";
|
||||
import type { AppConfig } from "./api/config";
|
||||
import { Home } from "./pages/home";
|
||||
import { Store } from "./pages/store";
|
||||
import { Today } from "./pages/today";
|
||||
import { PlayLink } from "./pages/play-link";
|
||||
import { Setting } from "./pages/setting";
|
||||
import { SettingLogin } from "./pages/setting/login";
|
||||
import { Gallery } from "./pages/gallery";
|
||||
import { TaskQueue } from "./pages/task-queue";
|
||||
import { GalleryPlaceholder, StorePlaceholder } from "./pages/placeholder";
|
||||
import { UpdatePage } from "./pages/update";
|
||||
import { Debug } from "./pages/debug";
|
||||
import { SplashDebug } from "./pages/debug/splash-debug";
|
||||
@@ -44,12 +43,12 @@ import { VERSION } from "./lib/version";
|
||||
|
||||
const pageMap = {
|
||||
home: Home,
|
||||
store: Store,
|
||||
store: StorePlaceholder,
|
||||
today: Today,
|
||||
"play-link": PlayLink,
|
||||
setting: Setting,
|
||||
"setting/login": SettingLogin,
|
||||
gallery: Gallery,
|
||||
gallery: GalleryPlaceholder,
|
||||
"task-queue": TaskQueue,
|
||||
update: UpdatePage,
|
||||
oobe: Oobe,
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
import { UnderConstruction } from "@/components/UnderConstruction";
|
||||
|
||||
/** 实例页占位(与资讯页相同的占位组件,临时使用) */
|
||||
export function GalleryPlaceholder() {
|
||||
return (
|
||||
<UnderConstruction
|
||||
pageName="实例"
|
||||
description="管理您的游戏实例、版本与存档"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
/** 资源页占位(与资讯页相同的占位组件,临时使用) */
|
||||
export function StorePlaceholder() {
|
||||
return (
|
||||
<UnderConstruction
|
||||
pageName="资源"
|
||||
description="Minecraft 游戏版本、MOD 与整合包下载"
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user