Merge branch 'main' of https://git.23cm.cn/toom1996/frontend_v2
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
toom1996
2026-08-29 15:52:55 +08:00

View File

@ -710,12 +710,19 @@ const seasonOptions: { value: string; label: string }[] = [
return list
},
// 事件处理方法
// 点击抽屉开关
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)
else this.selectedBrands.push(id)
this.refreshFilter()
},
refreshFilter() {
this.loadPage(1)
},