45 lines
905 B
JavaScript
45 lines
905 B
JavaScript
import {
|
|
WeaFormItem,
|
|
} from 'ecCom'
|
|
|
|
import {
|
|
Spin,
|
|
Button,
|
|
} from 'antd'
|
|
|
|
import {
|
|
i18n
|
|
} from '../../public/i18n';
|
|
|
|
import '../../style/common.less';
|
|
import Group from '../group/Group';
|
|
import { chunk } from 'lodash';
|
|
|
|
export default class IframeItem extends React.Component {
|
|
constructor(props) {
|
|
super(props);
|
|
this.state = {
|
|
}
|
|
}
|
|
|
|
render() {
|
|
const {
|
|
iframeInfo
|
|
} = this.props, {
|
|
} = this.state;
|
|
|
|
return (
|
|
<div className='iframe-item' id={iframeInfo.id}>
|
|
<div className='title'>
|
|
<div></div>
|
|
<p>{iframeInfo.title}</p>
|
|
</div>
|
|
<div className='content'>
|
|
<iframe src={iframeInfo.url} width="100%" frameBorder="0"/>
|
|
</div>
|
|
|
|
</div>
|
|
)
|
|
}
|
|
}
|