From d9fecfdc3d86f2439f1c73958524d48fdb8f2bc8 Mon Sep 17 00:00:00 2001 From: Mohan Date: Mon, 10 Aug 2026 15:52:42 +0800 Subject: [PATCH] feat(page): enable live search and add popular articles section --- src/views/SearchView.vue | 96 ++++++++++++++++++++++++++++++---------- 1 file changed, 73 insertions(+), 23 deletions(-) diff --git a/src/views/SearchView.vue b/src/views/SearchView.vue index 8411fd4..12011d4 100644 --- a/src/views/SearchView.vue +++ b/src/views/SearchView.vue @@ -1,7 +1,7 @@ @@ -90,25 +120,34 @@ onMounted(() => { -
- -
- +

{{ error }}

搜索中...

- @@ -127,6 +166,17 @@ onMounted(() => { margin-bottom: 20px; } +.popular-section { + margin-bottom: 20px; +} + +.popular-list { + display: flex; + flex-direction: column; + gap: 12px; + margin-top: 10px; +} + .section-label { color: var(--ac-text-secondary); font-size: 13px;