83 lines
1.9 KiB
Plaintext
83 lines
1.9 KiB
Plaintext
.appointment-card {
|
|
position: relative;
|
|
display: flex;
|
|
gap: 18rpx;
|
|
overflow: hidden;
|
|
margin-top: 22rpx;
|
|
padding: 24rpx;
|
|
}
|
|
|
|
.appointment-card.is-completed {
|
|
background: #f5fff7;
|
|
border-color: #c8ead1;
|
|
}
|
|
|
|
.appointment-card.is-cancelled {
|
|
background: #fff5f6;
|
|
border-color: #e8c7cc;
|
|
}
|
|
|
|
.appointment-card.is-completed::after,
|
|
.appointment-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-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-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");
|
|
}
|
|
|
|
.day-box {
|
|
width: 136rpx;
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 8rpx;
|
|
padding: 20rpx 12rpx;
|
|
border-radius: 24rpx;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary);
|
|
text-align: center;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.appointment-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.appointment-title,
|
|
.appointment-line {
|
|
display: block;
|
|
}
|
|
|
|
.appointment-title {
|
|
color: var(--text-primary);
|
|
font-size: 29rpx;
|
|
font-weight: 800;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.appointment-line {
|
|
margin-top: 8rpx;
|
|
color: #504444;
|
|
font-size: 24rpx;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.ghost-btn {
|
|
margin-top: 16rpx;
|
|
}
|