写出来的页面总是可以上划,哪怕内容并没有超出页面,即便是下面这种页面都可以上划大概一点五行字的高度
与最外层view套用的container样式有关系吗?
/**app.wxss**/.container { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 200rpx 0; box-sizing: border-box;} |
<!--.wxml--><view class='container'> <block wx:for="{{iconType}}"> <icon type='{{item}}' size="120"></icon> </block> <text class="information">功能开发中,暂未开放</text> <text>敬请期待</text> <button class="information" type="primary" open-type="contact">联系客服</button></view> |
