从主界面(app.json配置的入口界面,含有系统tarBar)wx.navigateTo另外一个界面,这个界面的UI代码如下
< recycle-view batch = "{{batchSetRecycleData}}" id = "recycleId" enable-back-to-top = "true" scroll-with-animation = "true" > < recycle-item wx:for = "{{datas}}" wx:key = "id" style = "padding:0rpx" > < image class = "item-image" src = "{{item.avatarUrl}}" ></ image > < text class = "item-desc-title" >TextTextText</ text > </ recycle-item > </ recycle-view > |
recycle-view未全屏展示,底部含有一个tarBar的保留空间?
设置useInPage和root之后就会满屏了。
但是会带来另外个问题,recycle-view的bindscrolltolower不会被触发。那就在Page的onReachBottom钩子里改
是不是没设置好高度?