first commit

This commit is contained in:
湛兮
2026-05-26 11:14:37 +08:00
commit 88d4578600
214 changed files with 25313 additions and 0 deletions
+105
View File
@@ -0,0 +1,105 @@
import type { FunctionalComponent } from "vue";
export const routerArrays: Array<RouteConfigs> = [
{
path: "/stores",
name: "StoreManagement",
meta: {
title: "门店管理",
icon: "ep/shop"
}
},
{
path: "/roles",
name: "RoleManagement",
meta: {
title: "角色管理",
icon: "ep/key"
}
},
{
path: "/employees",
name: "EmployeeManagement",
meta: {
title: "员工管理",
icon: "ep/user-filled"
}
}
];
export type routeMetaType = {
title?: string;
icon?: string | FunctionalComponent;
showLink?: boolean;
savedPosition?: boolean;
auths?: Array<string>;
};
export type RouteConfigs = {
path?: string;
query?: object;
params?: object;
meta?: routeMetaType;
children?: RouteConfigs[];
name?: string;
};
export type multiTagsType = {
tags: Array<RouteConfigs>;
};
export type tagsViewsType = {
icon: string | FunctionalComponent;
text: string;
divided: boolean;
disabled: boolean;
show: boolean;
};
export interface setType {
sidebar: {
opened: boolean;
withoutAnimation: boolean;
isClickCollapse: boolean;
};
device: string;
fixedHeader: boolean;
classes: {
hideSidebar: boolean;
openSidebar: boolean;
withoutAnimation: boolean;
mobile: boolean;
};
hideTabs: boolean;
}
export type menuType = {
id?: number;
name?: string;
path?: string;
noShowingChildren?: boolean;
children?: menuType[];
value: unknown;
meta?: {
icon?: string;
title?: string;
rank?: number;
showParent?: boolean;
extraIcon?: string;
};
showTooltip?: boolean;
parentId?: number;
pathList?: number[];
redirect?: string;
};
export type themeColorsType = {
color: string;
themeColor: string;
};
export interface scrollbarDomType extends HTMLElement {
wrap?: {
offsetWidth: number;
};
}