You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

253 lines
4.6 KiB

.lotus-calendar {
background: #fff;
position: absolute;
bottom: 0;
transform: translateY(100%);
animation: calendarMove 0.4s ease-in-out forwards;
}
.lotus-calendar-title {
font-size: 28rpx;
text-align: center;
padding-top: 30rpx;
color: #222;
}
.lotus-calendar-out {
animation: calendarOut 0.4s ease-in-out forwards;
}
.lotus-calendar-wrap {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 999;
}
.lotus-calendar-chose {
position: relative;
/*display: -webkit-box;
display: -webkit-flex;*/
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 28rpx;
color: #333;
}
.lotus-calendar-chose::before {
content: '';
width: 100%;
height: 1px;
background: #eee;
position: absolute;
bottom: 0;
}
.lotus-calendar-chose-item {
flex: 1;
padding: 20rpx 0;
}
.lotus-calendar-chose-act {
position: relative;
color: #2979ff;
}
.lotus-calendar-chose-act::before {
content: '';
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
width: 40rpx;
height: 4rpx;
background: #2979ff;
}
.lotus-calendar-cur-date {
padding: 20rpx 40rpx 20rpx 40rpx;
}
.lotus-calendar-cur-text {
color: #2979ff;
}
.lotus-calendar-center {
font-size: 32rpx;
/*display: -webkit-box;
display: -webkit-flex;*/
display: flex;
align-items: center;
justify-content: center;
justify-content: space-between;
text-align: center;
}
.lotus-calendar-week {
/*display: -webkit-box;
display: -webkit-flex;*/
display: flex;
}
.lotus-calendar-week-text {
width: 107rpx;
text-align: center;
font-size: 30rpx;
height: 60rpx;
line-height: 60rpx;
color: #333;
}
.lotus-calendar-days {
overflow: hidden;
padding-bottom: 10rpx;
}
.lotus-calendar-days-text {
float: left;
margin-bottom: 10rpx;
font-size: 30rpx;
width: 107rpx;
text-align: center;
height: 70rpx;
line-height: 70rpx;
}
.lotus-calendar-days-range {
background: #e4f2fd;
}
.lotus-calendar-days-gray {
color: #999;
width: 60rpx;
height: 60rpx;
line-height: 60rpx;
white-space: nowrap;
margin-left: auto;
margin-right: auto;
}
.lotus-calendar-days-act {
color: #fff;
/*display: -webkit-box;
display: -webkit-flex;*/
display: flex;
align-items: center;
justify-content: center;
margin-left: auto;
margin-right: auto;
text-align: center;
width: 70rpx;
height: 70rpx;
line-height: 70rpx;
background: #2979ff;
}
.lotus-calendar-prev {
color: #999;
font-size: 36rpx;
}
.lotus-calendar-next {
color: #999;
font-size: 36rpx;
}
.lotus-calendar-month {
flex: 1;
/*display: -webkit-box;
display: -webkit-flex;*/
display: flex;
align-items: center;
justify-content: center;
justify-content: space-between;
padding-right: 120rpx;
}
.lotus-calendar-year {
flex: 1;
/*display: -webkit-box;
display: -webkit-flex;*/
display: flex;
align-items: center;
justify-content: center;
justify-content: space-between;
}
.lotus-calendar-year2 {
margin: 20rpx 100rpx 0;
font-size: 34rpx;
}
.lotus-calendar-mask {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: -1;
background: rgba(0, 0, 0, 0.5);
}
.lotus-calendar-months {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding-top: 200rpx;
min-height: 864rpx;
background: #fff;
z-index: 15;
color: #999;
box-sizing: border-box;
}
.lotus-calendar-months-box {
/*display: -webkit-box;
display: -webkit-flex;*/
display: flex;
align-content: center;
flex-wrap: wrap;
font-size: 32rpx;
padding-top: 80rpx;
}
.lotus-calendar-months-text {
width: 25%;
text-align: center;
padding: 30rpx 0;
}
.lotus-calendar-months-text2 {
padding-bottom: 20rpx;
}
.lotus-calendar-months-cancel {
padding: 30rpx 30rpx 0 0;
font-size: 32rpx;
text-align: right;
}
.lotus-calendar-months-cancel-icon {
width: 50rpx;
height: 50rpx;
vertical-align: middle;
}
.lotus-calendar-months-cancel2 {
padding-top: 0;
padding-right: 0;
}
@keyframes calendarMove {
0% {
transform: translateY(100%);
}
100% {
transform: translateY(0%);
}
}
@keyframes calendarOut {
0% {
transform: translateY(0%);
}
100% {
transform: translateY(100%);
}
}
.lotus-calendar-result-time {
font-size: 28rpx;
text-align: center;
color: #2979FF;
}
.lotus-calendar-result-btn {
font-size: 28rpx;
text-align: center;
color: #fff;
line-height: 70rpx;
background: #2979FF;
border-radius: 30rpx;
margin: 20rpx 40rpx 30rpx;
}
.lotus-calendar-cur-bg-month {
font-size: 320rpx;
position: absolute;
left: 50%;
top: 50%;
transform: translate3d(-50%, -50%, 0);
z-index: -1;
color: #e4e7ed;
white-space: nowrap;
}