修复店务小程序时间滚轮中间态叠层

This commit is contained in:
2026-07-23 17:02:06 +08:00
parent c987dc4cf4
commit 74207c916a
5 changed files with 76 additions and 13 deletions
@@ -903,6 +903,10 @@
background: #fffaf4;
}
.time-picker-stage {
position: relative;
}
.time-picker-item {
display: flex;
align-items: center;
@@ -920,6 +924,31 @@
font-weight: 900;
}
.time-picker-selected-overlay {
position: absolute;
top: 50%;
left: 0;
right: 0;
display: grid;
height: 92rpx;
grid-template-columns: repeat(2, minmax(0, 1fr));
align-items: center;
margin-top: -46rpx;
background: #fff2df;
border-top: 1rpx solid #e1d4c5;
border-bottom: 1rpx solid #e1d4c5;
pointer-events: none;
z-index: 2;
}
.time-picker-selected-overlay text {
color: #2f2923;
font-size: 34rpx;
font-weight: 900;
line-height: 92rpx;
text-align: center;
}
.time-picker-indicator {
height: 92rpx;
border-top: 1rpx solid #e1d4c5;