'use strict';

import React from 'react';
import { observer } from 'mobx-react';
import './finish_task.less';
import { PageCtrl } from '@/core/ctrls/PageCtrl';
import { ModalCtrl } from '@/core/ctrls/ModalCtrl';
import { Button } from '@grace/ui';

@observer
class Finish_task extends React.Component {
  constructor(props) {
    super(props);
  }

  handleknow = () => {
    ModalCtrl.closeModal();
  }

  render() {
    return (
      <div className="finish_task modal_center">
        <span className="dongxiao"></span>
        <span className="bg"></span>
        <span className="line"></span>
        <span className="title">xxx任务完成</span>
        <span className="tip1">打卡任务完成啦!</span>
        <span className="tip2">继续保持哦！</span>
        <Button className="know" onClick={this.handleknow} />
        <span className="ribbon"></span>
        <span className="ditu"></span>
      </div>
    );
  }
}
export default Finish_task;
