From 0077ab331cedcd2c8e29e5ecc6ca03023262e700 Mon Sep 17 00:00:00 2001 From: hwj Date: Tue, 30 Jun 2026 16:11:32 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E8=AE=BE=E5=A4=87=E6=80=BB?= =?UTF-8?q?=E8=A7=88-=E5=88=B7=E6=96=B0=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/overview/device/list.vue | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/pages_function/pages/overview/device/list.vue b/src/pages_function/pages/overview/device/list.vue index 46cc2d6..f6dbfd4 100644 --- a/src/pages_function/pages/overview/device/list.vue +++ b/src/pages_function/pages/overview/device/list.vue @@ -15,8 +15,8 @@ @confirm="handleSearch" /> - - + + @@ -204,9 +204,10 @@ function handleSearch() { applyFilters(true) } -function resetSearch() { +async function resetFilters() { + if (searchTimer) clearTimeout(searchTimer) keyword.value = '' - applyFilters(true) + await fetchDevices(true) } function onScroll(e) { @@ -329,14 +330,16 @@ function formatDateTime(value) { box-sizing: border-box; } -.icon-btn { - width: 68rpx; - height: 68rpx; - border-radius: 8rpx; - background: #ffffff; +.icon-filter-btn { + width: 66rpx; + height: 66rpx; + flex: 0 0 66rpx; display: flex; align-items: center; justify-content: center; + border: 1rpx solid transparent; + background: transparent; + box-sizing: border-box; } .list-scroll {