Commit f76f8c29 authored by 前端-许佳敏's avatar 前端-许佳敏

优化头部布局

parent 3b54ad83
...@@ -14,8 +14,8 @@ const UserLayouts:React.FC = (props) => { ...@@ -14,8 +14,8 @@ const UserLayouts:React.FC = (props) => {
<UserHeader/> <UserHeader/>
<div className={styles.lingxiBusinessUserBg}> <div className={styles.lingxiBusinessUserBg}>
{ props.children } { props.children }
<BaseFooter/>
</div> </div>
<BaseFooter/>
</div> </div>
) )
} }
......
...@@ -4,7 +4,7 @@ import cx from 'classnames' ...@@ -4,7 +4,7 @@ import cx from 'classnames'
const BaseFooter: React.FC = (props) => { const BaseFooter: React.FC = (props) => {
return ( return (
<footer className={cx(styles.lingxiBusinessUserFooter, styles.fixed)}>Copy Right©广州市数商云网络科技有限公司 粤ICP备13044797号-5</footer> <footer className={cx(styles.lingxiBusinessUserFooter)}>Copy Right©广州市数商云网络科技有限公司 粤ICP备13044797号-5</footer>
) )
} }
......
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
.@{prefix}-user-bg { .@{prefix}-user-bg {
width: 100%; width: 100%;
min-height: @layout-min-content-height; min-height: @layout-min-content-height;
display: flex; // display: flex;
align-items: center; // align-items: center;
justify-content: center; // justify-content: center;
background: url('../../../mockStatic/login_bg.jpg') no-repeat center; background: url('../../../mockStatic/login_bg.jpg') no-repeat center;
background-size: cover; background-size: cover;
} }
...@@ -21,14 +21,14 @@ ...@@ -21,14 +21,14 @@
height: @header-nav-height; height: @header-nav-height;
width: 100%; width: 100%;
background: @white; background: @white;
position: fixed; // position: fixed;
top: 0; top: 0;
left: 0; left: 0;
} }
// footer // footer
.@{prefix}-user-footer { .@{prefix}-user-footer {
padding-bottom: 48px; padding-top: 32px;
font-size: 14px; font-size: 14px;
color: #97A0AF; color: #97A0AF;
text-align: center; text-align: center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment