34
chenyc
2022-10-21 a866e581db6a24e9aa4b2145d3e4c2256cfc07cd
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;
            }