Commit 315daa72 authored by Xuguangxing's avatar Xuguangxing

feat: 处理viewport兼容全面屏iphone的问题

parent b840efe3
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<meta name="keywords" :content="keywords"> <meta name="keywords" :content="keywords">
<meta name="description" :content="description"> <meta name="description" :content="description">
<meta http-equiv="content-type" content="text/html;charset=utf-8"> <meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no,minimal-ui,viewport-fit=cover">
<link rel="shortcut icon" href="data:image/png;base64" type="image/x-icon" /> <link rel="shortcut icon" href="data:image/png;base64" type="image/x-icon" />
<link rel="dns-prefetch" :href="talosHost" /> <link rel="dns-prefetch" :href="talosHost" />
<link rel="preconnect" href="https://appsync.lkbang.net"> <link rel="preconnect" href="https://appsync.lkbang.net">
......
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
.bottomNav{ .bottomNav{
box-sizing: content-box; box-sizing: content-box;
width: 100%; width: 100%;
height: 55px;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
left: 0; left: 0;
...@@ -62,7 +61,7 @@ ...@@ -62,7 +61,7 @@
justify-content: space-around; justify-content: space-around;
.navItem{ .navItem{
width: 62px; width: 62px;
height: 100%; height: 55px;
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment