From 959caa2054458ae8bfd66ed2998fae671ac2528d Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期四, 28 八月 2025 16:33:05 +0800
Subject: [PATCH] 医嘱问题

---
 src/views/paiban/index.vue |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/views/paiban/index.vue b/src/views/paiban/index.vue
index 99e98a4..3ded060 100644
--- a/src/views/paiban/index.vue
+++ b/src/views/paiban/index.vue
@@ -8,7 +8,6 @@
         />
         <div>
             <van-calendar
-                color="#769AFF"
                 :min-date="minDate"
                 @month-show="monthShow"
                 :poppable="false"
@@ -125,9 +124,9 @@
         if (index>0){
             console.log(day)
             if (selectDate.value[index].透析单状态){
-                day.type='start'
-            } else {
                 day.type='end'
+            } else {
+                day.type='start'
             }
             day.text=selectDate.value[index].type
             if (selectDate.value[index].timeSlot===0){
@@ -139,8 +138,9 @@
             else {
                 day.bottomInfo='晚上'
             }
+            console.log(day,'有排班' )
         }
-        console.log(day,'-------------ddsdsdgit ')
+
         return day
     }
     onMounted(()=>{
@@ -234,4 +234,16 @@
     }
 }
 
+/* eslint-disable selector-class-pattern */
+
+/* eslint-disable selector-pseudo-element-no-unknown */
+
+/* eslint-disable color-named */
+/* stylelint-disable selector-pseudo-class-no-unknown */
+
+:deep(.van-calendar__day--end) {
+    border-radius: 0 var(--van-border-radius-md) var(--van-border-radius-md) 0;
+    background: #4696f9;
+}
+
 </style>
\ No newline at end of file

--
Gitblit v1.8.0