Files
Neo-ZQYY/apps/DEMO-miniprogram/miniprogram/pages/my-profile/my-profile.wxss

136 lines
2.0 KiB
Plaintext

.page-my-profile {
min-height: 100vh;
background: var(--color-bg-page, #f3f3f3);
}
/* 用户信息卡片 */
.user-card {
display: flex;
align-items: center;
gap: 28rpx;
padding: 44rpx 40rpx;
background: #fff;
}
.avatar-wrap {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
overflow: hidden;
box-shadow: 0 6rpx 24rpx rgba(0, 0, 0, 0.10);
flex-shrink: 0;
border: 4rpx solid #fff;
background: #f3f3f3;
}
.avatar {
width: 100%;
height: 100%;
}
.user-info {
flex: 1;
overflow: hidden;
}
.name-row {
display: flex;
align-items: center;
gap: 14rpx;
margin-bottom: 10rpx;
}
.name {
font-size: 36rpx;
font-weight: 700;
color: var(--color-text-primary, #242424);
line-height: 1.4;
}
.role-tag {
padding: 4rpx 16rpx;
background: rgba(0, 82, 217, 0.10);
color: #0052d9;
font-size: 22rpx;
border-radius: 10rpx;
font-weight: 500;
line-height: 30rpx;
}
.store-name {
font-size: 24rpx;
color: var(--color-text-placeholder, #8b8b8b);
line-height: 1.5;
}
/* 菜单列表 */
.menu-list {
margin-top: 24rpx;
background: #fff;
}
.menu-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 28rpx 36rpx;
background: #fff;
border-bottom: 2rpx solid #f3f3f3;
}
.menu-item--last {
border-bottom: none;
}
.menu-item--hover {
background: #f7f7f7;
}
.menu-left {
display: flex;
align-items: center;
gap: 24rpx;
}
.menu-icon {
width: 68rpx;
height: 68rpx;
border-radius: 20rpx;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.menu-icon-img {
width: 48rpx;
height: 48rpx;
}
.icon-notes {
background: rgba(0, 82, 217, 0.08);
}
.icon-chat {
background: rgba(0, 168, 112, 0.08);
}
.icon-logout {
background: rgba(227, 77, 89, 0.08);
}
.menu-text {
font-size: 28rpx;
color: var(--color-text-primary, #242424);
line-height: 1.5;
font-weight: 500;
}
.menu-chevron {
display: flex;
align-items: center;
justify-content: center;
width: 40rpx;
height: 40rpx;
}