-
+
{loading ? (
@@ -498,6 +522,7 @@ function LayoutHeaderSearch() {
onClick={() => {
dismissSearch(true)
}}
+ aria-label="清空媒体搜索"
className="absolute right-3 text-[var(--app-muted)] hover:text-[var(--app-text)] p-0.5 rounded-lg"
>
@@ -538,15 +563,11 @@ function LayoutHeaderSearch() {
) : (
{results.map((item) => (
-
-
+
))}
{loadingMore && (
@@ -605,6 +626,15 @@ function LayoutHeaderSearch() {
)}
)}
+
dismissSearch(false)}
+ className="sticky -bottom-2 flex items-center justify-center gap-2 border-t border-[var(--app-border)] bg-[var(--app-panel)] px-3 py-3 text-xs font-bold text-brand-500 hover:bg-[var(--app-hover)]"
+ >
+
+ 查看全部搜索结果
+
按回车搜索
+