.footBox {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 9vh;
background-color: #ffffff;
padding-right: 30rpx;
padding-left: 30rpx;
padding-top: 15rpx;
box-sizing: border-box;
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: constant(safe-area-inset-bottom);//这句
padding-bottom: env(safe-area-inset-bottom);//这句
}
uniapp——iphone、安卓手机全面屏、导航键的底部模块样式写法
最新推荐文章于 2024-06-14 16:57:03 发布