From e1c0e53b8177ed957b851771ece34c4b4b202376 Mon Sep 17 00:00:00 2001 From: toom1996 Date: Wed, 26 Aug 2026 22:12:04 +0800 Subject: [PATCH] update --- src/components/RunwayLooks.astro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/RunwayLooks.astro b/src/components/RunwayLooks.astro index 828b8ef..d917e7e 100644 --- a/src/components/RunwayLooks.astro +++ b/src/components/RunwayLooks.astro @@ -692,12 +692,13 @@ const seasonOptions: { value: string; label: string }[] = [ return "Load More ↓" }, - // 事件处理方法 + // 点击抽屉开关 toggleGroup(group: "designers" | "collection" | "season" | "year") { this.collapsedGroups[group] = !this.collapsedGroups[group] localStorage.setItem(`showsg-${group}`, this.collapsedGroups[group] ? "1" : "") }, + // 选中热门品牌 toggleBrand(id: number) { const idx = this.selectedBrands.indexOf(id) if (idx >= 0) this.selectedBrands.splice(idx, 1) @@ -705,6 +706,7 @@ const seasonOptions: { value: string; label: string }[] = [ this.refreshFilter() }, + // 清除筛选条件 refreshFilter() { this.loadPage(1, false) },