调整预约状态斜杠方向

This commit is contained in:
2026-07-12 12:13:20 +08:00
parent 58498db422
commit 5ca375f14b
4 changed files with 48 additions and 55 deletions
@@ -275,9 +275,9 @@ onMounted(loadAppointments)
.appointment-block:hover { transform: translateY(-2px); border-color: var(--theme-primary); }
.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 { content: ""; position: absolute; right: 10px; left: 10px; top: 50%; border-top: 3px solid; pointer-events: none; transform: rotate(-10deg); transform-origin: center; }
.appointment-block.is-completed::after { border-color: rgba(69, 130, 91, 0.78); }
.appointment-block.is-cancelled::after { border-color: rgba(198, 78, 91, 0.8); }
.appointment-block.is-completed::after, .appointment-block.is-cancelled::after { content: ""; position: absolute; inset: 0; background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none; }
.appointment-block.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='3' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.appointment-block.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='3' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.appointment-block .time { color: var(--theme-primary); font-weight: 700; }
.appointment-block small { color: var(--text-secondary); }
.detail-body { display: grid; gap: 18px; }