Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
6ec1ca55
提交
6ec1ca55
authored
5月 13, 2023
作者:
翁进城
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
footer开发
上级
492af293
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
106 行增加
和
3 行删除
+106
-3
logo.png
src/components/footer/assets/logo.png
+0
-0
index.module.scss
src/components/footer/index.module.scss
+55
-0
index.tsx
src/components/footer/index.tsx
+45
-0
index.tsx
src/components/layout/index.tsx
+6
-3
没有找到文件。
src/components/footer/assets/logo.png
0 → 100644
浏览文件 @
6ec1ca55
2.6 KB
src/components/footer/index.module.scss
0 → 100644
浏览文件 @
6ec1ca55
.footer
{
height
:
350px
;
background
:
#2a2a32
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.logo
{
width
:
152px
;
height
:
43px
;
background
:
url('./assets/logo.png')
no-repeat
;
background-size
:
100%
100%
;
margin-right
:
104px
;
}
.qrcodeList
{
display
:
flex
;
margin-right
:
101px
;
.qrcodeItem
{
margin-right
:
87px
;
&
:nth-last-child
(
1
)
{
margin-right
:
0
;
}
.qrcodeImg
{
width
:
100px
;
height
:
100px
;
}
.qrcodeTitle
{
margin-top
:
14px
;
font-size
:
14px
;
font-family
:
MicrosoftYaHeiUI-Bold
,
MicrosoftYaHeiUI
;
font-weight
:
bold
;
color
:
#d6d6d6
;
}
}
}
.rightText
{
.number
{
font-size
:
58px
;
font-family
:
Arial-Black
,
Arial
;
font-weight
:
900
;
color
:
#39aafc
;
line-height
:
82px
;
}
.text
{
font-size
:
16px
;
font-family
:
MicrosoftYaHei
;
color
:
#949498
;
line-height
:
21px
;
}
}
src/components/footer/index.tsx
0 → 100644
浏览文件 @
6ec1ca55
import
styles
from
'./index.module.scss'
;
const
qrcodeList
=
[
{
img
:
''
,
title
:
'科比特官网'
,
},
{
img
:
''
,
title
:
'云享飞服务号'
,
},
{
img
:
''
,
title
:
'云享飞小程序'
,
},
{
img
:
''
,
title
:
'官方社群'
,
},
];
export
default
function
Footer
()
{
return
(
<
div
className=
{
styles
.
footer
}
>
<
div
className=
{
styles
.
logo
}
></
div
>
<
div
className=
{
styles
.
qrcodeList
}
>
{
qrcodeList
.
map
(
item
=>
{
return
(
<
div
className=
{
styles
.
qrcodeItem
}
>
<
img
className=
{
styles
.
qrcodeImg
}
src=
{
item
.
img
}
></
img
>
<
div
className=
{
styles
.
qrcodeTitle
}
>
{
item
.
title
}
</
div
>
</
div
>
);
})
}
</
div
>
<
div
className=
{
styles
.
rightText
}
>
<
div
className=
{
styles
.
number
}
>
100W
</
div
>
<
div
className=
{
styles
.
text
}
>
加盟商席位等你来入驻
</
div
>
</
div
>
</
div
>
);
}
src/components/layout/index.tsx
浏览文件 @
6ec1ca55
...
@@ -2,6 +2,7 @@ import React, { Suspense } from 'react';
...
@@ -2,6 +2,7 @@ import React, { Suspense } from 'react';
import
{
Layout
,
Space
}
from
'antd'
;
import
{
Layout
,
Space
}
from
'antd'
;
import
{
Outlet
}
from
'react-router-dom'
;
import
{
Outlet
}
from
'react-router-dom'
;
import
NavHeader
from
'~/components/NavHeader'
;
import
NavHeader
from
'~/components/NavHeader'
;
import
FooterView
from
'~/components/footer'
;
const
{
Header
,
Footer
,
Content
}
=
Layout
;
const
{
Header
,
Footer
,
Content
}
=
Layout
;
...
@@ -23,7 +24,7 @@ const contentStyle: React.CSSProperties = {
...
@@ -23,7 +24,7 @@ const contentStyle: React.CSSProperties = {
const
footerStyle
:
React
.
CSSProperties
=
{
const
footerStyle
:
React
.
CSSProperties
=
{
textAlign
:
'center'
,
textAlign
:
'center'
,
color
:
''
,
color
:
''
,
backgroundColor
:
'
#7dbcea
'
,
backgroundColor
:
''
,
lineHeight
:
'1'
,
lineHeight
:
'1'
,
};
};
...
@@ -34,7 +35,7 @@ type Props = {
...
@@ -34,7 +35,7 @@ type Props = {
export
default
function
LayoutView
(
props
:
Props
)
{
export
default
function
LayoutView
(
props
:
Props
)
{
return
(
return
(
<
Space
direction=
'vertical'
style=
{
{
width
:
'100%'
}
}
size=
{
[
0
,
48
]
}
>
<
Space
direction=
'vertical'
style=
{
{
width
:
'100%'
}
}
size=
{
[
0
,
48
]
}
>
<
Layout
style=
{
{
h
eight
:
'100vh'
}
}
>
<
Layout
style=
{
{
minH
eight
:
'100vh'
}
}
>
<
Header
style=
{
headerStyle
}
>
<
Header
style=
{
headerStyle
}
>
<
NavHeader
/>
<
NavHeader
/>
</
Header
>
</
Header
>
...
@@ -44,7 +45,9 @@ export default function LayoutView(props: Props) {
...
@@ -44,7 +45,9 @@ export default function LayoutView(props: Props) {
<
Outlet
></
Outlet
>
<
Outlet
></
Outlet
>
</
Suspense
>
</
Suspense
>
</
Content
>
</
Content
>
<
Footer
style=
{
footerStyle
}
>
Footer
</
Footer
>
<
Footer
style=
{
footerStyle
}
>
<
FooterView
></
FooterView
>
</
Footer
>
</
Layout
>
</
Layout
>
</
Space
>
</
Space
>
);
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论