优化H5端搜索框遮挡问题
This commit is contained in:
8559
assets/css/style.css
8559
assets/css/style.css
File diff suppressed because one or more lines are too long
@ -7617,7 +7617,7 @@ page {
|
|||||||
overflow-scrolling: touch;
|
overflow-scrolling: touch;
|
||||||
|
|
||||||
/* #ifdef H5 */
|
/* #ifdef H5 */
|
||||||
// top: calc(0 + env(safe-area-inset-top) + 88rpx);
|
padding-top: 88rpx;
|
||||||
/* #endif */
|
/* #endif */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,6 +63,11 @@ export default {
|
|||||||
let redirect = cookie.get('redirect').replace(/\ /g, '')
|
let redirect = cookie.get('redirect').replace(/\ /g, '')
|
||||||
cookie.remove('redirect')
|
cookie.remove('redirect')
|
||||||
if (redirect && redirect.indexOf('/pages') != -1) {
|
if (redirect && redirect.indexOf('/pages') != -1) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '/pages' + redirect.split('/pages')[1],
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000,
|
||||||
|
})
|
||||||
this.$yrouter.replace({
|
this.$yrouter.replace({
|
||||||
path: '/pages' + redirect.split('/pages')[1],
|
path: '/pages' + redirect.split('/pages')[1],
|
||||||
})
|
})
|
||||||
|
@ -453,7 +453,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.home_content_box {
|
.home_content_box {
|
||||||
margin-top: -20rpx;
|
// margin-top: -20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.head_box {
|
.head_box {
|
||||||
@ -463,4 +463,9 @@ export default {
|
|||||||
margin-left: 20rpx;
|
margin-left: 20rpx;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
}
|
}
|
||||||
|
.index{
|
||||||
|
.uni-noticebar{
|
||||||
|
margin-bottom:0;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Reference in New Issue
Block a user