84 lines
1.5 KiB
Plaintext
84 lines
1.5 KiB
Plaintext
/** 衣橱:衬线大标题 + 下划线分类条 + 无容器网格 **/
|
|
.page-flex {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.scroll-body {
|
|
flex: 1;
|
|
height: 0;
|
|
}
|
|
|
|
.wd-stat {
|
|
margin-top: 22rpx;
|
|
font-size: 23rpx;
|
|
color: var(--ink-3);
|
|
letter-spacing: .02em;
|
|
}
|
|
|
|
/* 分类条:吸顶玻璃 + 下划线选中态 */
|
|
.segbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
margin-top: 36rpx;
|
|
background: var(--glass);
|
|
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
|
backdrop-filter: saturate(180%) blur(20px);
|
|
border-bottom: 1rpx solid var(--hairline);
|
|
}
|
|
|
|
.wd-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 44rpx 26rpx;
|
|
padding: 40rpx var(--pad) 0;
|
|
}
|
|
|
|
.wd-skel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18rpx;
|
|
}
|
|
|
|
.wd-tile {
|
|
display: block;
|
|
width: 100%;
|
|
transition: transform .2s var(--ease);
|
|
}
|
|
|
|
.wd-tile:active {
|
|
transform: scale(.975);
|
|
}
|
|
|
|
/* ===== 游客态:示例衣物瓦片(线稿占位 + 示例角标) ===== */
|
|
.gd-img {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
background: var(--paper-2);
|
|
border-radius: var(--r-img);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.gd-img .gd-ph {
|
|
width: 56%;
|
|
height: 56%;
|
|
color: var(--art);
|
|
}
|
|
|
|
/* 分类下无示例时的整行占位 */
|
|
.gd-none {
|
|
grid-column: 1 / -1;
|
|
padding: 72rpx 0;
|
|
text-align: center;
|
|
font-size: 24rpx;
|
|
color: var(--ink-3);
|
|
letter-spacing: .02em;
|
|
}
|