Commit 2fd7be29 by yanju

Merge branch 'xue' into 'master'

error页面优化

See merge request !11
parents 1fd8b1d2 3a8d29ea
...@@ -5,22 +5,28 @@ ...@@ -5,22 +5,28 @@
top: 0; top: 0;
left:0; left:0;
right:0; right:0;
bottom:0;" bottom:0;
background-image:linear-gradient(#EDF5F8,#FAFAFA);"
width-v="100%" width-v="100%"
:padding-v="[34,0,40]" :padding-v="[34,0,40]"
:flex-v="['row','center','center']" :flex-v="['row','center','center']"
slot="card" slot="card"
> >
<yun-div <yun-div
:show-ske="false"
v-if="true" v-if="true"
:flex-v="['column','flex-start','center']" :flex-v="['column','flex-start','center']"
> >
<yun-img <yun-img
:show-ske="false"
:ske-w="0"
:ske-h="0"
:width-v="350" :width-v="350"
:src="this.error404" :src="this.error404"
> >
</yun-img> </yun-img>
<yun-div <yun-div
:show-ske="false"
:font-style="[16,30,400,'black','center']" :font-style="[16,30,400,'black','center']"
:margin-v="[20,0,40,0]" :margin-v="[20,0,40,0]"
>加载失败,请重新尝试</yun-div> >加载失败,请重新尝试</yun-div>
...@@ -37,11 +43,15 @@ ...@@ -37,11 +43,15 @@
:flex-v="['column','flex-start','center']" :flex-v="['column','flex-start','center']"
> >
<yun-img <yun-img
:show-ske="false"
:ske-w="0"
:ske-h="0"
:width-v="250" :width-v="250"
:src="this.error500" :src="this.error500"
> >
</yun-img> </yun-img>
<yun-div <yun-div
:show-ske="false"
:font-style="[16,30,400,'black','center']" :font-style="[16,30,400,'black','center']"
:margin-v="[37,0,47,0]" :margin-v="[37,0,47,0]"
>服务器连接异常,请稍后重试</yun-div> >服务器连接异常,请稍后重试</yun-div>
......
...@@ -8,27 +8,27 @@ ...@@ -8,27 +8,27 @@
<container-card <container-card
title="项目推荐" 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>
<container-card <container-card
title="最新资讯" 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>
<container-card <container-card
title="社区精英" 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>
<container-card <container-card
title="精选博文" 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>
<container-card <container-card
title="推荐问答" 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> </container-card>
</yun-div> </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