index.js 1.13 KB
import  { Component } from 'react';
import { Modal } from 'antd-mobile';
import { connect } from 'dva';
import { routerRedux } from 'dva/router';

import css from './expertVideo.less';

class ExpertVideo extends Component {
  constructor(props) {
    super(props)
    this.state = {
      e_age: 0,
      e_product:0
    }
  }
  handleSubmit() {

  }
  render() {
    const { show, handleClose, handleShowChoosePop,handleNoneClient } = this.props;
    return (
      <div>
        <Modal
          popup
          animationType="slide-up"
          wrapClassName={css.modalWrap}
          visible={show}
        >
          <div className={css.line}></div>
          <div className={css.e_wrap}>
            <div className={css.title}>
              在线专家

              <span className={css.btn_close} onClick={handleClose}></span>
            </div>
            <div className={css.btn_chooseClient1} onClick={handleShowChoosePop}>选择客户</div>
            <div className={css.btn_chooseClient1} onClick={handleNoneClient}>无客户</div>

          </div>
        </Modal>
      </div>
    )
  }
}

export default connect()(ExpertVideo);