From d239fea7cafc2db4f6fb27cb2a1331b885c5e820 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 21 十月 2022 15:22:53 +0800
Subject: [PATCH] 34

---
 src/views/paiban/index.vue |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)

diff --git a/src/views/paiban/index.vue b/src/views/paiban/index.vue
index c11a730..e186445 100644
--- a/src/views/paiban/index.vue
+++ b/src/views/paiban/index.vue
@@ -1,5 +1,11 @@
 <template>
     <div class="paiban">
+        <van-nav-bar
+            title=""
+            left-text="返回"
+            left-arrow
+            @click="fanhui"
+        />
         <div>
             <van-calendar
                 color="#769AFF"
@@ -68,6 +74,11 @@
 <script lang="ts" setup>
     // import {ref,reactive,watchEffect,watch} from 'vue'
     import { Calendar as vanCalendar } from 'vant'
+    import {useRouter} from 'vue-router'
+    const router=useRouter()
+    const fanhui=()=>{
+        router.go(-1)
+    }
     const selectData=(data:any)=>{
         console.log(data)
     }
@@ -86,7 +97,7 @@
         return day
     }
 </script>
-<style lang="scss">
+<style scoped lang="scss">
     .paibanclass{
         // background: rgb(228, 231, 225);
         color: blue;
@@ -118,8 +129,11 @@
                 .sqtb{
                     color: #4696F9;
                     // background: #4696F9;
+                    height:18px;
+                    line-height:18px;
                     border: #4696F9 1px solid;
                     width: 60px;
+                    text-align: center;
                     border-radius: 4px;
                     font-size: 12px;
                 }
@@ -155,4 +169,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