1标题配置:
json "navigationBarTitleText": "标题"
动态配置
wx.setNavigationBarTitle({
title:"标题"
})
2:禁用下拉刷新
json 配置 "enablePullDownRefresh":true
3:使用组件
json 配置 "usingComponents":{
}
4:刷新
上拉 onReachBottom:function(){}
下拉 onPullDownRefresh:function(){}
5:页面滚动px转rpx
let systemInfo = wx.getSystemInfoSync(),
coefficient = 750 / systemInfo.windowWidth,
pageTop = e.scrollTop * coefficient;