From e73e8b1b18d0c85a801af9406369ebd9caf959ce Mon Sep 17 00:00:00 2001 From: long <452591453@qq.com> Date: Wed, 2 Dec 2026 10:57:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(admin):=20=E7=A7=BB=E9=99=A4=E4=B8=80?= =?UTF-8?q?=E8=AF=8A=E6=82=A3=E8=80=85=E5=92=8C=E6=8C=82=E5=8F=B7=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E7=9A=84=E5=9B=BA=E5=AE=9A=E8=A3=85=E9=A5=B0=E7=BB=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../my_patients/components/OrderPanel.vue | 10 ++ .../my_patients/components/PaibanPanel.vue | 20 ++++ .../my_patients/components/ProgressPanel.vue | 37 +++++++ .../views/first_visit/my_patients/index.vue | 31 ++++++ .../first_visit/registration_stats/index.vue | 104 ++++++++++++++++-- ...first-visit-registration-rankings.test.cjs | 41 ++++++- 6 files changed, 231 insertions(+), 12 deletions(-) diff --git a/admin/src/views/first_visit/my_patients/components/OrderPanel.vue b/admin/src/views/first_visit/my_patients/components/OrderPanel.vue index bd5093dc4..ea4d647a1 100755 --- a/admin/src/views/first_visit/my_patients/components/OrderPanel.vue +++ b/admin/src/views/first_visit/my_patients/components/OrderPanel.vue @@ -717,4 +717,14 @@ onMounted(getLists) } } } + +:root[data-admin-ui='v2'] .embedded-panel { + .scope-chip { color: var(--zyt-text); } + .status-filter-row :deep(.el-radio-button.is-active .el-radio-button__inner) { + color: var(--zyt-feedback-ink); + background: var(--zyt-accent-soft); + border-color: var(--zyt-primary); + font-weight: 600; + } +} diff --git a/admin/src/views/first_visit/my_patients/components/PaibanPanel.vue b/admin/src/views/first_visit/my_patients/components/PaibanPanel.vue index 3ebc6e6a1..7bc8602d2 100755 --- a/admin/src/views/first_visit/my_patients/components/PaibanPanel.vue +++ b/admin/src/views/first_visit/my_patients/components/PaibanPanel.vue @@ -574,4 +574,24 @@ onUnmounted(() => { :deep(.el-radio) { margin-right: 0; } + +:root[data-admin-ui='v2'] .paiban-container .time-slot-item { + &.available:not(.selected):hover, &.selected { + border-color: var(--zyt-primary); + background: var(--zyt-accent-soft); + box-shadow: none; + .slot-time { color: var(--zyt-feedback-ink); } + } + &.selected { + box-shadow: inset 0 -3px 0 var(--zyt-primary); + .slot-status { + background: var(--zyt-surface); + color: var(--zyt-text); + } + .status-available { + background: var(--el-color-success-light-9); + color: color-mix(in srgb, var(--el-color-success) 30%, var(--zyt-ink)); + } + } +} diff --git a/admin/src/views/first_visit/my_patients/components/ProgressPanel.vue b/admin/src/views/first_visit/my_patients/components/ProgressPanel.vue index 53e7be0f4..37cb00987 100755 --- a/admin/src/views/first_visit/my_patients/components/ProgressPanel.vue +++ b/admin/src/views/first_visit/my_patients/components/ProgressPanel.vue @@ -1025,4 +1025,41 @@ onUnmounted(() => { text-align: left; } } + +:root[data-admin-ui='v2'] .progress-board { + .board-section { + background: var(--zyt-surface); + border-color: var(--zyt-card-border); + } + .heading-copy h2, .remaining-detail-heading h3 { color: var(--zyt-ink); } + .remaining-detail { + background: var(--zyt-surface-subtle); + border-color: var(--zyt-card-border); + } + .scope-chip, .remaining-detail-heading span { color: var(--zyt-text); } + .doctor-index, .queue-number { + color: var(--zyt-text); + background: var(--zyt-surface-subtle); + } + .schedule-card { + background: var(--zyt-surface); + border-color: var(--zyt-card-border); + > strong { color: var(--zyt-ink); } + &:hover, &.is-today { + border-color: var(--zyt-accent-border); + background: var(--zyt-accent-soft); + } + &:focus-visible { outline-color: var(--zyt-primary); } + &.is-selected { + border-color: var(--zyt-primary); + background: var(--zyt-accent-soft); + box-shadow: inset 0 -3px 0 var(--zyt-primary); + } + } + .schedule-date, .schedule-card-action { color: var(--zyt-text); } + .schedule-card-action { + border-color: var(--zyt-card-border); + span:last-child { color: var(--zyt-feedback-ink); } + } +} diff --git a/admin/src/views/first_visit/my_patients/index.vue b/admin/src/views/first_visit/my_patients/index.vue index 76f6440db..31c858155 100755 --- a/admin/src/views/first_visit/my_patients/index.vue +++ b/admin/src/views/first_visit/my_patients/index.vue @@ -1175,4 +1175,35 @@ onMounted(() => { flex-wrap: wrap; } } + +:root[data-admin-ui='v2'] .my-patients-page { + background: var(--zyt-canvas); + color: var(--zyt-ink); + + .page-heading .eyebrow { color: var(--zyt-feedback-ink); } + .page-heading p { color: var(--zyt-text); } + .heading-actions :deep(.el-tag) { + color: var(--zyt-text); + background: var(--zyt-surface-subtle); + border-color: var(--zyt-card-border); + } + .workspace-tabs :deep(.el-tabs__header) { + background: var(--zyt-surface-subtle); + border-color: var(--zyt-card-border); + } + .workspace-tabs :deep(.el-tabs__active-bar) { background: var(--zyt-primary); } + + .summary-card { + color: var(--zyt-ink); + background: var(--zyt-surface); + border-color: var(--zyt-card-border); + &:hover { border-color: var(--zyt-primary); box-shadow: none; } + &:focus-visible { outline: 2px solid var(--zyt-primary); outline-offset: 2px; } + } + .summary-copy small, .summary-copy em, .summary-date { color: var(--zyt-text); } + .summary-card .summary-icon, .patient-avatar { + color: var(--zyt-feedback-ink); + background: var(--zyt-accent-soft); + } +} diff --git a/admin/src/views/first_visit/registration_stats/index.vue b/admin/src/views/first_visit/registration_stats/index.vue index cef9bb0ed..da24ddb63 100755 --- a/admin/src/views/first_visit/registration_stats/index.vue +++ b/admin/src/views/first_visit/registration_stats/index.vue @@ -1,6 +1,7 @@