分类页面H5优化
parent
0d6decb0f0
commit
c533b1c2d4
|
|
@ -192,7 +192,13 @@
|
|||
|
||||
/**
|
||||
* 商品列表模式
|
||||
*/
|
||||
*/
|
||||
.category-content {
|
||||
height: calc(100vh - 134rpx - var(--window-bottom));
|
||||
/* #ifdef H5 */
|
||||
height: calc(100vh - 104rpx - var(--window-bottom));
|
||||
/* #endif */
|
||||
}
|
||||
.category-content.goods-model {
|
||||
padding-top: 182rpx;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1260,7 +1260,7 @@
|
|||
if ((res || null) != null) {
|
||||
// 获取搜索框高度
|
||||
this.setData({
|
||||
search_height: res.height,
|
||||
search_height: res.height + uni.getWindowInfo().windowBottom,
|
||||
});
|
||||
}
|
||||
}).exec();
|
||||
|
|
|
|||
Loading…
Reference in New Issue