提交 2f7bec01 authored 作者: 钟是志's avatar 钟是志

25620 单位个人中心--双选会申请,详情页面版式优化

上级 525ee2cf
import React from 'react';
import Detail from '@/webPublic/FormInsertDiy/AffairPage/Detail';
export default function DiyDetailForPortalSite(props){ // 为门户定制的portal
return <Detail {...props}
detailInfoDivStyle={{
backgroundColor: '#FFFFFF',
overflow: 'auto',
height: '100%',
padding: 0,
}}
/>
}
...@@ -35,6 +35,15 @@ export default class GetDetail extends Component { ...@@ -35,6 +35,15 @@ export default class GetDetail extends Component {
render() { render() {
const {id} = this.state; const {id} = this.state;
const {
detailInfoDivStyle = {
backgroundColor: '#FFFFFF',
overflow: 'auto',
height: '100%',
width: 'calc(100vw - 300px)',
padding: 0,
}
} = this.props;
let {location} = this.props.history; let {location} = this.props.history;
location = { location = {
...location, ...location,
...@@ -46,14 +55,7 @@ export default class GetDetail extends Component { ...@@ -46,14 +55,7 @@ export default class GetDetail extends Component {
return ( return (
<div className={styles.detail_div} <div className={styles.detail_div}
id={'detailInfoDiv'} id={'detailInfoDiv'}
style={{ style={detailInfoDivStyle}
backgroundColor: '#FFFFFF',
// overflow: isFromIframe() ? 'hidden' : 'unset',
overflow: 'auto',
height: '100%',
width: 'calc(100vw - 300px)',
padding: 0,
}}
> >
<DetailSplit history={{...this.props.history, location}} <DetailSplit history={{...this.props.history, location}}
showPrint={getUrlInfo().showPrint === 'true'} showPrint={getUrlInfo().showPrint === 'true'}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论