123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- .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;
- }
|