Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
admin-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sean King
admin-fe
Commits
6a5197ad
Commit
6a5197ad
authored
6 years ago
by
Pan
Browse files
Options
Downloads
Patches
Plain Diff
perf[css]: refine style
parent
9b7a9a64
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/views/errorPage/404.vue
+15
-18
15 additions, 18 deletions
src/views/errorPage/404.vue
src/views/layout/components/AppMain.vue
+4
-6
4 additions, 6 deletions
src/views/layout/components/AppMain.vue
with
19 additions
and
24 deletions
src/views/errorPage/404.vue
+
15
−
18
View file @
6a5197ad
<
template
>
<div
style=
"background:#f0f2f5;height:100%;"
>
<div
class=
"wscn-http404-container"
>
<div
class=
"wscn-http404"
>
<div
class=
"pic-404"
>
<img
class=
"pic-404__parent"
:src=
"img_404"
alt=
"404"
>
<img
class=
"pic-404__child left"
:src=
"img_404_cloud"
alt=
"404"
>
<img
class=
"pic-404__child mid"
:src=
"img_404_cloud"
alt=
"404"
>
<img
class=
"pic-404__child right"
:src=
"img_404_cloud"
alt=
"404"
>
</div>
<div
class=
"bullshit"
>
<div
class=
"bullshit__oops"
>
OOPS!
</div>
<div
class=
"bullshit__info"
>
版权所有
<a
class=
'link-type'
href=
'https://wallstreetcn.com'
target=
'_blank'
>
华尔街见闻
</a>
</div>
<div
class=
"bullshit__headline"
>
{{
message
}}
</div>
<div
class=
"bullshit__info"
>
请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
</div>
<a
href=
""
class=
"bullshit__return-home"
>
返回首页
</a>
<div
class=
"wscn-http404-container"
>
<div
class=
"wscn-http404"
>
<div
class=
"pic-404"
>
<img
class=
"pic-404__parent"
:src=
"img_404"
alt=
"404"
>
<img
class=
"pic-404__child left"
:src=
"img_404_cloud"
alt=
"404"
>
<img
class=
"pic-404__child mid"
:src=
"img_404_cloud"
alt=
"404"
>
<img
class=
"pic-404__child right"
:src=
"img_404_cloud"
alt=
"404"
>
</div>
<div
class=
"bullshit"
>
<div
class=
"bullshit__oops"
>
OOPS!
</div>
<div
class=
"bullshit__info"
>
版权所有
<a
class=
'link-type'
href=
'https://wallstreetcn.com'
target=
'_blank'
>
华尔街见闻
</a>
</div>
<div
class=
"bullshit__headline"
>
{{
message
}}
</div>
<div
class=
"bullshit__info"
>
请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
</div>
<a
href=
""
class=
"bullshit__return-home"
>
返回首页
</a>
</div>
</div>
</div>
</
template
>
<
script
>
import
img_404
from
'
@/assets/404_images/404.png
'
import
img_404_cloud
from
'
@/assets/404_images/404_cloud.png
'
...
...
This diff is collapsed.
Click to expand it.
src/views/layout/components/AppMain.vue
+
4
−
6
View file @
6a5197ad
...
...
@@ -24,12 +24,10 @@ export default {
<
style
scoped
>
.app-main
{
position
:
absolute
;
top
:
84px
;
/* navbar + tags-view = 50 +34 */
left
:
0
;
right
:
0
;
bottom
:
0
;
margin
:
auto
;
/*84 = navbar + tags-view = 50 +34 */
min-height
:
calc
(
100vh
-
84px
);
position
:
relative
;
overflow
:
hidden
;
}
</
style
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment