Files
JayuCloud/JC-Salon-WeChat/pages/leave-management/index.wxss
T
xiaowang 60d9bba61a 小程序页面视觉对齐二期:预约图片轮播、订单数据预览、微信用户关联与请假管理
新增预约详情作品图片轮播字段与组装;新增订单预览与未关联微信用户候选接口;补齐请假记录查询接口;订单数据预览改为四列;请假管理接入真实排班例外并支持新增;日程、我的、美甲师详情与改派选择器按设计稿微调;注册结果页与申请提交时间对齐设计稿。
2026-11-06 14:34:02 +08:00

193 lines
2.7 KiB
Plaintext

.leave-card {
padding: 20rpx;
}
.leave-calendar {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 8rpx;
}
.leave-day {
display: flex;
align-items: center;
justify-content: center;
height: 66rpx;
border-radius: 10rpx;
background: #f3f7f4;
color: #71807a;
font-size: 29rpx;
font-weight: 700;
}
.leave-day.rest {
background: #e7f0f6;
color: #6e9fbd;
}
.section-head {
display: flex;
align-items: center;
justify-content: space-between;
}
.section-note {
color: #71807a;
font-size: 22rpx;
}
.record-empty {
padding: 36rpx 24rpx;
color: #71807a;
font-size: 24rpx;
text-align: center;
}
.record-card {
display: flex;
align-items: center;
min-height: 92rpx;
padding: 0 26rpx;
}
.record-date {
color: #17211f;
font-size: 29rpx;
font-weight: 700;
}
.record-text {
margin-left: 16rpx;
color: #71807a;
font-size: 26rpx;
}
.leave-add {
height: 80rpx;
border-radius: 24rpx;
font-size: 27rpx;
font-weight: 700;
}
.sheet-mask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 60;
display: flex;
align-items: flex-end;
background: rgba(23, 33, 31, 0.42);
}
.sheet {
box-sizing: border-box;
width: 100%;
padding: 30rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
border-radius: 28rpx 28rpx 0 0;
background: #ffffff;
}
.sheet-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12rpx;
}
.sheet-title {
color: #17211f;
font-size: 32rpx;
font-weight: 800;
}
.sheet-close {
padding: 0 10rpx;
color: #71807a;
font-size: 40rpx;
line-height: 1;
}
.sheet-field {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 88rpx;
border-bottom: 1rpx solid #e7ece9;
}
.sheet-label {
flex-shrink: 0;
color: #71807a;
font-size: 26rpx;
}
.sheet-value {
min-width: 240rpx;
color: #17211f;
font-size: 28rpx;
font-weight: 600;
text-align: right;
}
.sheet-input {
flex: 1;
margin-left: 24rpx;
color: #17211f;
font-size: 28rpx;
text-align: right;
}
.type-switch {
display: flex;
gap: 10rpx;
}
.type-option {
padding: 10rpx 26rpx;
border-radius: 999rpx;
background: #f3f7f4;
color: #71807a;
font-size: 25rpx;
font-weight: 700;
}
.type-option.selected {
background: #e5f4ed;
color: #247b63;
}
.time-row {
display: flex;
align-items: center;
gap: 14rpx;
}
.time-value {
padding: 10rpx 22rpx;
border-radius: 12rpx;
background: #f3f7f4;
color: #17211f;
font-size: 27rpx;
font-weight: 600;
}
.time-separator {
color: #71807a;
font-size: 24rpx;
}
.sheet-actions {
display: flex;
gap: 16rpx;
margin-top: 28rpx;
}
.sheet-btn {
flex: 1;
height: 80rpx;
border-radius: 20rpx;
font-size: 27rpx;
}