Files
JayuCloud/FM-Wechat-Fronted/pages/employees/index.wxss
T

174 lines
2.6 KiB
Plaintext

.list-heading {
display: flex;
align-items: center;
justify-content: flex-start;
width: 100%;
margin-bottom: 16rpx;
color: #4c4740;
font-size: 28rpx;
font-weight: 800;
}
.list-heading text {
flex: 1;
}
.list-heading .compact-btn {
margin-left: auto;
}
.employee-card {
display: flex;
align-items: center;
justify-content: space-between;
padding: 22rpx;
}
.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;
}
.employee-name,
.employee-meta {
display: block;
}
.employee-name {
color: #25211d;
font-size: 28rpx;
font-weight: 800;
}
.employee-meta {
margin-top: 8rpx;
color: #91897f;
font-size: 24rpx;
}
.color-pill {
width: 44rpx;
height: 18rpx;
border-radius: 999rpx;
}
.retry-btn {
width: 180rpx;
min-width: 180rpx;
max-width: 180rpx;
margin: 24rpx auto 0;
}
.modal-mask {
position: fixed;
inset: 0;
z-index: 80;
display: flex;
align-items: flex-end;
justify-content: center;
background: rgba(18, 15, 12, 0.48);
}
.employee-modal {
width: 100%;
padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
border-radius: 28rpx 28rpx 0 0;
background: #fffaf4;
box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16);
}
.modal-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20rpx;
margin-bottom: 20rpx;
}
.modal-title {
display: block;
}
.modal-title {
color: #27211d;
font-size: 34rpx;
font-weight: 900;
}
.modal-close {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 48rpx;
min-width: 48rpx;
height: 48rpx;
border-radius: 50%;
border: 1rpx solid #e4d8ca;
background: #fffaf4;
color: transparent;
font-size: 0;
line-height: 0;
}
.modal-close::before,
.modal-close::after {
content: "";
position: absolute;
width: 22rpx;
height: 3rpx;
border-radius: 999rpx;
background: #61554c;
}
.modal-close::before {
transform: rotate(45deg);
}
.modal-close::after {
transform: rotate(-45deg);
}
.form-grid {
display: grid;
grid-template-columns: 1fr;
gap: 16rpx;
}
.modal-field {
padding: 16rpx 18rpx;
border-radius: 18rpx;
background: #f7efe7;
}
.modal-field text {
display: block;
margin-bottom: 8rpx;
color: #6c5f54;
font-size: 24rpx;
font-weight: 800;
}
.modal-field input {
height: 58rpx;
color: #2c2722;
font-size: 28rpx;
}
.modal-submit {
margin-top: 22rpx;
}