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

---
 src/views/record/index.vue |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/views/record/index.vue b/src/views/record/index.vue
index 35d4d8e..a968ca3 100644
--- a/src/views/record/index.vue
+++ b/src/views/record/index.vue
@@ -4,6 +4,7 @@
             title=""
             left-text="返回"
             left-arrow
+            @click="fanhui"
         />
         <div>
             <van-calendar
@@ -73,8 +74,13 @@
 <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 selectData=(data:any)=>{
         console.log(data)
+    }
+    const fanhui=()=>{
+        router.go(-1)
     }
     const formatter=(day:any)=>{
         const month = day.date.getMonth() + 1
@@ -130,17 +136,18 @@
                 font-weight: 400;
                 color: #AAAAAA;
                 line-height: 40px;
+                margin-bottom: 10px;
             }
             .item{
-                margin-top: 20px;
+                // margin-top: 10px;
                 width: 90%;
                 margin-left: 5%;
-                height: 40px;
+                height: 30px;
                 font-size: 13px;
                 font-family: PingFangSC-Medium, PingFang SC;
                 font-weight: 500;
                 color: #333333;
-                line-height: 40px;
+                line-height: 30px;
                 background: #FFFFFF;
                 border-bottom:#F1F1F2 solid 1px;
             }

--
Gitblit v1.8.0