Initial commit

This commit is contained in:
2026-06-05 17:46:51 +08:00
commit c04c890186
96 changed files with 6477 additions and 0 deletions

View File

@@ -0,0 +1,218 @@
/* ── 底部导航栏 ── */
.tab-bar {
display: flex;
align-items: center;
border-top: 1rpx solid rgba(255, 255, 255, 0.65);
background: rgba(255, 255, 255, 0.90);
padding: 10rpx 0 calc(10rpx + env(safe-area-inset-bottom));
box-shadow: 0 -10rpx 24rpx rgba(110, 78, 131, 0.08);
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 999;
}
/* ── Tab 项 ── */
.tab-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 5rpx;
border-radius: 22rpx;
padding: 8rpx 0 6rpx;
position: relative;
}
.tab-item.active {
background: linear-gradient(180deg, rgba(255, 79, 145, 0.12), rgba(255, 225, 90, 0.08));
}
.tab-label {
font-size: 20rpx;
font-weight: 700;
color: #9b8fa8;
line-height: 1;
}
.tab-item.active .tab-label {
color: #ff4f91;
font-weight: 900;
}
/* ── 图标容器 ── */
.icon-wrap {
width: 44rpx;
height: 44rpx;
display: flex;
align-items: center;
justify-content: center;
}
/* ── 广场图标2×2 圆角方块网格 ── */
.icon-grid {
width: 34rpx;
height: 34rpx;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
gap: 5rpx;
}
.icon-grid .sq {
background: #9b8fa8;
border-radius: 4rpx;
transition: background 0.2s;
}
.tab-item.active .icon-grid .sq {
background: #ff4f91;
}
/* ── 附近图标:地图 Pin ── */
.icon-pin {
display: flex;
flex-direction: column;
align-items: center;
gap: 0;
}
.pin-head {
width: 22rpx;
height: 22rpx;
border-radius: 50% 50% 50% 0;
background: #9b8fa8;
transform: rotate(-45deg);
transition: background 0.2s;
}
.pin-tail {
width: 4rpx;
height: 8rpx;
background: #9b8fa8;
border-radius: 0 0 4rpx 4rpx;
margin-top: -2rpx;
transition: background 0.2s;
}
.tab-item.active .pin-head,
.tab-item.active .pin-tail {
background: #ff4f91;
}
/* ── 汪友图标:双人轮廓 ── */
.icon-ppl {
width: 36rpx;
height: 30rpx;
position: relative;
}
.ppl-head {
position: absolute;
width: 14rpx;
height: 14rpx;
border-radius: 50%;
background: #9b8fa8;
top: 0;
transition: background 0.2s;
}
.ppl-head-l { left: 2rpx; }
.ppl-head-r { right: 2rpx; }
.ppl-body {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 14rpx;
background: #9b8fa8;
border-radius: 8rpx 8rpx 0 0;
transition: background 0.2s;
}
.tab-item.active .ppl-head,
.tab-item.active .ppl-body {
background: #ff4f91;
}
/* ── 我的图标:单人轮廓 ── */
.icon-user {
width: 28rpx;
height: 34rpx;
display: flex;
flex-direction: column;
align-items: center;
gap: 4rpx;
}
.user-head {
width: 18rpx;
height: 18rpx;
border-radius: 50%;
background: #9b8fa8;
transition: background 0.2s;
}
.user-body {
width: 28rpx;
height: 14rpx;
border-radius: 8rpx 8rpx 0 0;
background: #9b8fa8;
transition: background 0.2s;
}
.tab-item.active .user-head,
.tab-item.active .user-body {
background: #ff4f91;
}
/* ── 发布 FAB ── */
.tab-fab-wrap {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 4rpx;
}
.tab-fab {
width: 92rpx;
height: 92rpx;
border-radius: 50%;
background: linear-gradient(135deg, #ff4f91, #ff9f1c 55%, #ffe15a);
border: 4rpx solid rgba(255, 255, 255, 0.90);
box-shadow: 0 10rpx 22rpx rgba(255, 79, 145, 0.28);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 4rpx;
}
.fab-plus {
font-size: 52rpx;
color: #fff;
font-weight: 300;
line-height: 1;
margin-top: -4rpx;
}
/* ── 未读角标 ── */
.badge {
position: absolute;
top: -4rpx;
right: -6rpx;
min-width: 30rpx;
height: 30rpx;
border-radius: 15rpx;
background: #ff4f91;
color: #fff;
font-size: 18rpx;
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
padding: 0 6rpx;
border: 2rpx solid #fff;
}