优化员工排班与规划月视图体验

This commit is contained in:
2026-06-27 00:08:18 +08:00
parent 5fc0e35759
commit 13916e61b7
21 changed files with 413 additions and 73 deletions
@@ -22,6 +22,13 @@
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 {
@@ -40,9 +47,20 @@
color: #fff;
font-size: 28rpx;
font-weight: 900;
overflow: hidden;
}
.image-avatar {
background: #f0ece5;
}
.image-avatar image {
width: 100%;
height: 100%;
}
.employee-name,
.employee-schedule,
.employee-meta {
display: block;
}
@@ -59,6 +77,13 @@
font-size: 24rpx;
}
.employee-schedule {
margin-top: 6rpx;
color: #55786d;
font-size: 23rpx;
font-weight: 800;
}
.color-pill {
width: 44rpx;
height: 18rpx;
@@ -80,6 +105,7 @@
align-items: flex-end;
justify-content: center;
background: rgba(18, 15, 12, 0.48);
animation: maskIn 180ms ease both;
}
.employee-modal {
@@ -88,6 +114,7 @@
border-radius: 28rpx 28rpx 0 0;
background: #fffaf4;
box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16);
animation: modalUp 220ms ease both;
}
.modal-head {
@@ -171,3 +198,32 @@
.modal-submit {
margin-top: 22rpx;
}
@keyframes cardIn {
from {
opacity: 0;
transform: translateY(8rpx);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes maskIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes modalUp {
from {
transform: translateY(40rpx);
}
to {
transform: translateY(0);
}
}