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,139 @@
.friends-page {
min-height: 100vh;
background: linear-gradient(180deg, #fff8f2 0%, #f5f0ff 100%);
display: flex;
flex-direction: column;
}
.topbar {
display: flex;
align-items: center;
padding: 16rpx 28rpx 12rpx;
gap: 20rpx;
}
.topbar-logo { font-size: 44rpx; font-weight: 900; color: #272235; }
.logo-accent { color: #ff4f91; }
.topbar-tabs { flex: 1; display: flex; gap: 6rpx; }
.ftab {
font-size: 28rpx;
font-weight: 700;
color: #9b8fa8;
padding: 10rpx 20rpx;
border-radius: 999rpx;
}
.ftab-active { color: #ff4f91; background: rgba(255, 79, 145, 0.10); font-weight: 900; }
.ftab-count { font-size: 22rpx; font-weight: 800; }
.topbar-btn {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
background: linear-gradient(135deg, #ff4f91, #ff9f1c);
color: #fff;
font-size: 40rpx;
font-weight: 200;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8rpx 16rpx rgba(255, 79, 145, 0.28);
}
/* 空态 */
.empty-wrap {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}
.empty-inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 16rpx;
padding: 0 60rpx;
}
.empty-emoji { font-size: 80rpx; }
.empty-title { font-size: 34rpx; font-weight: 900; color: #272235; }
.empty-desc { font-size: 26rpx; color: #9b8fa8; text-align: center; line-height: 1.6; }
.go-btn { margin-top: 20rpx; padding: 22rpx 60rpx; font-size: 28rpx; font-weight: 800; }
/* 好友列表 */
.friends-scroll { flex: 1; }
.friend-item {
display: flex;
align-items: center;
gap: 20rpx;
padding: 20rpx 28rpx;
background: rgba(255, 255, 255, 0.80);
border-bottom: 1rpx solid rgba(43, 37, 61, 0.05);
}
.friend-avatar {
width: 88rpx;
height: 88rpx;
border-radius: 28rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 36rpx;
font-weight: 800;
color: rgba(39, 34, 53, 0.72);
flex-shrink: 0;
}
.friend-info { flex: 1; min-width: 0; }
.friend-name-row {
display: flex;
align-items: center;
gap: 12rpx;
margin-bottom: 6rpx;
}
.friend-name { font-size: 28rpx; font-weight: 800; color: #272235; }
.online-tag {
font-size: 20rpx;
font-weight: 800;
color: #2fd37a;
background: rgba(47, 211, 122, 0.12);
border-radius: 999rpx;
padding: 4rpx 12rpx;
}
.friend-bio {
font-size: 24rpx;
color: #9b8fa8;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
}
.follow-btn {
background: linear-gradient(135deg, #ff4f91, #ff9f1c);
color: #fff;
border-radius: 999rpx;
padding: 14rpx 28rpx;
font-size: 24rpx;
font-weight: 800;
flex-shrink: 0;
}
.follow-btn.following {
background: rgba(255, 255, 255, 0.80);
border: 1rpx solid rgba(43, 37, 61, 0.12);
color: #9b8fa8;
}