顶部固定<view style="position:fixed;top:0;"> ...... </view>底部固定<view style="position:fixed;bottom:0;"> ...... </view>转 : https://blog.csdn.net/junling_xhu/article/details/82844315