提交 bb95e6c2 authored 作者: wanyielin's avatar wanyielin

上传修改的快照

上级 f75ef826
...@@ -46,8 +46,9 @@ export default class Detail extends Component { ...@@ -46,8 +46,9 @@ export default class Detail extends Component {
const iframeUrl = `${url[0]}/#/IFrameSnapshot?token=${getToken()}`; const iframeUrl = `${url[0]}/#/IFrameSnapshot?token=${getToken()}`;
// iframeUrl = `http://localhost:8000/onestop/IframeForDetail?id=${id}&token=${getToken()}`; // iframeUrl = `http://localhost:8000/onestop/IframeForDetail?id=${id}&token=${getToken()}`;
return ( return (
<PageHeaderWrapper title=""> <div style={{ position: 'relative' }}>
<Shell> <PageHeaderWrapper title="">
{/* <Shell>
<div <div
style={{ style={{
height: '54px', height: '54px',
...@@ -64,27 +65,43 @@ export default class Detail extends Component { ...@@ -64,27 +65,43 @@ export default class Detail extends Component {
/> />
) : null} ) : null}
</div> </div>
</Shell> </Shell> */}
<Shell> {showAll ? (
<iframe <div
src={iframeUrl} style={{
frameBorder={0} position: 'absolute',
id="detailIframeId" width: 335,
name="applyIframe" height: 38,
marginWidth="0" background: '#fff',
marginHeight="0" top: 77,
onLoad={this.showAll} left: 0,
allowTransparency="yes" zIndex: 10,
seamless }}
scrolling={'no'} />
style={{ ) : (
width: '100%', ''
overflowY: 'hidden', )}
minHeight: '800px', <Shell>
}} <iframe
/> src={iframeUrl}
</Shell> frameBorder={0}
</PageHeaderWrapper> id="detailIframeId"
name="applyIframe"
marginWidth="0"
marginHeight="0"
onLoad={this.showAll}
allowTransparency="yes"
seamless
scrolling={'no'}
style={{
width: '100%',
overflowY: 'hidden',
minHeight: '800px',
}}
/>
</Shell>
</PageHeaderWrapper>
</div>
); );
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论