@ -1,5 +1,4 @@
|
||||
---
|
||||
import Layout from "@/layouts/Layout.astro"
|
||||
import Breadcrumb from "@/components/Breadcrumb.astro"
|
||||
import { getBrands, getYears, type BrandEntry } from "@/lib/api"
|
||||
import { getI18n } from '@/i18n/utils'
|
||||
@ -71,26 +70,24 @@ if (!yearChips.length) yearChips = yearSeed
|
||||
<div class="showsg-b" x-show="!collapsedGroups.designers">
|
||||
<input class="showssearch" placeholder="Search designer…" autocomplete="off" x-model.debounce.150ms="keyword" />
|
||||
<ul class="showschecks">
|
||||
<li>
|
||||
<!-- Letter Header -->
|
||||
<template x-if="item.type === 'letter'">
|
||||
<div class="letter-head" x-text="item.letter"></div>
|
||||
</template>
|
||||
<!-- <li>
|
||||
<template x-if="item.type === 'letter'">
|
||||
<div class="letter-head" x-text="item.letter"></div>
|
||||
</template>
|
||||
|
||||
<!-- Brand Item -->
|
||||
<template x-if="item.type === 'brand'">
|
||||
<label class="flex items-center gap-2 w-full cursor-pointer">
|
||||
<input
|
||||
type="checkbox"
|
||||
:value="item.id"
|
||||
:checked="selectedBrands.includes(item.id)"
|
||||
@change="toggleBrand(item.id)"
|
||||
>
|
||||
<span x-text="item.name"></span>
|
||||
<span class="ct" x-text="item.count ? item.count : ''"></span>
|
||||
</label>
|
||||
</template>
|
||||
</li>
|
||||
<template x-if="item.type === 'brand'">
|
||||
<label class="flex items-center gap-2 w-full cursor-pointer">
|
||||
<input
|
||||
type="checkbox"
|
||||
:value="item.id"
|
||||
:checked="selectedBrands.includes(item.id)"
|
||||
@change="toggleBrand(item.id)"
|
||||
>
|
||||
<span x-text="item.name"></span>
|
||||
<span class="ct" x-text="item.count ? item.count : ''"></span>
|
||||
</label>
|
||||
</template>
|
||||
</li> -->
|
||||
</ul>
|
||||
<a class="showsmore" @click="openBrandModal()" x-text="'浏览全部品牌 +'"></a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user