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

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

diff --git a/src/views/paiban/index.vue b/src/views/paiban/index.vue
index fbc6eb0..e186445 100644
--- a/src/views/paiban/index.vue
+++ b/src/views/paiban/index.vue
@@ -4,10 +4,8 @@
             title=""
             left-text="返回"
             left-arrow
+            @click="fanhui"
         />
-        <!-- <div class="fanhui">
-            返回上一页
-        </div> -->
         <div>
             <van-calendar
                 color="#769AFF"
@@ -76,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)
     }
@@ -126,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;
                 }

--
Gitblit v1.8.0