Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linweijiong
jinfa-platform
Commits
f76f8c29
Commit
f76f8c29
authored
Jun 09, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化头部布局
parent
3b54ad83
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
UserLayouts.tsx
src/layouts/UserLayouts.tsx
+1
-1
BaseFooter.tsx
src/layouts/components/BaseFooter.tsx
+1
-1
UserLayouts.less
src/layouts/styles/UserLayouts.less
+5
-5
No files found.
src/layouts/UserLayouts.tsx
View file @
f76f8c29
...
@@ -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
>
)
)
}
}
...
...
src/layouts/components/BaseFooter.tsx
View file @
f76f8c29
...
@@ -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
>
)
)
}
}
...
...
src/layouts/styles/UserLayouts.less
View file @
f76f8c29
...
@@ -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: 48
px;
padding-
top: 32
px;
font-size: 14px;
font-size: 14px;
color: #97A0AF;
color: #97A0AF;
text-align: center;
text-align: center;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment