Files
JayuCloud/JC-Salon-WeChat/pages/planning/index.wxss
T
xiaowang 261723bc6e
发布 Nacos 配置 / publish (push) Successful in 30s
环境分支晋级检查 / environment-promotion-source (pull_request_target) Successful in 1s
功能:优化Salon作品选择与历史补单
2026-10-14 00:47:10 +08:00

774 lines
14 KiB
Plaintext

.planning-page {
padding-top: 18rpx;
}
.phone-banner { display:flex; align-items:center; margin-bottom:18rpx; padding:16rpx 18rpx; border-radius:14rpx; background:#fff2d8; color:#815f2b; overflow:hidden; }.phone-banner-track { display:flex; flex:1; width:0; gap:50rpx; white-space:nowrap; animation:phoneBannerScroll 10s linear infinite; font-size:22rpx; }.phone-banner-close { position:relative; z-index:2; margin-left:18rpx; padding:6rpx; background:#fff2d8; font-size:32rpx; }.profile-prompt-mask { position:fixed; z-index:30; inset:0; display:flex; align-items:center; justify-content:center; padding:40rpx; background:rgba(25,41,33,.55); }.profile-prompt { box-sizing:border-box; display:flex; width:100%; flex-direction:column; align-items:center; padding:36rpx; border-radius:24rpx; background:#fff; }.profile-prompt-title { color:#30483c; font-size:32rpx; font-weight:800; }.profile-prompt-desc { margin-top:10rpx; color:#89988f; font-size:22rpx; text-align:center; }.wechat-nickname { box-sizing:border-box; width:100%; height:80rpx; margin-top:24rpx; padding:0 22rpx; border:1rpx solid #dce8df; border-radius:13rpx; background:#f7faf8; }.profile-save { width:100%; height:80rpx; margin-top:22rpx; border-radius:14rpx; background:#35634d; color:#fff; line-height:80rpx; }.profile-skip { margin-top:12rpx; background:transparent; color:#7e8e85; font-size:23rpx; }
.wechat-avatar {
position: relative;
display: block;
flex: none;
width: 144rpx;
min-width: 144rpx;
max-width: 144rpx;
height: 144rpx;
min-height: 144rpx;
max-height: 144rpx;
margin-top: 28rpx;
padding: 0;
overflow: hidden;
border: 2rpx solid #d8dfdb;
border-radius: 50%;
background: #f3f4f3;
line-height: 1;
}
.wechat-avatar[disabled] {
opacity: 0.78;
}
.wechat-avatar-image {
display: block;
width: 100%;
height: 100%;
}
.wechat-avatar-image.is-default {
box-sizing: border-box;
padding: 12rpx;
}
.wechat-avatar-hint {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 38rpx;
background: rgba(22, 27, 25, 0.68);
color: #fff;
font-size: 19rpx;
font-weight: 600;
line-height: 38rpx;
text-align: center;
}
@keyframes phoneBannerScroll { from { transform:translateX(0); } to { transform:translateX(-48%); } }
.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;
}
.calendar-error-card {
display: flex;
align-items: center;
justify-content: space-between;
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 {
color: #b06a52;
font-size: 22rpx;
line-height: 1.5;
}
.calendar-error-action {
display: flex;
align-items: center;
justify-content: center;
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;
}
.unassigned-notice {
display: flex;
align-items: center;
margin-top: 14rpx;
padding: 14rpx 16rpx;
border-radius: 12rpx;
background: #fff4e5;
color: #8b5e24;
font-size: 22rpx;
font-weight: 700;
}
.unassigned-dot {
flex: none;
background: #d59a52;
}
.unassigned-link {
margin-left: auto;
color: #a56b24;
}
.day-summary {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12rpx;
}
.unassigned-summary .summary-value {
color: #c57d27;
}
.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-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: 4rpx;
overflow: hidden;
padding: 12rpx 12rpx;
border-left: 8rpx solid #7ba7c7;
border-radius: 10px;
background: #fff7ee;
border-top: 1rpx solid rgba(58, 48, 34, 0.06);
border-right: 1rpx solid rgba(58, 48, 34, 0.06);
border-bottom: 1rpx solid rgba(58, 48, 34, 0.06);
transition: transform 160ms ease;
}
.appointment-block:active {
transform: scale(0.98);
}
.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;
}
.block-actions {
display: flex;
gap: 10rpx;
margin-top: 6rpx;
color: #2f6f62;
font-size: 20rpx;
font-weight: 800;
}
.block-actions text {
padding: 2rpx 6rpx;
}
.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;
min-height: 22rpx;
}
.week-bars.empty {
min-height: 22rpx;
}
.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;
min-height: 28rpx;
}
.week-line-bars.empty {
min-height: 28rpx;
}
.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;
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;
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-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-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;
transition: transform 160ms ease;
}
.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;
}
@keyframes pageFadeIn {
from {
opacity: 0;
transform: translateY(8rpx);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.historical-backfill-card{margin:20rpx 0;padding:22rpx}.historical-backfill-row{display:flex;justify-content:space-between;align-items:center;padding:18rpx 0;border-top:1rpx solid #eee7df;font-size:26rpx}.historical-backfill-row .muted{display:block;color:#92887e;font-size:22rpx;margin-top:8rpx}