如何通过日历更改周六和周日的颜色?

时间:2020-10-24 01:48:19

标签: vuetify.js vcalendar

我想使用vuetify.js更改星期日(红色)和星期六(蓝色)的颜色

        <v-calendar
          ref="calendar"
          v-model="focus"
          color="primary"
          locale="ja-jp"
          :weekdays="weekday"
          :day-format="timestamp => new Date(timestamp.date).getDate()"
          :month-format="timestamp => (new Date(timestamp.date).getMonth() + 1) + ' /'"
          :events="events"
          :event-color="getEventColor"
          :type="type"
          @click:event="showEvent"
          @click:more="viewDay"
          @click:date="viewDay"
          @change="updateRange"
        >
        </v-calendar>

0 个答案:

没有答案
相关问题