Fixed style error.

pull/9/head
ruibaby 2019-05-01 01:37:46 +08:00
parent b65f545b92
commit fcd652e7c1
5 changed files with 8 additions and 34 deletions

View File

@ -97,7 +97,7 @@
</div> </div>
<a-card-meta> <a-card-meta>
<ellipsis <ellipsis
:length="isMobile()?36:18" :length="isMobile()?36:16"
tooltip tooltip
slot="description" slot="description"
>{{ item.name }}</ellipsis> >{{ item.name }}</ellipsis>

View File

@ -14,25 +14,7 @@
title="最新文章" title="最新文章"
:bodyStyle="{ padding: '0px' }" :bodyStyle="{ padding: '0px' }"
> >
<a-table 最新文章
:rowKey="post => post.id"
:columns="postColumns"
:dataSource="formattedPostData"
:pagination="false"
>
<span
slot="status"
slot-scope="status"
>
<a-badge :status="status.status" />
{{ status.text }}
</span>
<span
slot="editTime"
slot-scope="editTime"
>{{ editTime | timeAgo }}</span>
</a-table>
</a-card> </a-card>
</a-col> </a-col>
<a-col <a-col
@ -48,12 +30,7 @@
title="最新评论" title="最新评论"
:bodyStyle="{ padding: '0px' }" :bodyStyle="{ padding: '0px' }"
> >
<a-table 最新评论
:rowKey="comment => comment.id"
:columns="commentColumns"
:dataSource="commentData"
:pagination="false"
></a-table>
</a-card> </a-card>
</a-col> </a-col>
<a-col <a-col
@ -69,12 +46,7 @@
title="最新日志" title="最新日志"
:bodyStyle="{ padding: '0px' }" :bodyStyle="{ padding: '0px' }"
> >
<a-table 最新日志
:rowKey="comment => comment.id"
:columns="commentColumns"
:dataSource="commentData"
:pagination="false"
></a-table>
</a-card> </a-card>
</a-col> </a-col>
</a-row> </a-row>

View File

@ -400,8 +400,8 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.upload-button { .upload-button {
position: fixed; position: fixed;
bottom: 80px; bottom: 30px;
right: 20px; right: 30px;
} }
.theme-thumb { .theme-thumb {
width: 100%; width: 100%;

View File

@ -17,6 +17,7 @@
:boxShadow="false" :boxShadow="false"
:toolbars="toolbars" :toolbars="toolbars"
:ishljs="true" :ishljs="true"
:autofocus="false"
/> />
</div> </div>
</a-col> </a-col>

View File

@ -16,6 +16,7 @@
:boxShadow="false" :boxShadow="false"
:toolbars="toolbars" :toolbars="toolbars"
:ishljs="true" :ishljs="true"
:autofocus="false"
/> />
</div> </div>
</a-col> </a-col>