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 @@ + +