Loading.js
720 Bytes
import React, { PropTypes } from 'react';
import cx from 'classnames';
import s from './prompt.les';
export default class Loading extends React.Component {
constructor(props) {
super(props);
this.state = {
}
}
componentDidMount() {
}
render() {
return (
<div>
<div className={cx(s.loading)}>
<img className={cx(s.Rotation)} src="img/2.png" width="60" height="54" />
<img className={cx(s.Rotation1)} src="img/1.png" width="28" height="13" />
<div style={{ marginTop: '20px', fontSize: '16px' }}>加载中...</div>
</div>
</div>
)
}
}