First on the normal figure, developer tools
Then my mobile phone
Below is the ios device abnormal
Search box occupies the entire screen
Code:
& lt; HTML & gt;
The suggestion box/communication platform & lt;/title>
<meta charset="utf-8" & gt;
<meta name="description" content="" & gt;
<meta name="keywords" content="" & gt;
<meta name="format - detection" content="telephone=no" & gt;
<meta name="mobile web - app - capable" content="yes" & gt;
<meta name="apple - touch - fullscreen" content="YES" & gt;
<meta name="apple - the mobile web - app - capable" content="yes" & gt;
<meta name="apple - the mobile web - app - the status bar - style" content="black" & gt;
<meta name="viewport" content="width=device - width, initial - scale=1, minimum - scale=1, maximum - scale=1, the user - scalable=no" & gt;
<script SRC="https://bbs.csdn.net/h5/Scripts/zepto.min.js" & gt; </script>
<script SRC="https://bbs.csdn.net/h5/Scripts/zepto.weui.min.js" & gt; </script>
<script SRC="https://bbs.csdn.net/h5/Scripts/php.js" & gt; </script><script>
Wx. Ready (function () {
//hide the useless menu
Wx. HideMenuItems ({
MenuList: [menuItem: share: "timeline", "menuItem: share: appMessage", "menuItem: share: qq", "menuItem: share: weiboApp", "menuItem: share: facebook"
, "menuItem: share, QZone," "menuItem: editTag", "menuItem: delete"
, "menuItem: copyUrl", "menuItem: originPage", "menuItem: readMode
", "menuItem: openWithQQBrowser", "menuItem: openWithSafari", "menuItem: share: email"
, "menuItem: share: brand"]
});
});
</script>
<script SRC="https://bbs.csdn.net/h5/Scripts/common.js" & gt; </script>
<style>
/* * {
touch-action: none;
} */
# list_note_icon {
position: fixed;
Bottom: 6%;
Right: 6%;
Z - index: 888;
Background: # 10 aeff;
Width: 60 px;
Height: 60 px;
Border - the radius: 40 px;
Box - shadow: 2 p 2 p 2 p # 888888;
Opacity: 0.7;
Padding - top: 14 px;
Padding - left: 14 px;
}
# mobile {
Margin - left: 22%;
}
The weui - cell {
Height: 15 px;
}
The page - hd - the title {
Color: # 212121;
}
The weui - picker - container - visible {
Bottom: 0%;
}
The body and HTML {
height: 100%;
}
Body {
Overflow - x: hidden;
Overflow - y: auto;
}
</style>
<body ontouchstart="" & gt;