feat(Calendar): add basic files

This commit is contained in:
陈嘉涵
2019-12-26 19:59:08 +08:00
committed by neverland
parent 3a22162912
commit 49781a5e15
11 changed files with 252 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
@import '../style/var';
.van-calendar {
display: flex;
flex-direction: column;
height: 80vh;
&__title,
&__weekdays {
flex-shrink: 0;
}
&__title {
height: 44px;
font-weight: @font-weight-bold;
font-size: @font-size-lg;
line-height: 44px;
text-align: center;
}
&__weekdays {
display: flex;
}
&__weekday {
flex: 1;
font-size: @font-size-sm;
line-height: 30px;
text-align: center;
}
&__body {
flex: 1;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
}