Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
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
Administrator
bkunyun
Commits
cba70674
Commit
cba70674
authored
Sep 01, 2022
by
jiangzijing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:home页面更新
parent
21e72c99
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
1 deletion
+44
-1
building.png
src/assets/img/building.png
+0
-0
index.module.css
src/views/Home/index.module.css
+35
-0
index.tsx
src/views/Home/index.tsx
+9
-1
No files found.
src/assets/img/building.png
0 → 100644
View file @
cba70674
40.6 KB
src/views/Home/index.module.css
0 → 100644
View file @
cba70674
.parentBox
{
height
:
calc
(
100vh
-
57px
);
position
:
relative
;
}
.centerBox
{
position
:
absolute
;
top
:
40%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
}
.centerImg
{
width
:
186px
;
height
:
114px
;
}
.centerText
{
font-size
:
14px
;
color
:
#565C66
;
line-height
:
22px
;
margin-top
:
20px
;
text-align
:
center
;
}
.bottomText
{
font-size
:
14px
;
color
:
#8A9099
;
line-height
:
22px
;
position
:
absolute
;
left
:
50%
;
transform
:
translateX
(
-50%
);
bottom
:
20px
;
}
\ No newline at end of file
src/views/Home/index.tsx
View file @
cba70674
import
React
from
"react"
;
import
style
from
"./index.module.css"
;
import
building
from
"@/assets/img/building.png"
;
const
Home
=
()
=>
{
return
<
div
>
Home
</
div
>;
return
<
div
className=
{
style
.
parentBox
}
>
<
div
className=
{
style
.
centerBox
}
>
<
img
src=
{
building
}
className=
{
style
.
centerImg
}
/>
<
div
className=
{
style
.
centerText
}
>
平台正在努力建设中…
</
div
>
</
div
>
<
div
className=
{
style
.
bottomText
}
>
平台当前为beta版本,非最终品质
</
div
>
</
div
>
};
export
default
Home
;
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