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

278 lines
4.0 KiB
Plaintext

.list-heading {
display: flex;
align-items: center;
justify-content: flex-start;
width: 100%;
margin-bottom: 16rpx;
color: #17211f;
font-size: 28rpx;
font-weight: 800;
}
.list-heading > text {
flex: 1;
}
.list-heading .compact-btn {
margin-left: auto;
}
.list-heading .review-toggle {
position: relative;
margin-right: 12rpx;
margin-left: 0;
border-color: #c9d8d2;
background: #eef5f2;
color: #247b63;
}
.list-heading .review-toggle.is-open {
background: #247b63;
color: #fff;
}
.review-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 30rpx;
height: 30rpx;
margin-left: 8rpx;
padding: 0 7rpx;
border-radius: 999rpx;
background: #d9685f;
color: #fff;
font-size: 19rpx;
line-height: 30rpx;
}
.review-panel {
margin-bottom: 22rpx;
padding: 22rpx;
border: 1rpx solid #dce8e3;
background: #f8fcfa;
}
.review-panel-head,
.review-item,
.review-actions {
display: flex;
align-items: center;
}
.review-panel-head {
justify-content: space-between;
margin-bottom: 16rpx;
}
.review-title,
.review-subtitle,
.review-name,
.review-meta,
.review-number {
display: block;
}
.review-title {
color: #17211f;
font-size: 28rpx;
font-weight: 900;
}
.review-subtitle {
margin-top: 4rpx;
color: #8b847c;
font-size: 21rpx;
}
.review-count {
color: #247b63;
font-size: 23rpx;
font-weight: 800;
}
.review-list {
display: grid;
gap: 14rpx;
}
.review-item {
gap: 14rpx;
padding: 18rpx;
border-radius: 20rpx;
background: #fff;
box-shadow: 0 5rpx 18rpx rgba(47, 111, 98, 0.07);
}
.review-avatar {
flex: 0 0 auto;
width: 72rpx;
height: 72rpx;
border-radius: 50%;
background: #e7ece9;
}
.review-info {
min-width: 0;
flex: 1;
}
.review-name {
color: #28231f;
font-size: 27rpx;
font-weight: 900;
}
.review-meta,
.review-number {
margin-top: 4rpx;
overflow: hidden;
color: #71807a;
font-size: 20rpx;
text-overflow: ellipsis;
white-space: nowrap;
}
.review-number {
color: #aaa198;
font-size: 18rpx;
}
.review-actions {
flex: 0 0 auto;
gap: 8rpx;
}
.review-action {
width: auto;
min-width: 82rpx;
height: 54rpx;
margin: 0;
padding: 0 15rpx;
border-radius: 999rpx;
font-size: 21rpx;
font-weight: 800;
line-height: 54rpx;
}
.review-action.reject {
border: 1rpx solid #e7c7c2;
background: #fff5f3;
color: #a8554e;
}
.review-action.approve {
border: 1rpx solid #247b63;
background: #247b63;
color: #fff;
}
.review-state {
padding: 34rpx 12rpx;
color: #71807a;
font-size: 23rpx;
text-align: center;
}
.review-state.review-error {
color: #a8554e;
}
.review-retry {
width: 150rpx;
min-width: 150rpx;
margin: 16rpx auto 0;
}
.employee-card {
display: flex;
align-items: center;
justify-content: space-between;
padding: 22rpx;
animation: cardIn 180ms ease both;
transition: transform 160ms ease, box-shadow 160ms ease;
}
.employee-card:active {
transform: scale(0.99);
box-shadow: 0 6rpx 18rpx rgba(58, 48, 34, 0.08);
}
.employee-left {
display: flex;
align-items: center;
gap: 18rpx;
}
.avatar {
display: flex;
align-items: center;
justify-content: center;
width: 78rpx;
height: 78rpx;
border-radius: 50%;
color: #fff;
font-size: 28rpx;
font-weight: 900;
overflow: hidden;
}
.image-avatar {
background: #e5f4ed;
}
.image-avatar image {
width: 100%;
height: 100%;
}
.employee-name,
.employee-schedule,
.employee-meta {
display: block;
}
.employee-name {
color: #17211f;
font-size: 28rpx;
font-weight: 800;
}
.employee-meta {
margin-top: 8rpx;
color: #71807a;
font-size: 24rpx;
}
.employee-schedule {
margin-top: 6rpx;
color: #247b63;
font-size: 23rpx;
font-weight: 800;
}
.color-pill {
width: 44rpx;
height: 18rpx;
border-radius: 999rpx;
}
.retry-btn {
width: 180rpx;
min-width: 180rpx;
max-width: 180rpx;
margin: 24rpx auto 0;
}
@keyframes cardIn {
from {
opacity: 0;
transform: translateY(8rpx);
}
to {
opacity: 1;
transform: translateY(0);
}
}