Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
ngic-company
Project
Project
Details
Activity
Releases
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
wuhao
ngic-company
Commits
df3a59d7
Commit
df3a59d7
authored
Nov 03, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zxcdf
parent
f1cacbdb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
109 additions
and
44 deletions
+109
-44
global.less
src/global.less
+60
-8
footer.jsx
src/layouts/footer.jsx
+49
-36
No files found.
src/global.less
View file @
df3a59d7
...
...
@@ -74,32 +74,31 @@ body,
background-position: 0% 50%;
}
}
* {
margin: 0;
padding: 0;
}
#webFooter {
width: 100%;
/* height:
400px
; */
/* height:
auto
; */
background-color: black;
}
#webFooter > div:first-child {
height: calc(100% - 40px);
/* height:calc(100% - 40px) ; */
padding: 50px 50px 80px 80px;
display: flex;
/*
display: flex;
flex-direction: row;
justify-content: space-between;
justify-content: space-between;
*/
}
.footer-copyright {
color: rgba(194, 194, 194, 1);
border-top:
1
px solid rgba(194, 194, 194, 1);
border-top:
0.5
px solid rgba(194, 194, 194, 1);
font-size: 14px;
font-family: 'HarmonyOS Sans SC';
padding: 16px;
text-align: center;
padding: 16px 0;
}
.footer-content h
3
{
.footer-content h
2
{
margin-bottom: 24px;
color: rgba(255, 255, 255, 1);
font-family: '黑体';
...
...
@@ -148,6 +147,7 @@ body,
height: 100px;
margin-top: 32px;
display: flex;
/* flex-wrap: wrap; */
justify-content: space-between;
}
.contact span {
...
...
@@ -183,6 +183,58 @@ body,
width: 100px;
height: 100%;
}
@media only screen and (max-width: 575px) {
.contact > div {
width: 100%;
height: auto;
margin-top: 32px;
display: block;
/* flex-wrap: wrap; */
/* justify-content: space-between; */
}
.contact span {
position: absolute;
font-size: 12px;
color: rgba(255, 255, 255, 1);
}
.nangao {
height: 150px;
position: relative;
background-repeat: no-repeat;
background-position: 0 0;
background-size: cover;
width: 150px;
}
.lianmeng {
height: 150px;
position: relative;
background-repeat: no-repeat;
background-position: 0 0;
background-size: cover;
width: 150px;
margin-left: 0;
margin-right: 0;
margin-top: 40px;
}
.cujinhui {
position: relative;
background-repeat: no-repeat;
background-position: 0 0;
background-size: cover;
width: 150px;
height: 150px;
margin-top: 40px;
}
.footer-copyright {
height: auto;
/* padding-left: 32px; */
color: rgba(194, 194, 194, 1);
/* border-top: 0.5px solid rgba(194, 194, 194, 1); */
/* line-height: 40px; */
font-size: 14px;
font-family: 'HarmonyOS Sans SC';
}
}
@media (min-width: 1024px) {
html {
...
...
src/layouts/footer.jsx
View file @
df3a59d7
import
React
,
{
useState
}
from
'react'
;
import
{
Col
,
Row
}
from
'antd'
;
const
ContentList
=
(
props
)
=>
{
const
{
title
,
listData
}
=
props
;
return
(
<
div
className=
"footer-content"
>
<
h
3
>
{
title
}
</
h3
>
<
h
2
>
{
title
}
</
h2
>
<
div
>
{
listData
.
map
((
item
,
index
)
=>
(
<
li
>
...
...
@@ -84,43 +85,55 @@ export default () => {
return
(
<
div
id=
"webFooter"
>
<
div
>
<
ContentList
title=
"关于南高"
listData=
{
list1
}
/>
<
ContentList
title=
"智能工厂解决方案"
listData=
{
list2
}
/>
<
ContentList
title=
"下载中心"
listData=
{
list3
}
/>
<
div
className=
"footer-content"
>
<
button
>
联系我们
</
button
>
<
div
className=
"contact"
>
<
li
>
电话
025-86111901
</
li
>
<
li
>
邮箱
center@jsnangao.com
</
li
>
<
li
>
地址
南京市江宁开发区东南大学路33号
</
li
>
<
div
>
<
div
className=
"nangao"
style=
{
{
backgroundImage
:
`url(${require('@/assets/code1.jpg')})`
,
}
}
>
<
span
>
南高公众号
</
span
>
</
div
>
<
div
className=
"lianmeng"
style=
{
{
backgroundImage
:
`url(${require('@/assets/code2.jpg')})`
,
}
}
>
<
span
>
联盟公众号
</
span
>
</
div
>
<
div
className=
"cujinhui"
style=
{
{
backgroundImage
:
`url(${require('@/assets/code3.jpg')})`
,
}
}
>
<
span
>
促进会公众号
</
span
>
<
Row
style=
{
{
display
:
'flex'
,
justifyContent
:
'space-around'
}
}
>
<
Col
xs=
{
24
}
sm=
{
8
}
xl=
{
8
}
xxl=
{
6
}
>
<
ContentList
title=
"关于南高"
listData=
{
list1
}
/>
</
Col
>
<
Col
xs=
{
24
}
sm=
{
8
}
xl=
{
8
}
xxl=
{
6
}
>
<
ContentList
title=
"智能工厂解决方案"
listData=
{
list2
}
/>
</
Col
>
<
Col
xs=
{
24
}
sm=
{
8
}
xl=
{
8
}
xxl=
{
6
}
>
<
ContentList
title=
"下载中心"
listData=
{
list3
}
/>
</
Col
>
<
Col
xs=
{
24
}
sm=
{
24
}
xl=
{
24
}
xxl=
{
6
}
>
<
div
className=
"footer-content"
>
<
button
>
联系我们
</
button
>
<
div
className=
"contact"
>
<
li
>
电话
025-86111901
</
li
>
<
li
>
邮箱
center@jsnangao.com
</
li
>
<
li
>
地址
南京市江宁开发区东南大学路33号
</
li
>
<
div
>
<
div
className=
"nangao"
style=
{
{
backgroundImage
:
`url(${require('@/assets/code1.jpg')})`
,
}
}
>
<
span
>
南高公众号
</
span
>
</
div
>
<
div
className=
"lianmeng"
style=
{
{
backgroundImage
:
`url(${require('@/assets/code2.jpg')})`
,
}
}
>
<
span
>
联盟公众号
</
span
>
</
div
>
<
div
className=
"cujinhui"
style=
{
{
backgroundImage
:
`url(${require('@/assets/code3.jpg')})`
,
}
}
>
<
span
>
促进会公众号
</
span
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
Col
>
</
Row
>
</
div
>
<
div
className=
"footer-copyright"
>
Copyright © 2017
...
...
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