Authored by 邱骏

iphoneX适配

... ... @@ -22,7 +22,6 @@ export default {
},
windowHeight() {
if (typeof window !== 'undefined') {
console.log(window);
return window.innerHeight + 'px';
} else {
return '100%';
... ...
... ... @@ -102,4 +102,10 @@ export default {
width: 100%;
background-color: white;
}
@supports (bottom: env(safe-area-inset-bottom)) {
.footer {
height: calc(env(safe-area-inset-bottom) + 100px);
}
}
</style>
... ...