install
npm i vue-calendar-component
vue文件引入
import Calendar from 'vue-calendar-component';
components: {
Calendar
}
下面的放到要显示的位置
<Calendar
:sundayStart="true"//默认是周一开始 当是true的时候 是周日开始
></Calendar>
修改样式
.card div:nth-child(1){
background-color:#BDC0BA;
padding-bottom:0;
}
.card div:nth-child(3) div ,.card div:nth-child(2) div{
height: 35px;
width: 35px;
}