396 lines
No EOL
5.3 KiB
Text
396 lines
No EOL
5.3 KiB
Text
/* 好友详情页面样式 */
|
|
.friend-detail-container {
|
|
min-height: 100vh;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
/* 自定义导航栏 */
|
|
.custom-nav-bar {
|
|
background-color: #fff;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
}
|
|
|
|
.nav-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 44px;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.nav-left, .nav-right {
|
|
width: 44px;
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.back-icon, .more-icon {
|
|
font-size: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
.nav-title {
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
/* 加载状态 */
|
|
.loading-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 200px;
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 30px;
|
|
height: 30px;
|
|
border: 3px solid #f3f3f3;
|
|
border-top: 3px solid #007aff;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
.loading-text {
|
|
margin-top: 12px;
|
|
font-size: 14px;
|
|
color: #999;
|
|
}
|
|
|
|
/* 详情内容 */
|
|
.detail-content {
|
|
height: calc(100vh - 88px);
|
|
padding: 16px;
|
|
}
|
|
|
|
/* 信息卡片 */
|
|
.info-card {
|
|
background-color: #fff;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.basic-info {
|
|
display: flex;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.avatar-section {
|
|
position: relative;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.friend-avatar {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.avatar-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.avatar-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #e5e5e5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.avatar-text {
|
|
font-size: 32px;
|
|
color: #999;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.member-badge {
|
|
position: absolute;
|
|
bottom: -4px;
|
|
right: -4px;
|
|
background: linear-gradient(45deg, #ff6b6b, #ffa500);
|
|
border-radius: 8px;
|
|
padding: 2px 6px;
|
|
}
|
|
|
|
.member-text {
|
|
font-size: 10px;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-section {
|
|
flex: 1;
|
|
}
|
|
|
|
.name-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.friend-name {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.gender-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #007aff;
|
|
}
|
|
|
|
.gender-text {
|
|
font-size: 12px;
|
|
color: #fff;
|
|
}
|
|
|
|
.friend-id {
|
|
font-size: 14px;
|
|
color: #999;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.friend-bio {
|
|
font-size: 14px;
|
|
color: #666;
|
|
line-height: 1.4;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.friendship-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.friendship-text {
|
|
font-size: 13px;
|
|
color: #007aff;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.friendship-days {
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
|
|
/* 操作按钮 */
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.action-btn {
|
|
flex: 1;
|
|
height: 44px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.action-btn.primary {
|
|
background-color: #007aff;
|
|
}
|
|
|
|
.action-btn.secondary {
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.btn-icon {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.btn-text {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.action-btn.primary .btn-text {
|
|
color: #fff;
|
|
}
|
|
|
|
.action-btn.secondary .btn-text {
|
|
color: #333;
|
|
}
|
|
|
|
/* 详细信息区域 */
|
|
.detail-sections {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.detail-section {
|
|
background-color: #fff;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.section-header {
|
|
padding: 16px 16px 8px 16px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
/* 信息项 */
|
|
.info-items {
|
|
padding: 0 16px 16px 16px;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.info-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.item-label {
|
|
font-size: 15px;
|
|
color: #666;
|
|
}
|
|
|
|
.item-value {
|
|
font-size: 15px;
|
|
color: #333;
|
|
text-align: right;
|
|
}
|
|
|
|
/* 位置信息 */
|
|
.location-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px;
|
|
}
|
|
|
|
.location-info {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.location-icon {
|
|
font-size: 16px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.location-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.location-address {
|
|
font-size: 15px;
|
|
color: #333;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.location-time {
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
|
|
.location-arrow {
|
|
font-size: 16px;
|
|
color: #c7c7cc;
|
|
}
|
|
|
|
/* 设置项 */
|
|
.setting-items {
|
|
padding: 0 16px 16px 16px;
|
|
}
|
|
|
|
.setting-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 0;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.setting-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.setting-info {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.setting-icon {
|
|
font-size: 16px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.setting-label {
|
|
font-size: 15px;
|
|
color: #333;
|
|
}
|
|
|
|
.setting-arrow {
|
|
font-size: 16px;
|
|
color: #c7c7cc;
|
|
}
|
|
|
|
.setting-switch {
|
|
transform: scale(0.8);
|
|
}
|
|
|
|
/* 危险操作 */
|
|
.danger-section {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.danger-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.danger-icon {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.danger-text {
|
|
font-size: 15px;
|
|
color: #ff3b30;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 底部安全区域 */
|
|
.safe-area-bottom {
|
|
height: 34px;
|
|
} |