tabbar默认高度98rpx 但是定位98rpx不好使 iOS
遂 AI助理 科普 老年歌曲的盒子固定定位元素的bottom值
.hotSelling {
width: 100vw;
height: 10vh;
background-color: #fff;
border-top: 1px solid #b6b6b6;
position: fixed;
// bottom: 98rpx;
bottom: var(--window-bottom);//!!!!!
right: 0;
left: 0;
display: flex;
padding: 1.75vh;
box-sizing: border-box;
}
解决!
官方解释