Browse Source

优化H5端搜索框遮挡问题

zyh
Gao xiaosong 3 years ago
parent
commit
7c7736dd6a
  1. 8559
      assets/css/style.css
  2. 2
      assets/css/style.less
  3. 5
      pages/Loading/index.vue
  4. 7
      pages/home/index.vue

8559
assets/css/style.css

File diff suppressed because one or more lines are too long

2
assets/css/style.less

@ -7617,7 +7617,7 @@ page {
overflow-scrolling: touch;
/* #ifdef H5 */
// top: calc(0 + env(safe-area-inset-top) + 88rpx);
padding-top: 88rpx;
/* #endif */
}

5
pages/Loading/index.vue

@ -63,6 +63,11 @@ export default {
let redirect = cookie.get('redirect').replace(/\ /g, '')
cookie.remove('redirect')
if (redirect && redirect.indexOf('/pages') != -1) {
uni.showToast({
title: '/pages' + redirect.split('/pages')[1],
icon: 'none',
duration: 2000,
})
this.$yrouter.replace({
path: '/pages' + redirect.split('/pages')[1],
})

7
pages/home/index.vue

@ -453,7 +453,7 @@ export default {
}
.home_content_box {
margin-top: -20rpx;
// margin-top: -20rpx;
}
.head_box {
@ -463,4 +463,9 @@ export default {
margin-left: 20rpx;
line-height: 40px;
}
.index{
.uni-noticebar{
margin-bottom:0;
}
}
</style>

Loading…
Cancel
Save