ai-c/pages/backpack/backpack.wxss
2026-02-02 18:21:32 +08:00

122 lines
1.7 KiB
Plaintext

.page {
min-height: 100vh;
background: #E8C3D4;
}
.nav-container {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
background: rgba(248, 249, 252, 0.75);
backdrop-filter: blur(20rpx) saturate(180%);
-webkit-backdrop-filter: blur(20rpx) saturate(180%);
}
.status-bar {
background: transparent;
}
.nav-bar {
display: flex;
align-items: center;
justify-content: center;
padding: 0 32rpx;
position: relative;
}
.nav-back {
position: absolute;
left: 32rpx;
top: 50%;
transform: translateY(-50%);
width: 80rpx;
height: 80rpx;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
.back-icon {
width: 48rpx;
height: 48rpx;
}
.nav-title {
font-size: 34rpx;
font-weight: 700;
color: #1A1A1A;
}
.wrap {
padding: 24rpx;
}
.card {
background: #ffffff;
border-radius: 40rpx;
padding: 24rpx;
box-shadow: 0 10rpx 20rpx rgba(17, 24, 39, 0.04);
}
.loading,
.empty {
text-align: center;
color: #9ca3af;
font-weight: 800;
padding: 80rpx 0;
}
.grid {
display: flex;
flex-wrap: wrap;
gap: 16rpx;
}
.item {
width: calc(33.333% - 11rpx);
border: 2rpx solid #f3f4f6;
border-radius: 24rpx;
padding: 16rpx;
}
.thumb {
height: 160rpx;
border-radius: 18rpx;
overflow: hidden;
background: #f9fafb;
display: flex;
align-items: center;
justify-content: center;
}
.img {
width: 100%;
height: 100%;
}
.img-placeholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.name {
margin-top: 12rpx;
font-size: 24rpx;
font-weight: 900;
color: #111827;
}
.count {
margin-top: 6rpx;
font-size: 22rpx;
color: #6b7280;
font-weight: 700;
}