Files
JayuCloud/JC-Salon-WeChat/pages/profile/index.wxss
T

226 lines
3.3 KiB
Plaintext

.profile-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20rpx;
padding: 26rpx;
}
.profile-main {
display: flex;
align-items: center;
min-width: 0;
gap: 20rpx;
}
.profile-copy {
min-width: 0;
}
.account-avatar {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 100rpx;
height: 100rpx;
overflow: hidden;
border-radius: 25rpx;
background: #247b63;
color: #fff;
font-size: 40rpx;
font-weight: 900;
}
.account-avatar image {
width: 100%;
height: 100%;
}
.profile-name,
.profile-shop {
display: block;
}
.profile-name {
font-size: 34rpx;
font-weight: 800;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.profile-shop {
margin-top: 8rpx;
color: #71807a;
font-size: 24rpx;
}
.role-badge {
flex-shrink: 0;
padding: 8rpx 18rpx;
border-radius: 999rpx;
background: #e5f4ed;
color: #247b63;
font-size: 23rpx;
font-weight: 800;
line-height: 1.2;
}
.role-switch {
display: flex;
align-items: center;
flex-shrink: 0;
width: 184rpx;
height: 44rpx;
padding: 4rpx;
border-radius: 23rpx;
background: #e5f4ed;
}
.role-chip {
display: flex;
align-items: center;
justify-content: center;
height: 37rpx;
border-radius: 18rpx;
color: #71807a;
font-size: 21rpx;
line-height: 1;
}
.role-chip.is-active {
width: 81rpx;
background: #247b63;
color: #ffffff;
font-weight: 700;
}
.role-chip:not(.is-active) {
width: 95rpx;
}
.overview-card {
margin-top: 20rpx;
padding: 24rpx;
}
.overview-head {
display: flex;
align-items: baseline;
justify-content: space-between;
margin-bottom: 20rpx;
}
.overview-title {
color: #17211f;
font-size: 28rpx;
font-weight: 900;
}
.overview-date,
.overview-loading {
color: #71807a;
font-size: 22rpx;
}
.overview-loading {
padding: 28rpx 0;
text-align: center;
}
.overview-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12rpx;
}
.overview-item {
display: flex;
min-height: 104rpx;
align-items: center;
justify-content: center;
flex-direction: column;
border-radius: 16rpx;
background: #f3f7f4;
}
.overview-item--warning {
background: #fff3e7;
}
.overview-item--status {
gap: 5rpx;
}
.overview-value {
color: #247b63;
font-size: 38rpx;
font-weight: 900;
line-height: 1;
}
.overview-label,
.overview-status {
margin-top: 10rpx;
color: #71807a;
font-size: 21rpx;
text-align: center;
}
.overview-status {
margin-top: 0;
color: #247b63;
font-size: 27rpx;
font-weight: 800;
}
.status-dot {
width: 18rpx;
height: 18rpx;
border-radius: 50%;
background: #c4bdb5;
}
.status-dot.is-open {
background: #55a27f;
}
.menu-list {
margin-top: 16rpx;
overflow: hidden;
}
.menu-row {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 94rpx;
padding: 0 27rpx;
border-bottom: 1rpx solid #e7ece9;
color: #17211f;
font-size: 28rpx;
font-weight: 700;
}
.menu-row:last-child {
border-bottom: 0;
}
.arrow {
color: #b0a79e;
font-size: 44rpx;
}
.profile-logout {
display: flex;
align-items: center;
justify-content: center;
height: 88rpx;
margin: 40rpx 8rpx 24rpx;
border-radius: 20rpx;
background: #fbe9e7;
color: #b3261e;
font-size: 28rpx;
font-weight: 600;
}