< calendar :cur-year = "curYear" :cur-month = "curMonth" :day = "day" :header_show = "header_show" :prev = "prev" :next = "next" @ selectDate = 'selectDate' /> |
data(){ return { curYear: new Date().getFullYear(), curMonth: new Date().getMonth() + 1, day: new Date().getDate(), } } |
.active-coloro{
color
:
#fff
;
background
:
green
}
.active-colort {
color
:
#fff
;
background
:
#ff00ff
;
}
直接写样式吗