1377 lines
24 KiB
Plaintext
1377 lines
24 KiB
Plaintext
.planning-page {
|
|
padding-top: 18rpx;
|
|
}
|
|
|
|
.today-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 58rpx;
|
|
min-width: 58rpx;
|
|
max-width: 58rpx;
|
|
height: 52rpx;
|
|
min-height: 52rpx;
|
|
padding: 0;
|
|
border-radius: 999rpx;
|
|
background: #e5eee9;
|
|
color: #6f8f83;
|
|
font-size: 24rpx;
|
|
font-weight: 800;
|
|
line-height: 52rpx;
|
|
}
|
|
|
|
.control-card {
|
|
padding: 18rpx;
|
|
border-color: rgba(111, 143, 131, 0.12);
|
|
background: rgba(255, 255, 255, 0.84);
|
|
box-shadow: 0 10rpx 24rpx rgba(78, 96, 78, 0.05);
|
|
animation: pageFadeIn 180ms ease both;
|
|
}
|
|
|
|
.calendar-error-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 16rpx;
|
|
margin-top: 18rpx;
|
|
padding: 18rpx;
|
|
border: 1rpx solid #f1d4c4;
|
|
border-radius: 8px;
|
|
background: #fff8f3;
|
|
}
|
|
|
|
.calendar-error-copy {
|
|
display: flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 6rpx;
|
|
}
|
|
|
|
.calendar-error-title {
|
|
color: #9b3d22;
|
|
font-size: 26rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.calendar-error-message {
|
|
display: block;
|
|
color: #b06a52;
|
|
font-size: 22rpx;
|
|
line-height: 1.5;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.calendar-error-action {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
align-self: flex-end;
|
|
width: 96rpx;
|
|
min-width: 96rpx;
|
|
height: 52rpx;
|
|
padding: 0;
|
|
border-radius: 999rpx;
|
|
background: #fffdf8;
|
|
color: #8b4b35;
|
|
font-size: 24rpx;
|
|
font-weight: 800;
|
|
line-height: 52rpx;
|
|
}
|
|
|
|
.date-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.date-side {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 128rpx;
|
|
}
|
|
|
|
.date-tools {
|
|
justify-content: flex-end;
|
|
gap: 8rpx;
|
|
}
|
|
|
|
.icon-btn.small {
|
|
width: 52rpx;
|
|
min-width: 52rpx;
|
|
max-width: 52rpx;
|
|
height: 52rpx;
|
|
min-height: 52rpx;
|
|
font-size: 34rpx;
|
|
}
|
|
|
|
.date-center {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4rpx;
|
|
}
|
|
|
|
.date-main {
|
|
color: #25211d;
|
|
font-size: 32rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.date-sub {
|
|
color: #9a9288;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.segmented {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8rpx;
|
|
margin-top: 18rpx;
|
|
padding: 8rpx;
|
|
border-radius: 12px;
|
|
background: #f1ece4;
|
|
}
|
|
|
|
.segment {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 58rpx;
|
|
border-radius: 10px;
|
|
color: #7d756c;
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
|
|
}
|
|
|
|
.segment.active {
|
|
background: #fffdf8;
|
|
color: #2f2a25;
|
|
box-shadow: 0 6rpx 14rpx rgba(58, 48, 34, 0.07);
|
|
transform: translateY(-1rpx);
|
|
}
|
|
|
|
.artist-filter {
|
|
display: flex;
|
|
width: 100%;
|
|
margin-top: 16rpx;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.artist-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 52rpx;
|
|
margin-right: 10rpx;
|
|
padding: 0 16rpx;
|
|
border-radius: 999rpx;
|
|
background: #f4f0ea;
|
|
color: #625b52;
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
|
|
}
|
|
|
|
.artist-chip.active {
|
|
background: #e5eee9;
|
|
color: #4e7165;
|
|
transform: translateY(-1rpx);
|
|
}
|
|
|
|
.chip-dot {
|
|
width: 14rpx;
|
|
height: 14rpx;
|
|
margin-right: 8rpx;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.chip-count {
|
|
margin-left: 8rpx;
|
|
color: #9a9288;
|
|
}
|
|
|
|
.day-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 12rpx;
|
|
margin-top: 18rpx;
|
|
}
|
|
|
|
.summary-item {
|
|
padding: 16rpx;
|
|
border-color: rgba(111, 143, 131, 0.1);
|
|
background: rgba(255, 255, 255, 0.82);
|
|
box-shadow: 0 8rpx 18rpx rgba(78, 96, 78, 0.04);
|
|
}
|
|
|
|
.summary-value {
|
|
display: block;
|
|
color: #26231f;
|
|
font-size: 34rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.summary-label {
|
|
display: block;
|
|
margin-top: 8rpx;
|
|
color: #938c82;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.day-board {
|
|
height: 820rpx;
|
|
margin-top: 18rpx;
|
|
overflow: hidden;
|
|
border-color: rgba(111, 143, 131, 0.1);
|
|
box-shadow: 0 8rpx 20rpx rgba(78, 96, 78, 0.04);
|
|
}
|
|
|
|
.timeline-wrap {
|
|
position: relative;
|
|
min-height: 720rpx;
|
|
}
|
|
|
|
.time-axis {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 4;
|
|
width: 92rpx;
|
|
height: 100%;
|
|
border-right: 1rpx solid #eee8df;
|
|
background: #fffdf8;
|
|
}
|
|
|
|
.time-axis::before {
|
|
display: block;
|
|
height: 54rpx;
|
|
content: '';
|
|
}
|
|
|
|
.time-label {
|
|
position: absolute;
|
|
right: 12rpx;
|
|
color: #9a9288;
|
|
font-size: 20rpx;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.lane-scroll {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 104rpx;
|
|
height: 100%;
|
|
}
|
|
|
|
.lanes {
|
|
display: flex;
|
|
}
|
|
|
|
.artist-lane {
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
border-right: 1rpx solid #eee8df;
|
|
background-image: linear-gradient(to bottom, rgba(214, 207, 197, 0.35) 1rpx, transparent 1rpx);
|
|
background-size: 100% 60rpx;
|
|
}
|
|
|
|
.lane-head {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 54rpx;
|
|
padding: 0 14rpx;
|
|
background: rgba(255, 253, 248, 0.92);
|
|
color: #4d473f;
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.appointment-block {
|
|
position: absolute;
|
|
right: 12rpx;
|
|
left: 12rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3rpx;
|
|
overflow: hidden;
|
|
padding: 11rpx 12rpx;
|
|
border-left: 8rpx solid #7ba7c7;
|
|
border-radius: 10px;
|
|
background: #fff7ee;
|
|
box-shadow: 0 8rpx 16rpx rgba(58, 48, 34, 0.08);
|
|
transition: transform 160ms ease, box-shadow 160ms ease;
|
|
}
|
|
|
|
.appointment-block:active {
|
|
transform: scale(0.98);
|
|
box-shadow: 0 4rpx 10rpx rgba(58, 48, 34, 0.08);
|
|
}
|
|
|
|
.appointment-block.pending {
|
|
background: #fff3f6;
|
|
}
|
|
|
|
.appointment-block.is-completed {
|
|
background: #f5fff7;
|
|
border-color: #c8ead1;
|
|
}
|
|
|
|
.appointment-block.is-cancelled {
|
|
background: #fff5f6;
|
|
border-color: #e8c7cc;
|
|
}
|
|
|
|
.appointment-block.is-completed::after,
|
|
.appointment-block.is-cancelled::after,
|
|
.week-day-card.is-completed::after,
|
|
.week-day-card.is-cancelled::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.appointment-block.is-completed::after,
|
|
.week-day-card.is-completed::after {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%2345825b' stroke-opacity='.78' stroke-width='5' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
|
|
}
|
|
|
|
.appointment-block.is-cancelled::after,
|
|
.week-day-card.is-cancelled::after {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23c64e5b' stroke-opacity='.8' stroke-width='5' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
|
|
}
|
|
|
|
.block-title {
|
|
overflow: hidden;
|
|
color: #2c2823;
|
|
font-size: 24rpx;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.block-meta,
|
|
.block-status {
|
|
overflow: hidden;
|
|
color: #7e756b;
|
|
font-size: 20rpx;
|
|
line-height: 1.25;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.block-badges {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 5rpx;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.block-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex: 0 0 auto;
|
|
height: 25rpx;
|
|
padding: 0 7rpx;
|
|
border-radius: 999rpx;
|
|
background: rgba(255, 255, 255, 0.82);
|
|
color: #7b5b46;
|
|
font-size: 17rpx;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
}
|
|
|
|
.block-badge.removal {
|
|
background: #fff0dc;
|
|
color: #9a5f2d;
|
|
}
|
|
|
|
.block-badge.meituan {
|
|
background: #eaf4ff;
|
|
color: #49729d;
|
|
}
|
|
|
|
.block-badge.deposit {
|
|
background: #edf7ef;
|
|
color: #4f7d62;
|
|
}
|
|
|
|
.lane-empty {
|
|
position: absolute;
|
|
top: 76rpx;
|
|
right: 18rpx;
|
|
left: 18rpx;
|
|
padding: 16rpx 0;
|
|
border: 1rpx dashed #d8d1c8;
|
|
border-radius: 10px;
|
|
color: #aaa198;
|
|
text-align: center;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.week-strip {
|
|
width: 100%;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.week-day-card {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
width: 148rpx;
|
|
height: 142rpx;
|
|
min-height: 142rpx;
|
|
max-height: 142rpx;
|
|
margin-right: 12rpx;
|
|
padding: 16rpx;
|
|
}
|
|
|
|
.week-day-card.is-completed {
|
|
background: #fffdf8;
|
|
border-color: #eee8df;
|
|
}
|
|
|
|
.week-day-card.is-cancelled {
|
|
background: #fffdf8;
|
|
border-color: #eee8df;
|
|
}
|
|
|
|
.week-day-card.is-completed::after,
|
|
.week-day-card.is-cancelled::after {
|
|
content: none;
|
|
}
|
|
|
|
.week-day-card.active {
|
|
outline: 3rpx solid #8fb89a;
|
|
}
|
|
|
|
.week-name {
|
|
color: #8f877e;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.week-date {
|
|
margin-top: 10rpx;
|
|
color: #211e1a;
|
|
font-size: 38rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.week-grid {
|
|
margin-top: 18rpx;
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.week-grid-head,
|
|
.week-line {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.week-grid-head {
|
|
margin-bottom: 14rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.week-line {
|
|
min-height: 70rpx;
|
|
border-top: 1rpx solid #eee8df;
|
|
}
|
|
|
|
.week-line-date {
|
|
width: 132rpx;
|
|
color: #6f675f;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.week-line-bars {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6rpx;
|
|
min-height: 28rpx;
|
|
}
|
|
|
|
.week-line-bars.empty {
|
|
min-height: 28rpx;
|
|
}
|
|
|
|
.week-count-bar {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 58rpx;
|
|
height: 28rpx;
|
|
padding-left: 10rpx;
|
|
border-radius: 7rpx;
|
|
color: #fff;
|
|
font-size: 18rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.week-count-bar.is-completed::after,
|
|
.week-count-bar.is-cancelled::after,
|
|
.month-order-block.is-completed::after,
|
|
.month-order-block.is-cancelled::after,
|
|
.month-row-block.is-completed::after,
|
|
.month-row-block.is-cancelled::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23ffffff' stroke-opacity='.92' stroke-width='3' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.week-count-bar.is-completed::before,
|
|
.week-count-bar.is-cancelled::before,
|
|
.month-order-block.is-completed::before,
|
|
.month-order-block.is-cancelled::before,
|
|
.month-row-block.is-completed::before,
|
|
.month-row-block.is-cancelled::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.week-count-bar.is-completed::before,
|
|
.month-order-block.is-completed::before,
|
|
.month-row-block.is-completed::before {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%2345825b' stroke-opacity='.9' stroke-width='2' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
|
|
}
|
|
|
|
.week-count-bar.is-cancelled::before,
|
|
.month-order-block.is-cancelled::before,
|
|
.month-row-block.is-cancelled::before {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23c64e5b' stroke-opacity='.92' stroke-width='2' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
|
|
}
|
|
|
|
.week-toolbar {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
margin: 20rpx 8rpx 14rpx;
|
|
}
|
|
|
|
.week-toolbar-title {
|
|
color: #4c4740;
|
|
font-size: 26rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.week-toolbar-range {
|
|
color: #9a9288;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.week-board {
|
|
height: 900rpx;
|
|
margin-top: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border-color: rgba(111, 143, 131, 0.1);
|
|
background: #fffdf8;
|
|
box-shadow: 0 8rpx 20rpx rgba(78, 96, 78, 0.04);
|
|
}
|
|
|
|
.week-calendar {
|
|
min-width: 904rpx;
|
|
}
|
|
|
|
.week-calendar-head {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 6;
|
|
display: flex;
|
|
height: 104rpx;
|
|
border-bottom: 1rpx solid #eee8df;
|
|
background: rgba(255, 253, 248, 0.96);
|
|
}
|
|
|
|
.week-time-corner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 92rpx;
|
|
color: #9a9288;
|
|
font-size: 20rpx;
|
|
}
|
|
|
|
.week-date-column {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 116rpx;
|
|
flex-direction: column;
|
|
gap: 4rpx;
|
|
border-left: 1rpx solid #f0ebe4;
|
|
color: #8f877e;
|
|
}
|
|
|
|
.week-date-column.active {
|
|
background: #eef7f0;
|
|
color: #2f6f62;
|
|
}
|
|
|
|
.week-date-column.active::after {
|
|
position: absolute;
|
|
right: 18rpx;
|
|
bottom: 10rpx;
|
|
left: 18rpx;
|
|
height: 5rpx;
|
|
border-radius: 999rpx;
|
|
background: #6f8f83;
|
|
content: "";
|
|
}
|
|
|
|
.week-name {
|
|
color: inherit;
|
|
font-size: 20rpx;
|
|
}
|
|
|
|
.week-date {
|
|
margin-top: 0;
|
|
color: #292520;
|
|
font-size: 30rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.week-date-column.active .week-date {
|
|
color: #2f6f62;
|
|
}
|
|
|
|
.week-count {
|
|
color: #aaa198;
|
|
font-size: 17rpx;
|
|
}
|
|
|
|
.week-calendar-body {
|
|
position: relative;
|
|
display: flex;
|
|
min-height: 560rpx;
|
|
}
|
|
|
|
.week-time-axis {
|
|
position: relative;
|
|
z-index: 3;
|
|
flex: 0 0 92rpx;
|
|
border-right: 1rpx solid #eee8df;
|
|
background: #fffdf8;
|
|
}
|
|
|
|
.week-time-label {
|
|
position: absolute;
|
|
right: 12rpx;
|
|
color: #aaa198;
|
|
font-size: 18rpx;
|
|
line-height: 1;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.week-day-columns {
|
|
display: flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.week-day-column {
|
|
position: relative;
|
|
flex: 0 0 116rpx;
|
|
border-right: 1rpx solid #f0ebe4;
|
|
background-image: linear-gradient(to bottom, rgba(214, 207, 197, 0.32) 1rpx, transparent 1rpx);
|
|
background-size: 100% 60rpx;
|
|
}
|
|
|
|
.week-day-column.active {
|
|
background-color: rgba(238, 247, 240, 0.34);
|
|
}
|
|
|
|
.week-appointment-block {
|
|
position: absolute;
|
|
right: 10rpx;
|
|
left: 10rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rpx;
|
|
overflow: hidden;
|
|
padding: 8rpx 8rpx;
|
|
border-left: 5rpx solid rgba(255, 255, 255, 0.78);
|
|
border-radius: 9rpx;
|
|
color: #355849;
|
|
box-shadow: 0 6rpx 12rpx rgba(70, 92, 75, 0.1);
|
|
}
|
|
|
|
.week-appointment-block.pending {
|
|
color: #986b2f;
|
|
}
|
|
|
|
.week-appointment-block.is-completed {
|
|
opacity: 0.74;
|
|
}
|
|
|
|
.week-appointment-block.is-cancelled {
|
|
opacity: 0.56;
|
|
}
|
|
|
|
.week-block-time,
|
|
.week-block-title,
|
|
.week-block-meta {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.week-block-time {
|
|
color: inherit;
|
|
font-size: 16rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.week-block-title {
|
|
color: #2f4d3d;
|
|
font-size: 22rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.week-block-meta {
|
|
color: rgba(47, 77, 61, 0.72);
|
|
font-size: 16rpx;
|
|
}
|
|
|
|
.week-column-empty {
|
|
position: absolute;
|
|
top: 40rpx;
|
|
right: 0;
|
|
left: 0;
|
|
color: #d3ccc3;
|
|
font-size: 22rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.month-card {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.month-toolbar {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
margin-bottom: 14rpx;
|
|
padding: 0 4rpx;
|
|
}
|
|
|
|
.month-toolbar-title {
|
|
color: #615a51;
|
|
font-size: 24rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.month-mode-switch {
|
|
display: inline-flex;
|
|
justify-self: center;
|
|
gap: 6rpx;
|
|
padding: 6rpx;
|
|
border-radius: 999rpx;
|
|
background: #eee8df;
|
|
}
|
|
|
|
.month-mode {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 68rpx;
|
|
height: 44rpx;
|
|
padding: 0 12rpx;
|
|
border-radius: 999rpx;
|
|
color: #766e65;
|
|
font-size: 22rpx;
|
|
font-weight: 800;
|
|
transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
|
|
}
|
|
|
|
.month-mode.active {
|
|
background: #fffdf8;
|
|
color: #2f6f62;
|
|
box-shadow: 0 4rpx 12rpx rgba(58, 48, 34, 0.07);
|
|
transform: translateY(-1rpx);
|
|
}
|
|
|
|
.row-name-switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-self: end;
|
|
gap: 8rpx;
|
|
height: 44rpx;
|
|
padding: 0 10rpx;
|
|
border-radius: 999rpx;
|
|
background: #f0ece5;
|
|
color: #766e65;
|
|
font-size: 21rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.row-name-switch.active {
|
|
color: #2f6f62;
|
|
background: #e5eee9;
|
|
}
|
|
|
|
.switch-track {
|
|
position: relative;
|
|
width: 44rpx;
|
|
height: 24rpx;
|
|
border-radius: 999rpx;
|
|
background: #d6d0c7;
|
|
}
|
|
|
|
.switch-thumb {
|
|
position: absolute;
|
|
top: 3rpx;
|
|
left: 3rpx;
|
|
width: 18rpx;
|
|
height: 18rpx;
|
|
border-radius: 50%;
|
|
background: #fffdf8;
|
|
box-shadow: 0 2rpx 6rpx rgba(58, 48, 34, 0.16);
|
|
transition: transform 180ms ease;
|
|
}
|
|
|
|
.row-name-switch.active .switch-track {
|
|
background: #6f8f83;
|
|
}
|
|
|
|
.row-name-switch.active .switch-thumb {
|
|
transform: translateX(20rpx);
|
|
}
|
|
|
|
.month-week-head {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
height: 58rpx;
|
|
align-items: center;
|
|
border-bottom: 1rpx solid #ebe5dc;
|
|
color: #726b62;
|
|
font-size: 24rpx;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
}
|
|
|
|
.month-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
}
|
|
|
|
.month-cell {
|
|
min-height: 168rpx;
|
|
padding: 8rpx 5rpx;
|
|
border-right: 1rpx solid #eee8df;
|
|
border-bottom: 1rpx solid #eee8df;
|
|
background: #fffdf8;
|
|
transition: background-color 180ms ease, transform 160ms ease;
|
|
}
|
|
|
|
.month-cell:active {
|
|
transform: scale(0.985);
|
|
}
|
|
|
|
.month-cell:nth-child(7n) {
|
|
border-right: 0;
|
|
}
|
|
|
|
.month-cell.out-month {
|
|
background: #f7f3ed;
|
|
}
|
|
|
|
.month-cell.selected {
|
|
background: #eef5f1;
|
|
}
|
|
|
|
.month-cell.action-target {
|
|
background: #fbfff8;
|
|
outline: 3rpx solid #6f8f83;
|
|
outline-offset: -3rpx;
|
|
}
|
|
|
|
.month-cell.is-rest {
|
|
background: #fff8f6;
|
|
}
|
|
|
|
.month-cell.today {
|
|
background: #fff3dc;
|
|
box-shadow: inset 0 0 0 3rpx #e1b76a;
|
|
}
|
|
|
|
.month-cell.today.selected {
|
|
background: #ffefd2;
|
|
}
|
|
|
|
.month-cell-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 32rpx;
|
|
}
|
|
|
|
.month-day {
|
|
color: #2c2824;
|
|
font-size: 22rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.out-month .month-day {
|
|
color: #aba39a;
|
|
}
|
|
|
|
.day-mark {
|
|
font-size: 17rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.day-mark.full {
|
|
color: #d98d8d;
|
|
}
|
|
|
|
.day-mark.rest {
|
|
color: #8aaeca;
|
|
}
|
|
|
|
.month-blocks {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-content: flex-start;
|
|
gap: 5rpx;
|
|
margin-top: 8rpx;
|
|
}
|
|
|
|
.month-order-block {
|
|
position: relative;
|
|
width: 22rpx;
|
|
height: 12rpx;
|
|
border-radius: 999rpx;
|
|
box-shadow: inset 0 0 0 1rpx rgba(255, 255, 255, 0.24);
|
|
}
|
|
|
|
.month-row-block {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 12rpx;
|
|
overflow: hidden;
|
|
border-radius: 999rpx;
|
|
color: #fff;
|
|
font-size: 13rpx;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
text-shadow: 0 1rpx 3rpx rgba(37, 31, 24, 0.22);
|
|
box-shadow: inset 0 0 0 1rpx rgba(255, 255, 255, 0.24);
|
|
}
|
|
|
|
.month-row-block.named {
|
|
height: 28rpx;
|
|
font-size: 16rpx;
|
|
}
|
|
|
|
.month-blocks .month-empty {
|
|
width: 100%;
|
|
}
|
|
|
|
.month-empty {
|
|
margin-top: 10rpx;
|
|
color: #b5ada4;
|
|
font-size: 20rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.empty-date-mask {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 80;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
background: rgba(38, 35, 31, 0.36);
|
|
}
|
|
|
|
.empty-date-sheet {
|
|
width: 100%;
|
|
max-height: 88vh;
|
|
padding: 22rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
|
|
border-radius: 22px 22px 0 0;
|
|
background: #fffdf8;
|
|
box-shadow: 0 -18rpx 44rpx rgba(38, 35, 31, 0.18);
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
animation: emptyDateSheetIn 180ms ease both;
|
|
}
|
|
|
|
.sheet-grabber {
|
|
width: 84rpx;
|
|
height: 8rpx;
|
|
margin: 0 auto 22rpx;
|
|
border-radius: 999rpx;
|
|
background: #ded6cb;
|
|
}
|
|
|
|
.empty-date-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.empty-date-title-wrap {
|
|
display: flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 8rpx;
|
|
}
|
|
|
|
.empty-date-title {
|
|
color: #25211d;
|
|
font-size: 36rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.empty-date-subtitle {
|
|
color: #8f877e;
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.empty-date-close {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 60rpx;
|
|
min-width: 60rpx;
|
|
max-width: 60rpx;
|
|
height: 60rpx;
|
|
min-height: 60rpx;
|
|
padding: 0;
|
|
border-radius: 50%;
|
|
background: #f0ece5;
|
|
color: #5f5951;
|
|
font-size: 38rpx;
|
|
font-weight: 700;
|
|
line-height: 60rpx;
|
|
}
|
|
|
|
.empty-date-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18rpx;
|
|
margin-top: 30rpx;
|
|
}
|
|
|
|
.empty-date-action {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
min-height: 136rpx;
|
|
margin: 0;
|
|
padding: 22rpx;
|
|
border-radius: 12px;
|
|
text-align: left;
|
|
}
|
|
|
|
.empty-date-action.primary {
|
|
background: #6f8f83;
|
|
color: #fffdf8;
|
|
box-shadow: 0 8rpx 18rpx rgba(111, 143, 131, 0.24);
|
|
}
|
|
|
|
.empty-date-action-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 80rpx;
|
|
min-width: 80rpx;
|
|
max-width: 80rpx;
|
|
height: 80rpx;
|
|
margin-right: 24rpx;
|
|
border-radius: 12px;
|
|
font-size: 38rpx;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
}
|
|
|
|
.empty-date-action.primary .empty-date-action-icon {
|
|
background: rgba(255, 255, 255, 0.18);
|
|
color: #fff;
|
|
}
|
|
|
|
.empty-date-action-copy {
|
|
display: flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 8rpx;
|
|
}
|
|
|
|
.empty-date-action-title {
|
|
font-size: 30rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.empty-date-action-desc {
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
line-height: 1.35;
|
|
opacity: 0.82;
|
|
}
|
|
|
|
.empty-date-special {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16rpx;
|
|
margin-top: 26rpx;
|
|
}
|
|
|
|
.empty-date-section-title {
|
|
color: #5d554d;
|
|
font-size: 24rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.empty-date-type-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14rpx;
|
|
}
|
|
|
|
.empty-date-type {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
min-height: 124rpx;
|
|
margin: 0;
|
|
padding: 20rpx 22rpx;
|
|
border: 1rpx solid #ede5dc;
|
|
border-radius: 12px;
|
|
background: #fffaf3;
|
|
color: #665e55;
|
|
text-align: left;
|
|
}
|
|
|
|
.empty-date-type.active {
|
|
border-color: #d4b27e;
|
|
background: #fff7e9;
|
|
color: #5d4828;
|
|
}
|
|
|
|
.empty-date-type.rest.active {
|
|
border-color: #f0d7d3;
|
|
background: #fff8f6;
|
|
color: #6a4743;
|
|
}
|
|
|
|
.empty-date-type.work.active {
|
|
border-color: #c8dccf;
|
|
background: #f5fbf6;
|
|
color: #436447;
|
|
}
|
|
|
|
.empty-date-type.shift.active {
|
|
border-color: #d9c8ee;
|
|
background: #fbf7ff;
|
|
color: #5a4770;
|
|
}
|
|
|
|
.empty-date-type.rest .empty-date-action-icon {
|
|
background: #ffe9e5;
|
|
color: #c56f6f;
|
|
}
|
|
|
|
.empty-date-type.work .empty-date-action-icon {
|
|
background: #e6f3e8;
|
|
color: #589060;
|
|
}
|
|
|
|
.empty-date-type.shift .empty-date-action-icon {
|
|
background: #eee2fb;
|
|
color: #7d63a8;
|
|
}
|
|
|
|
.empty-date-type-check {
|
|
min-width: 64rpx;
|
|
margin-left: 16rpx;
|
|
color: #b38642;
|
|
font-size: 22rpx;
|
|
font-weight: 900;
|
|
text-align: right;
|
|
}
|
|
|
|
.empty-date-time-fields {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 14rpx;
|
|
}
|
|
|
|
.empty-date-time-fields picker {
|
|
min-width: 0;
|
|
}
|
|
|
|
.empty-date-time-field {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 88rpx;
|
|
padding: 0 22rpx;
|
|
border: 1rpx solid #e8ded2;
|
|
border-radius: 10px;
|
|
background: #fffdf8;
|
|
}
|
|
|
|
.empty-date-time-label {
|
|
color: #8f877e;
|
|
font-size: 24rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.empty-date-time-value {
|
|
color: #2e2a25;
|
|
font-size: 30rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.empty-date-save {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
height: 88rpx;
|
|
min-height: 88rpx;
|
|
margin: 2rpx 0 0;
|
|
padding: 0 24rpx;
|
|
border-radius: 12px;
|
|
background: #2d2a26;
|
|
color: #fffdf8;
|
|
font-size: 28rpx;
|
|
font-weight: 900;
|
|
line-height: 88rpx;
|
|
}
|
|
|
|
.planning-loading-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 140;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 40rpx;
|
|
background: rgba(36, 30, 24, 0.34);
|
|
animation: pageFadeIn 160ms ease both;
|
|
}
|
|
|
|
.planning-loading-card {
|
|
display: flex;
|
|
min-width: 248rpx;
|
|
min-height: 168rpx;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 22rpx;
|
|
padding: 32rpx 36rpx;
|
|
border: 1rpx solid rgba(255, 255, 255, 0.78);
|
|
border-radius: 20rpx;
|
|
background: rgba(255, 253, 248, 0.96);
|
|
color: #3d352f;
|
|
font-size: 26rpx;
|
|
font-weight: 900;
|
|
box-shadow: 0 24rpx 54rpx rgba(41, 31, 23, 0.2);
|
|
animation: emptyDateSheetIn 180ms ease both;
|
|
}
|
|
|
|
.planning-loading-spinner {
|
|
width: 54rpx;
|
|
height: 54rpx;
|
|
border: 6rpx solid #dfe8e2;
|
|
border-top-color: #6f8f83;
|
|
border-radius: 50%;
|
|
animation: planningSpinnerRotate 0.78s linear infinite;
|
|
}
|
|
|
|
@keyframes pageFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(8rpx);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes emptyDateSheetIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(24rpx);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes planningSpinnerRotate {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|