+
+
+
+
+
+
+
+
+
+
+
+
结束原因
+
{{ endData.end_reason }}
+
-
-
结束时间:
-
{{ endData.end_time }}
+
+
+
+
+
+
+
结束时间
+
{{ endData.end_time }}
+
-
+
diff --git a/apps/web-antd/src/views/doctor/online-consultation/components/PatientExperienceCard.vue b/apps/web-antd/src/views/doctor/online-consultation/components/PatientExperienceCard.vue
index f68255a7..2b385fb8 100644
--- a/apps/web-antd/src/views/doctor/online-consultation/components/PatientExperienceCard.vue
+++ b/apps/web-antd/src/views/doctor/online-consultation/components/PatientExperienceCard.vue
@@ -347,25 +347,25 @@ const handleAddToPrescription = async () => {
}
/* 暗黑模式适配 */
-:global(.dark) .patient-experience-card {
+.dark .patient-experience-card {
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
border-color: #334155;
}
-:global(.dark) .info-row {
+.dark .info-row {
background: #1e293b;
border-color: #334155;
}
-:global(.dark) .info-row:hover {
+.dark .info-row:hover {
background: #334155;
}
-:global(.dark) .info-value {
+.dark .info-value {
color: #e2e8f0;
}
-:global(.dark) .card-footer {
+.dark .card-footer {
background: #0f172a;
border-color: #334155;
}
diff --git a/apps/web-antd/src/views/doctor/online-consultation/components/PatientInfoPanel.vue b/apps/web-antd/src/views/doctor/online-consultation/components/PatientInfoPanel.vue
index 3716dfec..1737896e 100644
--- a/apps/web-antd/src/views/doctor/online-consultation/components/PatientInfoPanel.vue
+++ b/apps/web-antd/src/views/doctor/online-consultation/components/PatientInfoPanel.vue
@@ -254,10 +254,6 @@ watch(
flex-shrink: 0;
}
-.dark .patient-title {
- color: #f3f4f6;
-}
-
.patient-descriptions {
margin-bottom: 0;
}
@@ -318,4 +314,23 @@ watch(
font-size: 16px;
font-weight: 500;
}
+
+/* 暗色模式适配 */
+.dark .patient-title {
+ color: #f3f4f6;
+}
+
+.dark .illness-info,
+.dark .drug-info {
+ color: #cbd5e1;
+}
+
+.dark .illness-info strong,
+.dark .drug-info strong {
+ color: #e2e8f0;
+}
+
+.dark .meta-info {
+ color: #94a3b8;
+}
diff --git a/apps/web-antd/src/views/doctor/online-consultation/components/PatientList.vue b/apps/web-antd/src/views/doctor/online-consultation/components/PatientList.vue
index 312ae9ed..6bee07c8 100644
--- a/apps/web-antd/src/views/doctor/online-consultation/components/PatientList.vue
+++ b/apps/web-antd/src/views/doctor/online-consultation/components/PatientList.vue
@@ -214,6 +214,7 @@ defineExpose({
align-items: center;
justify-content: center;
font-size: 14px;
+ color: #666;
}
.patient-list {
@@ -282,4 +283,37 @@ defineExpose({
.time {
font-size: 12px;
}
+
+/* 暗色模式适配 */
+.dark .patient-name {
+ color: #e2e8f0;
+}
+
+.dark .patient-phone {
+ color: #94a3b8;
+}
+
+.dark .order-no {
+ color: #94a3b8;
+}
+
+.dark .status-pending {
+ background: rgba(245, 108, 108, 0.2);
+ color: #f87171;
+}
+
+.dark .status-consulting {
+ background: rgba(103, 194, 58, 0.2);
+ color: #4ade80;
+}
+
+.dark .status-ended {
+ background: rgba(144, 147, 153, 0.2);
+ color: #9ca3af;
+}
+
+.dark .loading-state,
+.dark .empty-state {
+ color: #94a3b8;
+}
diff --git a/apps/web-antd/src/views/doctor/online-consultation/components/ProductCard.vue b/apps/web-antd/src/views/doctor/online-consultation/components/ProductCard.vue
index e99098c7..5cc33e5f 100644
--- a/apps/web-antd/src/views/doctor/online-consultation/components/ProductCard.vue
+++ b/apps/web-antd/src/views/doctor/online-consultation/components/ProductCard.vue
@@ -113,5 +113,36 @@ const handleClick = () => {
color: #ff4d4f;
margin-left: 4px;
}
+
+/* 暗色模式适配 */
+.dark .product-card {
+ background: #1e293b;
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
+}
+
+.dark .product-card:hover {
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
+}
+
+.dark .product-name {
+ color: #e2e8f0;
+}
+
+.dark .product-spec,
+.dark .product-function {
+ color: #94a3b8;
+}
+
+.dark .product-price {
+ border-top-color: #334155;
+}
+
+.dark .price-label {
+ color: #94a3b8;
+}
+
+.dark .price-value {
+ color: #f87171;
+}
diff --git a/apps/web-antd/src/views/doctor/online-consultation/index.vue b/apps/web-antd/src/views/doctor/online-consultation/index.vue
index 9d5be1c7..e5a87ca8 100644
--- a/apps/web-antd/src/views/doctor/online-consultation/index.vue
+++ b/apps/web-antd/src/views/doctor/online-consultation/index.vue
@@ -562,7 +562,8 @@ const handleAddPatientProductsToPrescription = async () => {
}
.dark .left-panel-wrapper {
- border-right-color: #333;
+ border-right-color: #334155;
+ background: #1e293b;
}
.dark .container-box-grid {