赞
踩
6.60
navigationStyle
属性,设置为 custom
即可关闭原生头部导航,但会保留椭圆形菜单。navigationStyle
属性
iPhone X : 导航栏高度 44 、 状态栏高度 44 、tabBar高度 83
其他机型 : 导航栏高度 44 、 状态栏高度 20 、 tabBar高度 49
app.wxss 添加page属性
page {
position: absolute;
top: 0;
bottom: 0;
height: 100%;
background-color: #f8f8f8;
font-size: 32rpx;
color: #333;
display: flex;
flex-direction: column;
}
页面使用2层流式布局
<view >
<view class='navigation'></view>
<view class=
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。