export default class Index extends Component { config = { navigationBarBackgroundColor: '#000000', navigationBarTextStyle: 'white/black', navigationBarTitleText: '页面标题', navigationStyle: 'default/custom', backgroundColor: '#ffffff', backgroundTextStyle: 'dark/light', backgroundColorTop: '#ffffff', backgroundColorBottom: '#ffffff', enablePullDownRefresh: false, onReachBottomDistance: 50, pageOrientation: 'auto/portrait/landscape', disableScroll: false, disableSwiperBack: false, usingComponents: { } }
componentWillMount(){ }
componentDidMount(){ }
componentWillUpdate(nextProps, nextState){ }
componentDidUpdate(prevProps, prevState){ }
componentWillUnmount(){ }
componentDidShow(){ }
componentDidHide(){ }
onPullDownRefresh(){ Taro.startPullDownRefresh() Taro.stopPullDownRefresh() }
onReachBottom(){ }
onPageScroll(Object){ }
onShareAppMessage(Object){ const {from, target, webViewUrl} = Object return{ title: '', path: '', imageUrl: '', } }
onResize(object){ }
onTabItemTab(object){ const {index, pagePath, text} = object }
componentWillPreload(){ } }
|