diff --git a/src/assets/icons/right_arrow.svg b/src/assets/icons/right_arrow.svg new file mode 100644 index 0000000..c3da58b --- /dev/null +++ b/src/assets/icons/right_arrow.svg @@ -0,0 +1,18 @@ + + + 右箭头 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/final/aside/Aside.vue b/src/views/final/aside/Aside.vue index d8fa596..9148a2d 100644 --- a/src/views/final/aside/Aside.vue +++ b/src/views/final/aside/Aside.vue @@ -138,6 +138,9 @@ const showSearch = ref(false); function setShowSearch(value: boolean) { showSearch.value = value; + if(!value){ + inputChange('') + } } // 滚动容器,让key对应模块处于可视区域 @@ -161,7 +164,6 @@ watch(asideValue, (newVal) => { }); const inputChange = (keyword) => { - console.log("Search Component", keyword); emit("inputChange", keyword); }; diff --git a/src/views/final/content/Content.vue b/src/views/final/content/Content.vue index 7c20fca..99a15ae 100644 --- a/src/views/final/content/Content.vue +++ b/src/views/final/content/Content.vue @@ -765,7 +765,11 @@ async function refreshHandler(searchId?: any) { } function filterTableData(keyword) { - tableData.value = tableData.value.filter(item => item.id.includes(keyword)) + if(keyword){ + tableData.value = tableData.value.filter(item => item.id.includes(keyword)) + }else{ + query(pagination.page, pagination.pageSize) + } } defineExpose({ filterTableData, diff --git a/src/views/home/content/Content.vue b/src/views/home/content/Content.vue index 9eb7323..6399f37 100644 --- a/src/views/home/content/Content.vue +++ b/src/views/home/content/Content.vue @@ -1,207 +1,240 @@ @@ -573,27 +613,33 @@ const dropdownOptions = ref([ AI一键查重 - - - + + + - - + + - + - - + - - + + {{ `${item.similar}%` }} - + @@ -653,11 +724,19 @@ const dropdownOptions = ref([ - + - + {{ item.upname }}