代码拉取完成,页面将自动刷新
/* component/hz_calendar/calendar.wxss */
/* 遮罩 */
.hz-mask {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background: #000;
opacity: 0;
z-index: 80;
}
/* 日历 */
.hz-box {
--select-color: #0370cc;
--disabled-color: #909090;
--other-month-color: #909090;
--weekday-color: #909090;
width: 100%;
z-index: 81;
background: white;
padding: 55rpx 50rpx;
box-sizing: border-box;
border-radius: 20rpx 20rpx 0 0;
}
.hz-arrow {
width: 40rpx;
height: 40rpx;
display: flex;
align-items: center;
justify-content: center;
}
.hz-arrow__l {
border-style: solid;
border-width: 12rpx 21rpx 12rpx 0rpx;
border-color: transparent #a0a0a0 transparent transparent;
}
.hz-arrow__r {
border-style: solid;
border-width: 12rpx 0rpx 12rpx 21rpx;
border-color: transparent transparent transparent #a0a0a0;
}
.hz-control {
display: flex;
align-items: center;
justify-content: center;
}
.hz-control-mid {
position: relative;
height: 60rpx;
display: flex;
align-items: center;
justify-content: center;
width: 240rpx;
}
.hz-control-date {
font-size: 36rpx;
color: #151414;
font-weight: bold;
}
.hz-control-picker {
width: 100%;
height: 100%;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 1;
}
.hz-control-picker__holder {
width: 100%;
height: 100%;
position: absolute;
}
.hz-weekday-tab {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 28rpx;
color: var(--weekday-color);
margin-top: 30rpx;
}
.hz-days {
width: 85rpx;
height: 85rpx;
display: flex;
justify-content: center;
align-items: center;
}
.hz-days_day {
width: 51rpx;
height: 51rpx;
text-align: center;
line-height: 51rpx;
border-radius: 50%;
transition: transform 0.3s;
}
.hz-animation-box {
width: 100%;
min-height: 510rpx;
position: relative;
overflow: hidden;
}
.hz-month-view {
width: 100%;
height: 100%;
font-size: 28rpx;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
position: absolute;
left: 0;
background: white;
z-index: 1;
}
.hz-days__now {
color: black;
}
.hz-days__last,
.hz-days__next {
color: var(--other-month-color);
}
.hz-days--today {
position: relative;
color: var(--select-color);
}
.hz-days--today::after {
content: "今天";
color: var(--select-color);
position: absolute;
bottom: -30rpx;
display: block;
font-size: 20rpx;
white-space: nowrap;
left: 50%;
transform: translateX(-50%);
pointer-events: none;
transition: transform .3s;
}
.hz-days--select {
background: var(--select-color);
color: white;
transform: scale(1.2);
}
.hz-days--select::after {
transform: translateX(-50%) translateY(10%) scale(0.8);
}
.hz-days--disabled {
color: var(--disabled-color);
}
.hz-fade-in {
left: 0;
}
.hz-fade-out__left {
left: -700rpx;
}
.hz-fade-out__right {
left: 700rpx;
}
.hz-fade-ani {
transition: left 0.5s;
}
.hz-box .hz-confirm {
width: 509rpx;
height: 68rpx;
line-height: 68rpx;
color: white;
border-radius: 10rpx;
background: var(--select-color);
margin-top: 30rpx;
padding: 0;
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。