update
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
toom1996
2026-09-01 00:08:05 +08:00
parent 97b023bbbd
commit 50e5775dc8
9 changed files with 434 additions and 141 deletions

View File

@ -347,6 +347,7 @@ const seasonOptions: { value: string; label: string }[] = [
const ct = new URLSearchParams(window.location.search).get('collection')
const ALLOWED = ['rtw', 'menswear', 'womenswear', 'couture', 'resort', 'pre_fall', 'bridal', 'swimwear']
if (ct && ALLOWED.includes(ct)) this.selectedCt = ct
// 首页(含筛选后的首页)公开:未登录也直接加载首屏,不弹登录框
this.loadPage(1)
},
@ -393,7 +394,7 @@ const seasonOptions: { value: string; label: string }[] = [
},
refreshFilter() {
if (!this.requireLogin()) return
// 首页公开:筛选切换后重新加载第 1 页,未登录也可查看
this.loadPage(1)
},

View File

@ -296,6 +296,7 @@ const cityOptions: { value: string; label: string }[] = [
const city = new URLSearchParams(window.location.search).get('city')
const allowed = (this.cityOptions || []).map((c: any) => c.value)
if (city && allowed.includes(city)) this.selectedCity = city
// 首页公开:未登录也直接加载首屏,不弹登录框
this.loadPage(1)
},