| | |
| | | <template> |
| | | <div class="record"> |
| | | <van-nav-bar |
| | | title="" |
| | | left-text="返回" |
| | | left-arrow |
| | | @click="fanhui" |
| | | /> |
| | | <div> |
| | | <van-calendar |
| | | color="#769AFF" |
| | |
| | | <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 |
| | |
| | | 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; |
| | | } |
| | | } |
| | | } |
| | | .fanhui{ |
| | | // padding-top: 20px; |
| | | width: 100%; |
| | | background: #4696F9; |
| | | text-align: center; |
| | | border-radius: 5px; |
| | | color:#FFFFFF; |
| | | height: 36px; |
| | | line-height: 36px; |
| | | } |
| | | </style> |