|
@@ -10,6 +10,7 @@ import React, {Component} from 'react';
|
|
|
import style from './index.less';
|
|
|
import wnIcon from '@common/images/wn.png';
|
|
|
import icon from '@common/images/loading.gif';
|
|
|
+import Notify from '@commonComp/Notify';
|
|
|
import ReactDom from 'react-dom';
|
|
|
|
|
|
/*const propTypes = {
|
|
@@ -43,9 +44,7 @@ class Loading extends React.Component{
|
|
|
<div className={style['loading']} style={{display: show ? 'block' : 'none'}}>
|
|
|
{/*{this.props.shadeIsShow?<div className={style['cover']}/>:null}*/}
|
|
|
<div className={style['cover']}/>
|
|
|
- {type==='warning'?<div className={style['t-info']}>
|
|
|
- <p><img src={wnIcon} alt=""/>{text}</p>
|
|
|
- </div>:<div className={style['info']}>
|
|
|
+ {type==='warning'?Notify.info(text,0, false,false):<div className={style['info']}>
|
|
|
<img src={icon}/>
|
|
|
<p>{text}</p>
|
|
|
</div>}
|