From f10f14ad1e100246c6bd19d30f275204147c8981 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 28 十月 2025 22:09:20 +0800
Subject: [PATCH] gx
---
src/views/paiban/index.vue | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/views/paiban/index.vue b/src/views/paiban/index.vue
index 8fd725e..a92c58d 100644
--- a/src/views/paiban/index.vue
+++ b/src/views/paiban/index.vue
@@ -6,7 +6,7 @@
left-arrow
@click="fanhui"
/>
- <div>
+ <div style="padding: 10px;">
<van-calendar
:min-date="minDate"
@month-show="monthShow"
@@ -124,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){
@@ -164,7 +164,7 @@
}
.listdiv {
- margin-top: 20px;
+ // margin-top: 20px;
.listrow {
margin-top: 10px;
@@ -242,8 +242,15 @@
/* 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;
+ background: #46a8f9;
+ border-radius: 10px;
+ font-size: 12px;
+}
+
+:deep(.van-calendar__day--start) {
+ background: #f98546;
+ border-radius: 10px;
+ font-size: 12px;
}
</style>
\ No newline at end of file
--
Gitblit v1.8.0