feat: 完成登录与栅格下载桌面端

This commit is contained in:
2026-10-25 02:09:12 +08:00
commit 5ca491834e
76 changed files with 10637 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import type { Component } from "vue";
import { h } from "vue";
import { NIcon } from "naive-ui";
import { CloudDownloadOutline, ListOutline } from "@vicons/ionicons5";
function renderIcon(icon: Component) {
return () => h(NIcon, null, { default: () => h(icon) });
}
export type PageKey = "grid" | "tasks";
export const navGroups = [
{
type: "group" as const,
label: "下载",
key: "download",
children: [
{ label: "栅格下载", key: "grid" as const, icon: renderIcon(CloudDownloadOutline) },
{ label: "下载管理", key: "tasks" as const, icon: renderIcon(ListOutline) },
],
},
];