fix:解决ios设备兼容问题

This commit is contained in:
jiangrui
2025-03-06 16:40:43 +08:00
parent 3c656eb880
commit a01dd06ef2
2 changed files with 11 additions and 2 deletions

View File

@@ -7,6 +7,10 @@
<style>
#app {
height: 100vh;
width: 100%;
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
:root {
--theme-color: #3e3e3e;
@@ -34,6 +38,13 @@ body {
word-wrap: break-word;
}
body {
position: fixed;
width: 100%;
height: 100%;
overflow: hidden;
}
/* 移动端全局样式 */
@media screen and (max-width: 768px) {
#app {

View File

@@ -164,8 +164,6 @@ const handleLogout = () => {
padding-bottom: 100px; // tabbar高度 + 底部安全区域
box-sizing: border-box;
flex: 1;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
// 加载状态