feat(Calendar): support select day

This commit is contained in:
陈嘉涵
2019-12-26 19:59:08 +08:00
committed by neverland
parent e21455f856
commit 43a0aed8c9
3 changed files with 68 additions and 15 deletions
+13 -1
View File
@@ -65,10 +65,14 @@
pointer-events: none;
}
&__day {
&__day,
&__selected-day {
display: flex;
align-items: center;
justify-content: center;
}
&__day {
width: 14.285%;
height: 64px;
font-size: @font-size-lg;
@@ -77,4 +81,12 @@
color: @gray-5;
}
}
&__selected-day {
width: 54px;
height: 54px;
color: @white;
background: @red;
border-radius: @border-radius-md;
}
}