弹性盒布局样式在ios13上有一部分不显示虚化,求解决方法
.footerBox{
display: flex;
align-items: center;
justify-content: space-between;
margin: 48rpx 64rpx 0 64rpx;
.footerLeft{
width: 200rpx;
height: 64rpx;
border-radius: 32rpx;
border: 1rpx solid #DC6E61;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #C22E1C;
display: flex;
align-items: center;
justify-content: center;
}
.footerRight{
width: 200rpx;
height: 64rpx;
border-radius: 32rpx;
border: 1rpx solid #97989A;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #00011C;
display: flex;
align-items: center;
justify-content: center;
}
}
这个问题我遇到过,border的使用1rpx的话有些机型会出现这个问题,建议使用1px替代。