From d664ad16afcee39e2e3e6438f93e7261bcffcd11 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 27 九月 2022 16:17:20 +0800
Subject: [PATCH] up

---
 src/views/paiban/index.vue |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/src/views/paiban/index.vue b/src/views/paiban/index.vue
index 4699cca..fbc6eb0 100644
--- a/src/views/paiban/index.vue
+++ b/src/views/paiban/index.vue
@@ -1,13 +1,21 @@
 <template>
     <div class="paiban">
+        <van-nav-bar
+            title=""
+            left-text="返回"
+            left-arrow
+        />
+        <!-- <div class="fanhui">
+            返回上一页
+        </div> -->
         <div>
             <van-calendar
-                title="透析排班"
                 color="#769AFF"
                 :poppable="false"
                 :show-confirm="false"
                 @select="selectData"
                 :formatter="formatter"
+                :show-title="false"
                 :style="{ height: '400px' }"
             />
         </div>
@@ -66,7 +74,7 @@
     </div>
 </template>
 <script lang="ts" setup>
-    import {ref,reactive,watchEffect,watch} from 'vue'
+    // import {ref,reactive,watchEffect,watch} from 'vue'
     import { Calendar as vanCalendar } from 'vant'
     const selectData=(data:any)=>{
         console.log(data)
@@ -86,7 +94,7 @@
         return day
     }
 </script>
-<style lang="scss">
+<style scoped lang="scss">
     .paibanclass{
         // background: rgb(228, 231, 225);
         color: blue;
@@ -155,4 +163,14 @@
             }
         }
     }
+    .fanhui{
+    // padding-top: 20px;
+    width: 100%;
+    background: #4696F9;
+    text-align: center;
+    border-radius: 5px;
+    color:#FFFFFF;
+    height: 36px;
+    line-height: 36px;
+}
 </style>
\ No newline at end of file

--
Gitblit v1.8.0