From d77eee1668b51e0481d5ff2a4bfb42f806e0ef1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Fri, 27 Feb 2026 18:30:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=9F=AD=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/url-value.ts | 10 ++- .../common/url-value/link-plugins-video.vue | 64 +++++++++---------- .../common/url-value/url-value-dialog.vue | 4 ++ .../model-plugins-video-list/index.vue | 6 +- .../model-plugins-video-list-content.vue | 14 ++-- .../model-plugins-video-tabs-content.vue | 16 ++--- 6 files changed, 63 insertions(+), 51 deletions(-) diff --git a/src/api/url-value.ts b/src/api/url-value.ts index 0698c0e2..5e58ee82 100644 --- a/src/api/url-value.ts +++ b/src/api/url-value.ts @@ -107,7 +107,15 @@ class UrlValueAPI { method: 'post', data, }); - } + } + /** 博客指定数据 */ + static getPluginVideoList(data: any) { + return api_request({ + url: `plugins/index/pluginsname/video/pluginscontrol/diyvideo/pluginsaction/index`, + method: 'post', + data, + }); + } } export default UrlValueAPI; diff --git a/src/components/common/url-value/link-plugins-video.vue b/src/components/common/url-value/link-plugins-video.vue index d143e630..850be28b 100644 --- a/src/components/common/url-value/link-plugins-video.vue +++ b/src/components/common/url-value/link-plugins-video.vue @@ -2,23 +2,20 @@
- - - - - - - - - - - - - - - +
+
视频分类
+ + + +
+
+
关键字
+ + + +
@@ -28,15 +25,14 @@   - - + + + + @@ -82,24 +78,19 @@ onMounted(() => { const modelValue = defineModel({ type: Object, default: {} }); const tableData = ref([]); const search_value = ref(''); + +const category_ids = ref(''); const loading = ref(false); const init = () => { template_selection.value = ''; category_ids.value = ''; search_value.value = ''; - article_category_list.value = get_data_list(common_store.common.plugins, 'blog.category_list'); get_list(1); }; const handle_search = () => { get_list(1); }; -const category_ids = ref(''); -interface articleCategory { - id: string; - name: string; - url: string; -} -const article_category_list = ref([]); + const template_selection = ref(''); //#region 分页 -----------------------------------------------start // 当前页 @@ -118,7 +109,7 @@ const get_list = (new_page: number) => { page_size: page_size.value, }; loading.value = true; - UrlValueAPI.getblogList(new_data).then((res: any) => { + UrlValueAPI.getPluginVideoList(new_data).then((res: any) => { tableData.value = res.data.data_list; if (res.data.data_list.length === 0) { empty_text.value = '暂无数据'; @@ -185,4 +176,13 @@ const handle_select = (selection: any) => { } } } +.horizontal-title { + font-size: 1.2rem; + line-height: 3.2rem; + text-align: right; + width: 100%; + color: #606266; + flex-basis: max-content; + white-space: nowrap; +} diff --git a/src/components/common/url-value/url-value-dialog.vue b/src/components/common/url-value/url-value-dialog.vue index f59dfd0b..cb456aaf 100644 --- a/src/components/common/url-value/url-value-dialog.vue +++ b/src/components/common/url-value/url-value-dialog.vue @@ -58,6 +58,10 @@ + +