Files
JayuCloud/FingertipManager-Program/pages/planning/index.wxss

587 lines
8.8 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;
}
.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;
}
.segment.active {
background: #fffdf8;
color: #2f2a25;
box-shadow: 0 6rpx 14rpx rgba(58, 48, 34, 0.07);
}
.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;
}
.artist-chip.active {
background: #e5eee9;
color: #4e7165;
}
.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;
}
.summary-item {
padding: 16rpx;
}
.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;
}
.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-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: 4rpx;
overflow: hidden;
padding: 12rpx 12rpx;
border-left: 8rpx solid #7ba7c7;
border-radius: 10px;
background: #fff7ee;
box-shadow: 0 8rpx 16rpx rgba(58, 48, 34, 0.08);
}
.appointment-block.pending {
background: #fff3f6;
}
.block-title {
color: #2c2823;
font-size: 24rpx;
font-weight: 800;
}
.block-meta,
.block-status {
color: #7e756b;
font-size: 20rpx;
line-height: 1.25;
}
.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 {
display: inline-flex;
flex-direction: column;
width: 148rpx;
min-height: 164rpx;
margin-right: 12rpx;
padding: 16rpx;
}
.week-day-card.active {
outline: 3rpx solid #8fb89a;
}
.week-name,
.week-total {
color: #8f877e;
font-size: 22rpx;
}
.week-date {
margin: 8rpx 0;
color: #211e1a;
font-size: 38rpx;
font-weight: 800;
}
.week-bars {
display: flex;
flex-direction: column;
gap: 6rpx;
margin-top: 12rpx;
}
.week-bar {
height: 8rpx;
border-radius: 999rpx;
}
.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;
}
.week-count-bar {
display: flex;
align-items: center;
min-width: 58rpx;
height: 28rpx;
padding-left: 10rpx;
border-radius: 7rpx;
color: #fff;
font-size: 18rpx;
font-weight: 700;
}
.month-card {
overflow: hidden;
}
.month-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
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;
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;
}
.month-mode.active {
background: #fffdf8;
color: #2f6f62;
box-shadow: 0 4rpx 12rpx rgba(58, 48, 34, 0.07);
}
.row-name-switch {
display: inline-flex;
align-items: center;
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);
}
.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;
}
.month-cell:nth-child(7n) {
border-right: 0;
}
.month-cell.out-month {
background: #f7f3ed;
}
.month-cell.selected {
background: #eef5f1;
}
.month-cell-head {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 32rpx;
}
.month-day {
color: #2c2824;
font-size: 26rpx;
font-weight: 800;
}
.out-month .month-day {
color: #aba39a;
}
.day-mark {
font-size: 18rpx;
font-weight: 800;
}
.day-mark.full {
color: #d98d8d;
}
.day-mark.rest {
color: #8aaeca;
}
.month-bars {
display: flex;
flex-direction: column;
gap: 5rpx;
margin-top: 7rpx;
}
.month-artist-bar {
display: flex;
align-items: center;
justify-content: center;
height: 24rpx;
min-width: 0;
overflow: hidden;
border-radius: 6rpx;
color: #fff;
font-size: 17rpx;
font-weight: 800;
line-height: 1;
white-space: nowrap;
}
.month-blocks {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
gap: 5rpx;
margin-top: 8rpx;
}
.month-order-block {
width: 22rpx;
height: 12rpx;
border-radius: 999rpx;
box-shadow: inset 0 0 0 1rpx rgba(255, 255, 255, 0.24);
}
.month-row-block {
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: 20rpx;
}
.month-blocks .month-empty {
width: 100%;
}
.month-empty {
margin-top: 10rpx;
color: #b5ada4;
font-size: 20rpx;
text-align: center;
}