修复:对齐用户端店铺页面

This commit is contained in:
xiaowang
2026-05-30 18:31:35 +08:00
parent 31cd06b5c9
commit 22347ff076
10 changed files with 165 additions and 108 deletions
+14 -24
View File
@@ -4,9 +4,8 @@
<a-button class="icon-btn" type="text" aria-label="返回首页" @click="handleBackClick">
<MenuOutlined />
</a-button>
<div class="brand-lockup" aria-label="YumiNail 作品列表">
<span class="brand-kicker">Nail Gallery</span>
<h1>YumiNail</h1>
<div class="brand-lockup" aria-label="指尖设计师">
<h1>指尖设计师</h1>
</div>
<a-button class="icon-btn icon-btn--bag" type="text" aria-label="前往购物车" @click="router.push('/cart')">
<ShoppingOutlined />
@@ -41,7 +40,7 @@
type="button"
@click="handleCategoryClick('全部')"
>
全部风格
全部款式
</button>
<button
v-for="tag in allTags"
@@ -465,7 +464,7 @@ onMounted(async () => {
<style scoped>
.product-list-page {
--gallery-header-height: 64px;
--gallery-header-height: 52px;
--gallery-gutter: 20px;
--gallery-surface: color-mix(in srgb, var(--theme-card-bg) 76%, transparent);
--gallery-surface-strong: color-mix(in srgb, var(--theme-card-bg) 90%, transparent);
@@ -501,26 +500,17 @@ onMounted(async () => {
}
.brand-lockup {
display: grid;
place-items: center;
display: flex;
align-items: center;
justify-content: center;
min-width: 0;
}
.brand-kicker {
color: var(--theme-primary-action);
font-size: 10px;
font-weight: 700;
line-height: 1;
letter-spacing: 0;
text-transform: uppercase;
}
.brand-lockup h1 {
margin: 3px 0 0;
color: var(--theme-primary-action);
font-family: "Playfair Display", "Times New Roman", serif;
font-size: 28px;
font-weight: 700;
margin: 0;
color: var(--text-primary);
font-size: 16px;
font-weight: 800;
line-height: 1;
letter-spacing: 0;
}
@@ -530,8 +520,8 @@ onMounted(async () => {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
width: 36px;
height: 36px;
border-radius: 999px;
color: var(--theme-primary-action);
background: color-mix(in srgb, var(--theme-card-bg) 72%, transparent);
@@ -545,7 +535,7 @@ onMounted(async () => {
}
.icon-btn :deep(.anticon) {
font-size: 20px;
font-size: 18px;
}
.bag-dot {