// 定义网站 HTML 元素的样式 html, body { width: 100vw; height: 100vh; } ion-content{ height: 100%; } .ion-page{ position: relative !important; height: 100%; }