区分预约完成和取消状态标识
This commit is contained in:
@@ -307,6 +307,41 @@
|
||||
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: 50%;
|
||||
right: 14rpx;
|
||||
left: 14rpx;
|
||||
border-top: 5rpx solid;
|
||||
transform: rotate(-15deg);
|
||||
transform-origin: center;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.appointment-block.is-completed::after,
|
||||
.week-day-card.is-completed::after {
|
||||
border-color: rgba(69, 130, 91, 0.78);
|
||||
}
|
||||
|
||||
.appointment-block.is-cancelled::after,
|
||||
.week-day-card.is-cancelled::after {
|
||||
border-color: rgba(198, 78, 91, 0.8);
|
||||
}
|
||||
|
||||
.block-title {
|
||||
color: #2c2823;
|
||||
font-size: 24rpx;
|
||||
@@ -339,6 +374,7 @@
|
||||
}
|
||||
|
||||
.week-day-card {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
width: 148rpx;
|
||||
@@ -347,6 +383,16 @@
|
||||
padding: 16rpx;
|
||||
}
|
||||
|
||||
.week-day-card.is-completed {
|
||||
background: #f5fff7;
|
||||
border-color: #c8ead1;
|
||||
}
|
||||
|
||||
.week-day-card.is-cancelled {
|
||||
background: #fff5f6;
|
||||
border-color: #e8c7cc;
|
||||
}
|
||||
|
||||
.week-day-card.active {
|
||||
outline: 3rpx solid #8fb89a;
|
||||
}
|
||||
@@ -377,6 +423,7 @@
|
||||
}
|
||||
|
||||
.week-bar {
|
||||
position: relative;
|
||||
height: 8rpx;
|
||||
border-radius: 999rpx;
|
||||
}
|
||||
@@ -422,6 +469,7 @@
|
||||
}
|
||||
|
||||
.week-count-bar {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 58rpx;
|
||||
@@ -433,6 +481,65 @@
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.week-bar.is-completed::after,
|
||||
.week-bar.is-cancelled::after,
|
||||
.week-count-bar.is-completed::after,
|
||||
.week-count-bar.is-cancelled::after,
|
||||
.month-artist-bar.is-completed::after,
|
||||
.month-artist-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: 50%;
|
||||
right: 4rpx;
|
||||
left: 4rpx;
|
||||
border-top: 3rpx solid rgba(255, 255, 255, 0.92);
|
||||
transform: rotate(-15deg);
|
||||
transform-origin: center;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.week-bar.is-completed::before,
|
||||
.week-bar.is-cancelled::before,
|
||||
.week-count-bar.is-completed::before,
|
||||
.week-count-bar.is-cancelled::before,
|
||||
.month-artist-bar.is-completed::before,
|
||||
.month-artist-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: 50%;
|
||||
right: 4rpx;
|
||||
left: 4rpx;
|
||||
z-index: 1;
|
||||
border-top: 2rpx solid;
|
||||
transform: rotate(-15deg);
|
||||
transform-origin: center;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.week-bar.is-completed::before,
|
||||
.week-count-bar.is-completed::before,
|
||||
.month-artist-bar.is-completed::before,
|
||||
.month-order-block.is-completed::before,
|
||||
.month-row-block.is-completed::before {
|
||||
border-color: rgba(69, 130, 91, 0.9);
|
||||
}
|
||||
|
||||
.week-bar.is-cancelled::before,
|
||||
.week-count-bar.is-cancelled::before,
|
||||
.month-artist-bar.is-cancelled::before,
|
||||
.month-order-block.is-cancelled::before,
|
||||
.month-row-block.is-cancelled::before {
|
||||
border-color: rgba(198, 78, 91, 0.92);
|
||||
}
|
||||
|
||||
.month-card {
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -607,6 +714,7 @@
|
||||
}
|
||||
|
||||
.month-artist-bar {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -631,6 +739,7 @@
|
||||
}
|
||||
|
||||
.month-order-block {
|
||||
position: relative;
|
||||
width: 22rpx;
|
||||
height: 12rpx;
|
||||
border-radius: 999rpx;
|
||||
@@ -638,6 +747,7 @@
|
||||
}
|
||||
|
||||
.month-row-block {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
Reference in New Issue
Block a user