57 lines
894 B
SCSS
57 lines
894 B
SCSS
.date-picker {
|
|
background: rgba(140, 236, 255, 0.24);
|
|
padding: 8rpx 0;
|
|
border-radius: 16rpx;
|
|
margin: 12px 0 6px;
|
|
min-width: 325px;
|
|
box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.1); /* 阴影 */
|
|
}
|
|
|
|
.date-list {
|
|
display: flex;
|
|
}
|
|
|
|
.date-item,
|
|
.calendar-btn {
|
|
flex: 1; /* 等宽 */
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 12rpx 0;
|
|
border-radius: 16rpx;
|
|
}
|
|
|
|
.label {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
}
|
|
.date {
|
|
font-size: 28rpx;
|
|
font-weight: bold;
|
|
color: #555;
|
|
}
|
|
|
|
.date-item.active {
|
|
background-color: #00a6ff;
|
|
}
|
|
.date-item.active .label,
|
|
.date-item.active .date {
|
|
color: #fff;
|
|
}
|
|
|
|
/* 日历按钮 */
|
|
.calendar-btn {
|
|
background: #fff;
|
|
border-radius: 0 16rpx 16rpx 0;
|
|
margin: -8rpx 0;
|
|
}
|
|
.calendar-img {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
.calendar-text {
|
|
font-size: 22rpx;
|
|
color: #666;
|
|
margin-top: 4rpx;
|
|
} |