|
|
|
@ -4,12 +4,12 @@ import NewFooter from './NewFooter'
|
|
|
|
|
import SiderBar from './SiderBar'
|
|
|
|
|
import { getUrl, downloadFile } from 'educoder'
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
import { Spin } from 'antd';
|
|
|
|
|
import { Spin,Layout } from 'antd';
|
|
|
|
|
import './TPMIndex.css';
|
|
|
|
|
import LoginDialog from '../login/LoginDialog';
|
|
|
|
|
import AccountProfile from '../user/AccountProfile';
|
|
|
|
|
import AccountPhoneemail from '../user/AccountPhoneemail';
|
|
|
|
|
|
|
|
|
|
const { Header, Footer, Sider, Content } = Layout;
|
|
|
|
|
const $ = window.$;
|
|
|
|
|
let _url_origin='';
|
|
|
|
|
if(window.location.port === "3007"){
|
|
|
|
@ -789,12 +789,22 @@ export default function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
}
|
|
|
|
|
.globalSpin .ant-spin-dot-item {
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
}
|
|
|
|
|
.ant-layout-footer {
|
|
|
|
|
padding: 0px !important;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
.ant-layout-header{
|
|
|
|
|
padding: 0px !important;
|
|
|
|
|
height: 60px !important;
|
|
|
|
|
line-height: 2 !important;
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
}</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<NewHeader {...this.state} {...this.props}></NewHeader>
|
|
|
|
|
<Layout>
|
|
|
|
|
<Header><NewHeader {...this.state} {...this.props}></NewHeader></Header>
|
|
|
|
|
<Content>
|
|
|
|
|
<Spin spinning={this.state.globalLoading} delay={0} className="globalSpin"
|
|
|
|
|
size="large"
|
|
|
|
|
tip= {this._gLoadingTip || "加载中..."}
|
|
|
|
@ -810,12 +820,20 @@ export default function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</Spin>
|
|
|
|
|
</Content>
|
|
|
|
|
|
|
|
|
|
<Footer>
|
|
|
|
|
<NewFooter
|
|
|
|
|
{...this.state} {...this.props}
|
|
|
|
|
Footerdown={Footerdown}
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</Footer>
|
|
|
|
|
</Layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|