uniapp 的H5版本在商品分类页面情况下,搜索框被遮挡

This commit is contained in:
Gaoxs
2020-11-27 15:59:14 +08:00
parent 7bdc8d1859
commit 1fdae3c32f
3 changed files with 9 additions and 9 deletions

View File

@ -7558,15 +7558,11 @@ page {
position: fixed;
left: 0;
right: 0;
// #ifdef H5
top: 88rpx;
// #endif
// #ifndef H5
top: 0;
// #endif
/* #ifdef H5 */
top:calc(44px + env(safe-area-inset-top));
/* #endif */
z-index: 9;
// border-bottom: 1px solid #555;
}
@ -7604,6 +7600,10 @@ page {
overflow-y: auto;
overflow-x: hidden;
overflow-scrolling: touch;
/* #ifdef H5 */
top:calc(44px + env(safe-area-inset-top) + 88rpx);
/* #endif */
}
.productSort .aside .item {