You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
189 lines
2.6 KiB
189 lines
2.6 KiB
/**profile.wxss**/
|
|
.container {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
/* 页面标题 */
|
|
.page-header {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 20rpx 30rpx;
|
|
background-color: #1296db;
|
|
color: white;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* 用户信息区域 */
|
|
.user-section {
|
|
background: linear-gradient(135deg, #1296db 0%, #0d7ec7 100%);
|
|
padding: 40rpx 30rpx;
|
|
color: white;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 24rpx;
|
|
}
|
|
|
|
.avatar {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
border-radius: 50%;
|
|
border: 4rpx solid rgba(255,255,255,0.3);
|
|
background-color: rgba(255,255,255,0.1);
|
|
padding: 8rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.user-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8rpx;
|
|
}
|
|
|
|
.nickname {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.user-id {
|
|
font-size: 26rpx;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* 菜单内容 */
|
|
.menu-content {
|
|
flex: 1;
|
|
padding: 30rpx;
|
|
}
|
|
|
|
.menu-section {
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
margin-bottom: 20rpx;
|
|
padding-left: 10rpx;
|
|
}
|
|
|
|
.menu-list {
|
|
background-color: white;
|
|
border-radius: 16rpx;
|
|
overflow: hidden;
|
|
box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.menu-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 30rpx;
|
|
border-bottom: 1rpx solid #f0f0f0;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.menu-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.menu-item:active {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
|
|
|
|
.menu-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6rpx;
|
|
}
|
|
|
|
.menu-title {
|
|
font-size: 30rpx;
|
|
color: #333;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.menu-title.danger {
|
|
color: #ff4757;
|
|
}
|
|
|
|
.menu-desc {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.menu-arrow {
|
|
font-size: 28rpx;
|
|
color: #ccc;
|
|
}
|
|
|
|
/* 统计信息 */
|
|
.stats-section {
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.stats-grid {
|
|
display: flex;
|
|
background-color: white;
|
|
border-radius: 16rpx;
|
|
overflow: hidden;
|
|
box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.stat-item {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 40rpx 20rpx;
|
|
border-right: 1rpx solid #f0f0f0;
|
|
}
|
|
|
|
.stat-item:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 48rpx;
|
|
font-weight: bold;
|
|
color: #1296db;
|
|
margin-bottom: 12rpx;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
}
|
|
|
|
/* 底部信息 */
|
|
.footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 30rpx;
|
|
gap: 8rpx;
|
|
background-color: white;
|
|
border-top: 1rpx solid #e5e5e5;
|
|
}
|
|
|
|
.version-text {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.copyright {
|
|
font-size: 24rpx;
|
|
color: #ccc;
|
|
}
|