手机上测试白屏问题

This commit is contained in:
liyuetong
2021-08-05 20:24:37 +08:00
parent 22134300a7
commit a226a14970
2 changed files with 14 additions and 17 deletions

View File

@@ -14,7 +14,7 @@
<script src="<%= BASE_URL %>js/EWebBridge.js"></script>
<script src="<%= BASE_URL %>js/echarts.min.js"></script>
</head>
<body style="overflow-y: hidden">
<body>
<noscript>
<strong>We're sorry but h5-standard doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>

View File

@@ -412,20 +412,17 @@ export default {
background-size: 100% 100%;
vertical-align: middle;
}
html,body{
overflow-y: hidden !important;
}
.box{
height: 100vh;
overflow: hidden;
}
.div100{
height: 100%;
}
.section{
height: 100%;
overflow-x: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
// .box{
// height: 100vh;
// overflow: hidden;
// }
// .div100{
// height: 100%;
// }
// .section{
// height: 100%;
// overflow-x: hidden;
// overflow-y: scroll;
// -webkit-overflow-scrolling: touch;
// }
</style>