chenyc
2025-11-14 5d6c0e614bab737842e402077bee47a9d4e18733
src/views/record/index.vue
@@ -8,7 +8,6 @@
        />
        <div>
            <van-calendar
                color="#769AFF"
                :min-date="minDate"
                @month-show="monthShow"
                :poppable="false"
@@ -158,6 +157,7 @@
            year:y,
            month:m,
        }
        ajaxPost('/patient/hemo/med/record/listByPatient',pagedata).then((re:any)=>{
            console.log(re)
            re.forEach((element:any) => {
@@ -209,6 +209,7 @@
            else {
                day.bottomInfo='晚上'
            }
            console.log(day)
        }
        return day
    }
@@ -223,7 +224,7 @@
        })
    }
</script>
<style lang="scss">
<style scoped lang="scss">
.recordclass {
    // background: rgb(228, 231, 225);
    color: #00f;
@@ -298,7 +299,14 @@
}
/* 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>