diff --git a/src/api/types.ts b/src/api/types.ts index d08bebfa..6e50b7d7 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -214,7 +214,7 @@ export interface DownloadingInfo { media: { [key: string]: any } } - +// 缺失剧集信息 export interface NotExistMediaInfo { // 季 season: number @@ -225,3 +225,31 @@ export interface NotExistMediaInfo { // 开始集 start_episode: number } + +// 插件 +export interface Plugin { + id?: string + // 插件名称 + plugin_name?: string + // 插件描述 + plugin_desc?: string + // 插件图标 + plugin_icon?: string + // 主题色 + plugin_color?: string + // 插件版本 + plugin_version?: string + // 插件作者 + plugin_author?: string + // 作者主页 + author_url?: string + // 插件配置项ID前缀 + plugin_config_prefix?: string + // 加载顺序 + plugin_order?: number + // 可使用的用户级别 + auth_level?: number + // 是否已安装 + installed?: boolean + +} diff --git a/src/components/cards/PluginCard.vue b/src/components/cards/PluginCard.vue new file mode 100644 index 00000000..9efc04ac --- /dev/null +++ b/src/components/cards/PluginCard.vue @@ -0,0 +1,23 @@ + + diff --git a/src/pages/plugin.vue b/src/pages/plugin.vue index b333bf3f..21dd63a1 100644 --- a/src/pages/plugin.vue +++ b/src/pages/plugin.vue @@ -1,178 +1,9 @@ + + diff --git a/src/views/setting/PluginCardListView.vue b/src/views/setting/PluginCardListView.vue new file mode 100644 index 00000000..5dde3c46 --- /dev/null +++ b/src/views/setting/PluginCardListView.vue @@ -0,0 +1,51 @@ + + + + +