/* pages/profile/profile.wxss */
|
@import "../../style/icon.wxss";
|
|
/* 容器样式 */
|
.container {
|
min-height: 100vh;
|
background: #f5f5f5;
|
padding-bottom: 40rpx;
|
}
|
|
/* 加载状态样式 */
|
.loading-wrapper {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
padding: 120rpx 0;
|
}
|
|
.loading-wrapper.small {
|
padding: 60rpx 0;
|
}
|
|
.loading-text {
|
margin-top: 20rpx;
|
font-size: 28rpx;
|
color: #999999;
|
}
|
|
/* 个人信息内容 */
|
.profile-content {
|
padding: 0 30rpx;
|
}
|
|
/* 用户信息区域 */
|
.user-section {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
padding: 60rpx 0 40rpx 0;
|
}
|
|
.user-avatar-wrapper {
|
margin-bottom: 20rpx;
|
}
|
|
.user-avatar {
|
width: 120rpx;
|
height: 120rpx;
|
border-radius: 50%;
|
}
|
|
.user-avatar-placeholder {
|
width: 120rpx;
|
height: 120rpx;
|
border-radius: 50%;
|
background: #ffa726;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.avatar-text {
|
color: #ffffff;
|
font-size: 48rpx;
|
font-weight: bold;
|
}
|
|
.user-name {
|
font-size: 36rpx;
|
font-weight: bold;
|
color: #333333;
|
margin-bottom: 8rpx;
|
}
|
|
.user-role {
|
font-size: 28rpx;
|
color: #999999;
|
}
|
|
/* 项目区域 */
|
.projects-section {
|
margin-bottom: 40rpx;
|
}
|
|
.section-title {
|
font-size: 32rpx;
|
font-weight: bold;
|
color: #333333;
|
margin-bottom: 30rpx;
|
display: block;
|
}
|
|
.project-list {
|
display: flex;
|
flex-direction: column;
|
gap: 20rpx;
|
}
|
|
.project-card {
|
background: #ffffff;
|
border-radius: 16rpx;
|
padding: 30rpx;
|
display: flex;
|
align-items: center;
|
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
|
transition: all 0.3s ease;
|
}
|
|
.project-card:active {
|
transform: scale(0.98);
|
}
|
|
.project-a .project-icon {
|
background: #2e7d32;
|
width: 80rpx;
|
height: 80rpx;
|
border-radius: 16rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin-right: 24rpx;
|
}
|
|
.project-b .project-icon {
|
background: #66bb6a;
|
width: 80rpx;
|
height: 80rpx;
|
border-radius: 16rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin-right: 24rpx;
|
}
|
|
.icon-plant,
|
.icon-trophy {
|
font-size: 36rpx;
|
}
|
|
.project-info {
|
flex: 1;
|
}
|
|
.project-name {
|
font-size: 30rpx;
|
font-weight: bold;
|
color: #333333;
|
display: block;
|
margin-bottom: 8rpx;
|
}
|
|
.project-desc {
|
font-size: 24rpx;
|
color: #999999;
|
display: block;
|
}
|
|
.project-arrow {
|
font-size: 28rpx;
|
color: #cccccc;
|
}
|
|
/* 其他菜单区域 */
|
.other-menu-section {
|
background: #ffffff;
|
border-radius: 16rpx;
|
overflow: hidden;
|
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
|
}
|
|
.menu-item-simple {
|
display: flex;
|
align-items: center;
|
padding: 30rpx;
|
border-bottom: 1rpx solid #f0f0f0;
|
transition: background-color 0.3s ease;
|
}
|
|
.menu-item-simple:last-child {
|
border-bottom: none;
|
}
|
|
.menu-item-simple:active {
|
background-color: #f8f8f8;
|
}
|
|
.menu-icon {
|
font-size: 32rpx;
|
margin-right: 24rpx;
|
width: 40rpx;
|
text-align: center;
|
}
|
|
.menu-title {
|
flex: 1;
|
font-size: 28rpx;
|
color: #333333;
|
}
|
|
.menu-arrow {
|
font-size: 24rpx;
|
color: #cccccc;
|
}
|