index.jsx 413B

123456789101112131415161718192021222324
  1. import { Component } from 'react'
  2. import { View, Text } from '@tarojs/components'
  3. import './index.less'
  4. export default class Index extends Component {
  5. componentWillMount () { }
  6. componentDidMount () { }
  7. componentWillUnmount () { }
  8. componentDidShow () { }
  9. componentDidHide () { }
  10. render () {
  11. return (
  12. <View className='index'>
  13. <Text>Hello world!</Text>
  14. </View>
  15. )
  16. }
  17. }