import React, { Component } from 'react'; import home_banner from './img/home_banner.png'; import home_map from './img/home_map.png'; import img_1 from './img/1.png'; import img_2 from './img/2.png'; import img_3 from './img/3.png'; import img_4 from './img/4.png'; import img_5 from './img/5.png'; import img_6 from './img/6.png'; import './index.less'; import { Button, Flex, List, Checkbox } from 'antd-mobile'; import Addr from '@/components/Addr'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { saveAddr } from '@/store/home/action'; const CheckboxItem = Checkbox.CheckboxItem; // import TabBarExample from '@/components/TabBarExample' class Home extends Component { static propTypes = { homeData: PropTypes.object.isRequired, saveAddr: PropTypes.func.isRequired, } constructor(props) { super(props); this.state = { alertStatus: true, alertTip:
aaaa
, }; } componentDidMount() { // this.autoFocusInst.focus(); } handleClick = () => { this.inputRef.focu