Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-frontM
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
云深项目组
beyond-clouds-frontM
Commits
2fd7be29
Commit
2fd7be29
authored
Mar 13, 2020
by
yanju
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xue' into 'master'
error页面优化 See merge request
!11
parents
1fd8b1d2
3a8d29ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
layouts/error.vue
+11
-1
pages/index.vue
+5
-5
No files found.
layouts/error.vue
View file @
2fd7be29
...
...
@@ -5,22 +5,28 @@
top: 0;
left:0;
right:0;
bottom:0;"
bottom:0;
background-image:linear-gradient(#EDF5F8,#FAFAFA);"
width-v=
"100%"
:padding-v=
"[34,0,40]"
:flex-v=
"['row','center','center']"
slot=
"card"
>
<yun-div
:show-ske=
"false"
v-if=
"true"
:flex-v=
"['column','flex-start','center']"
>
<yun-img
:show-ske=
"false"
:ske-w=
"0"
:ske-h=
"0"
:width-v=
"350"
:src=
"this.error404"
>
</yun-img>
<yun-div
:show-ske=
"false"
:font-style=
"[16,30,400,'black','center']"
:margin-v=
"[20,0,40,0]"
>
加载失败,请重新尝试
</yun-div>
...
...
@@ -37,11 +43,15 @@
:flex-v=
"['column','flex-start','center']"
>
<yun-img
:show-ske=
"false"
:ske-w=
"0"
:ske-h=
"0"
:width-v=
"250"
:src=
"this.error500"
>
</yun-img>
<yun-div
:show-ske=
"false"
:font-style=
"[16,30,400,'black','center']"
:margin-v=
"[37,0,47,0]"
>
服务器连接异常,请稍后重试
</yun-div>
...
...
pages/index.vue
View file @
2fd7be29
...
...
@@ -8,27 +8,27 @@
<container-card
title=
"项目推荐"
>
<project-card
v-for=
"val in
1
"
key=
"val.projectId"
></project-card>
<project-card
v-for=
"val in
5
"
key=
"val.projectId"
></project-card>
</container-card>
<container-card
title=
"最新资讯"
>
<project-card
v-for=
"val in
1
"
key=
"val.projectId"
></project-card>
<project-card
v-for=
"val in
5
"
key=
"val.projectId"
></project-card>
</container-card>
<container-card
title=
"社区精英"
>
<user-card-x
v-for=
"val in
1
"
key=
"val.userId"
></user-card-x>
<user-card-x
v-for=
"val in
5
"
key=
"val.userId"
></user-card-x>
</container-card>
<container-card
title=
"精选博文"
>
<project-card
v-for=
"val in
1
"
key=
"val.projectId"
></project-card>
<project-card
v-for=
"val in
5
"
key=
"val.projectId"
></project-card>
</container-card>
<container-card
title=
"推荐问答"
>
<answer-card
v-for=
"val in
1
"
key=
"val.answerId"
></answer-card>
<answer-card
v-for=
"val in
5
"
key=
"val.answerId"
></answer-card>
</container-card>
</yun-div>
...
...
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