- 使用滑动bs或者scrollview时设置高度用fix:
.container{
position: fixed;
top: navHeight;//导航栏高度
left: 0
right: 0
bottom: tabBarHeight//tabbar高度
}
.container{
position: fixed;
top: navHeight;//导航栏高度
left: 0
right: 0
bottom: tabBarHeight//tabbar高度
}