Files
lunar-mini/mini/pages/calendar/calendar.wxss
T

93 lines
1.2 KiB
Plaintext

.container {
padding: 20rpx;
}
.day-cell {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 12rpx 4rpx;
background: #FFFFFF;
border-radius: 12rpx;
min-height: 100rpx;
}
.day-cell.today {
background: #C41E3A;
color: #FFFFFF;
}
.day-cell.today .day-lunar {
color: rgba(255,255,255,0.8);
}
.day-cell.other-month {
opacity: 0.4;
}
.day-number {
font-size: 28rpx;
font-weight: 500;
}
.day-lunar {
font-size: 20rpx;
color: #9E8E7E;
margin-top: 4rpx;
}
.day-lunar.festival {
color: #C41E3A;
font-weight: 500;
}
.day-dot {
width: 8rpx;
height: 8rpx;
border-radius: 50%;
background: #C41E3A;
margin-top: 4rpx;
}
.picker-mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 100;
display: none;
}
.picker-mask.show {
display: block;
}
.picker-panel {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: #FFFFFF;
border-radius: 24rpx 24rpx 0 0;
}
.picker-header {
display: flex;
justify-content: space-between;
padding: 24rpx;
border-bottom: 1rpx solid #E8D5C4;
}
.picker-view {
height: 400rpx;
}
.picker-item {
text-align: center;
line-height: 68rpx;
font-size: 32rpx;
}