refactor:pc views

This commit is contained in:
jiangrui
2025-03-05 18:20:54 +08:00
parent 7bcec7e3b4
commit 1f3a83b84d
25 changed files with 2949 additions and 1117 deletions

View File

@@ -15,6 +15,7 @@ export interface ResourceItem {
export interface Resource {
list: ResourceItem[];
displayList?: boolean;
loading?: boolean;
channelInfo: {
channelId: string;
name: string;

View File

@@ -1,6 +1,18 @@
import { GlobalSettingAttributes, UserSettingAttributes } from "@/types";
export interface UserSettingStore {
globalSetting?: GlobalSettingAttributes | null;
userSettings: UserSettingAttributes;
displayStyle?: "table" | "card";
export interface GlobalSettingAttributes {
httpProxyHost: string;
httpProxyPort: string | number;
isProxyEnabled: boolean;
AdminUserCode: number;
CommonUserCode: number;
}
export interface UserSettingAttributes {
cloud115Cookie: string;
quarkCookie: string;
}
export interface UserSettingStore {
globalSetting: GlobalSettingAttributes | null;
userSettings: UserSettingAttributes;
displayStyle: "table" | "card";
}