pc上表现正常,移动端下面日期选择不到。最后调试发现与picker-view高度有关,高度100upx,展示一行,移动端也正常选择,高度200upx,展示2行,最后一行无法选择,高度300upx,展示3行最后两行数据无法选择,
!
!
代码:
@click.stop="changeShowTime('startTime')">
{ {startTime}}
至
@click.stop="changeShowTime('endTime')">
{ {endTime}}
{ {item}}年
{ {item}}月
{ {item}}日
{ {item}}年
{ {item}}月
{ {item}}日
确定
相关样式:
.popup-modal{
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,.6);
transition: all ease-in 300ms;
.popup-body{
position: fixed;
bottom: 0;
width: 100%;
background: #fff;
.popup-title{
@include flex;
flex-direction: column;
align-items: flex-end;
box-sizing: border-box;
padding: 30upx;</