| | |
| | | /> |
| | | <div> |
| | | <van-calendar |
| | | color="#769AFF" |
| | | :min-date="minDate" |
| | | @month-show="monthShow" |
| | | :poppable="false" |
| | |
| | | year:y, |
| | | month:m, |
| | | } |
| | | |
| | | ajaxPost('/patient/hemo/med/record/listByPatient',pagedata).then((re:any)=>{ |
| | | console.log(re) |
| | | re.forEach((element:any) => { |
| | |
| | | else { |
| | | day.bottomInfo='晚上' |
| | | } |
| | | console.log(day) |
| | | } |
| | | return day |
| | | } |
| | |
| | | }) |
| | | } |
| | | </script> |
| | | <style lang="scss"> |
| | | <style scoped lang="scss"> |
| | | .recordclass { |
| | | // background: rgb(228, 231, 225); |
| | | color: #00f; |
| | |
| | | } |
| | | /* stylelint-disable selector-pseudo-class-no-unknown */ |
| | | :deep(.van-calendar__day--end) { |
| | | border-radius: 0 var(--van-border-radius-md) var(--van-border-radius-md) 0; |
| | | background: #4696f9; |
| | | background: #46a8f9; |
| | | border-radius: 10px; |
| | | font-size: 12px; |
| | | } |
| | | |
| | | :deep(.van-calendar__day--start) { |
| | | background: #f98546; |
| | | border-radius: 10px; |
| | | font-size: 12px; |
| | | } |
| | | </style> |