'use strict';

import React from 'react';
import { observer } from 'mobx-react';
import './index.less';
import { _asyncThrottle, _throttle } from '../../utils/utils.ts';
import { ModalCtrl } from '@/core/ctrls/ModalCtrl';
import store from "@/store/store.js";
import { PageCtrl } from "@/core/ctrls/PageCtrl";
import HomePage from '@/pages/HomePage/HomePage.tsx';

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

    //关闭
    onClose = () => {
        ModalCtrl.closeModal();
    }

    //我知道了
    onKnow = ()=>{
        ModalCtrl.closeModal();
    }

    render() {
        return (
            <div className="NotWinPopup">
                <div className="nwp_mask"></div>
                <div className='nwp_bg'>
                    <div className='nwp_btn md19' onClick={()=>this.onKnow()}></div>
                </div>
                <div className='nwp_close' onClick={()=>this.onClose()}></div>
            </div>
        );
    }
};

export default NotWinPopup;