新版 样式优化

dev_aliyun2
杨树林 5 years ago
parent 0c86861f87
commit fedefe7b95

@ -6,7 +6,7 @@ html{height:100%;}
.newFooter{ .newFooter{
max-height: 110px; max-height: 110px;
} }
.newFooter{ position: absolute; bottom: 0; width: 100%;background: #323232; clear:both; min-width: 1200px;z-index:99999;left: 0px;} .newFooter{ width: 100%;background: #323232; clear:both; min-width: 1200px;z-index:99999;left: 0px;}
.newHeader{background: #171616;width:100%; height: 50px; min-width: 1200px;position: fixed;top: 0px;left: 0px;z-index:99998} .newHeader{background: #171616;width:100%; height: 50px; min-width: 1200px;position: fixed;top: 0px;left: 0px;z-index:99998}
/* 重置样式 */ /* 重置样式 */
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td,span{ margin:0; padding:0;} body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td,span{ margin:0; padding:0;}

@ -74,7 +74,7 @@ em.vertical-line{display: inline-block;width: 2px;background: #999;height: 10px}
.newFooter{ .newFooter{
max-height: 110px; max-height: 110px;
} }
.newFooter{ position: absolute; bottom: 0; width: 100%;background: #323232; clear:both; min-width: 1200px;z-index:8;left: 0px;} .newFooter{ width: 100%;background: #323232; clear:both; min-width: 1200px;z-index:8;left: 0px;}
.footercon{border-bottom:1px solid #47494d;} .footercon{border-bottom:1px solid #47494d;}
.inner-footernav{width: 560px;margin: 0px auto} .inner-footernav{width: 560px;margin: 0px auto}
.inner-footernav li{float: left;height: 50px;width: 80px;text-align: center} .inner-footernav li{float: left;height: 50px;width: 80px;text-align: center}
@ -3502,4 +3502,4 @@ a.singlepublishtwo{
.ant-notification{ .ant-notification{
z-index: 10001 !important; z-index: 10001 !important;
} }

@ -6,7 +6,7 @@ html{height:100%;}
.newFooter{ .newFooter{
max-height: 110px; max-height: 110px;
} }
.newFooter{ position: absolute; bottom: 0; width: 100%; background: #323232; clear:both; min-width: 1200px;z-index:99999;left: 0px;} .newFooter{ width: 100%; background: #323232; clear:both; min-width: 1200px;z-index:99999;left: 0px;}
.newHeader{background: #171616;width:100%; height: 50px; min-width: 1200px;position: fixed;top: 0px;left: 0px;z-index:99998} .newHeader{background: #171616;width:100%; height: 50px; min-width: 1200px;position: fixed;top: 0px;left: 0px;z-index:99998}
/* 重置样式 */ /* 重置样式 */
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td,span{ margin:0; padding:0;} body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td,span{ margin:0; padding:0;}

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

@ -6,7 +6,7 @@ html{height:100%;}
.newFooter{ .newFooter{
max-height: 110px; max-height: 110px;
} }
.newFooter{ position: absolute; bottom: 0; width: 100%; background: #323232; clear:both; min-width: 1200px;z-index:99999;left: 0px;} .newFooter{width: 100%; background: #323232; clear:both; min-width: 1200px;z-index:99999;left: 0px;}
/* 重置样式 */ /* 重置样式 */
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td,span{ margin:0; padding:0;} body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td,span{ margin:0; padding:0;}
table,input,textarea,select,button { font-family: "微软雅黑","宋体"; font-size:14px;line-height:1.9; background:#f5f5f5; color:#333;} table,input,textarea,select,button { font-family: "微软雅黑","宋体"; font-size:14px;line-height:1.9; background:#f5f5f5; color:#333;}

@ -74,7 +74,7 @@ em.vertical-line{display: inline-block;width: 2px;background: #999;height: 10px}
.newFooter{ .newFooter{
max-height: 110px; max-height: 110px;
} }
.newFooter{ position: absolute; bottom: 0; width: 100%;background: #323232; clear:both; min-width: 1200px;z-index:8;left: 0px;} .newFooter{ width: 100%;background: #323232; clear:both; min-width: 1200px;z-index:8;left: 0px;}
/* 去掉了logo */ /* 去掉了logo */
.newFooter{ .newFooter{
max-height: 110px; max-height: 110px;

Loading…
Cancel
Save