
import CustomNav from '@/components/CustomNav'
// import { Button } from '@tarojs/components'
import Taro from '@tarojs/taro'

import { Button, Text, Textarea } from '@tarojs/components'
import './style.less'

export default (props) => {
  const back = () => {
    Taro.navigateBack()
  }

  return (
    <view className='box-content'>
      <CustomNav title='联系我们' />
      <view class='section'>
        <Textarea placeholder='请输入您的建议或意见!' confirm-type='done' />
      </view>
      <view className='button-info'>
        <Button className='button-box'>提交</Button>
        <Button className='button-box-Cancel' onClick={back} >取消</Button>
      </view>
    </view>
  )
}
