Commit 2fd7be29 by yanju

Merge branch 'xue' into 'master'

error页面优化

See merge request !11
parents 1fd8b1d2 3a8d29ea
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment