init
This commit is contained in:
3
src/pages/index/index.config.js
Normal file
3
src/pages/index/index.config.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
navigationBarTitleText: '首页'
|
||||
}
|
||||
21
src/pages/index/index.jsx
Normal file
21
src/pages/index/index.jsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Component } from 'react'
|
||||
import { View, Text } from '@tarojs/components'
|
||||
import './index.scss'
|
||||
|
||||
export default class Index extends Component {
|
||||
componentDidMount () { }
|
||||
|
||||
componentWillUnmount () { }
|
||||
|
||||
componentDidShow () { }
|
||||
|
||||
componentDidHide () { }
|
||||
|
||||
render () {
|
||||
return (
|
||||
<View className='index'>
|
||||
<Text>Hello world!</Text>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
}
|
||||
0
src/pages/index/index.scss
Normal file
0
src/pages/index/index.scss
Normal file
Reference in New Issue
Block a user