Authored by 邱骏
Committed by shuaiguo

安卓不进行安全区域适配

@@ -46,7 +46,7 @@ export default { @@ -46,7 +46,7 @@ export default {
46 }); 46 });
47 47
48 this.getZkConfig(); 48 this.getZkConfig();
49 - if (typeof window !== 'undefined') { 49 + if (typeof window !== 'undefined' && !/Android/i.test(navigator.userAgent)) {
50 if (window.screen.availHeight - window.innerHeight > 100) { 50 if (window.screen.availHeight - window.innerHeight > 100) {
51 this.windowHeight = (window.screen.availHeight - 88) + 'px'; 51 this.windowHeight = (window.screen.availHeight - 88) + 'px';
52 } else { 52 } else {
@@ -102,10 +102,4 @@ export default { @@ -102,10 +102,4 @@ export default {
102 width: 100%; 102 width: 100%;
103 background-color: white; 103 background-color: white;
104 } 104 }
105 -  
106 -/*@supports (bottom: env(safe-area-inset-bottom)) {  
107 - .footer {  
108 - height: calc(env(safe-area-inset-bottom) + 100px);  
109 - }  
110 -}*/  
111 </style> 105 </style>