gx
chenyc
2025-10-28 f10f14ad1e100246c6bd19d30f275204147c8981
src/views/paiban/index.vue
@@ -6,7 +6,7 @@
            left-arrow
            @click="fanhui"
        />
        <div>
        <div style="padding: 10px;">
            <van-calendar
                :min-date="minDate"
                @month-show="monthShow"
@@ -124,9 +124,9 @@
        if (index>0){
            console.log(day)
            if (selectDate.value[index].透析单状态){
                day.type='start'
            } else {
                day.type='end'
            } else {
                day.type='start'
            }
            day.text=selectDate.value[index].type
            if (selectDate.value[index].timeSlot===0){
@@ -164,7 +164,7 @@
}
.listdiv {
    margin-top: 20px;
    // margin-top: 20px;
    .listrow {
        margin-top: 10px;
@@ -242,8 +242,15 @@
/* 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>