在app.vue中定义页面公共css,在页面内使用样式即可
page{
background-color: #f5f5f5;
color: #333333;
}
.status_bar {
height: var(--status-bar-height);
width: 100%;
background-color: #ffffff;
}
.top_view {
height: var(--status-bar-height);
width: 100%;
position: fixed;
background-color: #4A98EA;
top: 0;
z-index: 999;
}