import { Component } from 'react'
import Taro from '@tarojs/taro'
import { Image, View } from '@tarojs/components'

import "taro-ui/dist/style/components/button.scss" // 按需引入
import './index.less'

import logoImg from '../../assets/logo.png'

interface IndexState {
  list: {
    id: string
    title: string
    content: string
    subpages?: any
  }[]
}

export default class Index extends Component<{}, IndexState> {
  constructor(props: any) {
    super(props)
  }

  render () {
    return (
      <View className='page page-index'>
        <View className='logo'>
          <Image src={logoImg} className='img' mode='widthFix' />
        </View>
        <View className='page-content'>
        </View>
      </View>
    )
  }
}
