mirror of https://github.com/halo-dev/halo-admin
Fixed style error.
parent
b65f545b92
commit
fcd652e7c1
|
@ -97,7 +97,7 @@
|
|||
</div>
|
||||
<a-card-meta>
|
||||
<ellipsis
|
||||
:length="isMobile()?36:18"
|
||||
:length="isMobile()?36:16"
|
||||
tooltip
|
||||
slot="description"
|
||||
>{{ item.name }}</ellipsis>
|
||||
|
|
|
@ -14,25 +14,7 @@
|
|||
title="最新文章"
|
||||
: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-col>
|
||||
<a-col
|
||||
|
@ -48,12 +30,7 @@
|
|||
title="最新评论"
|
||||
:bodyStyle="{ padding: '0px' }"
|
||||
>
|
||||
<a-table
|
||||
:rowKey="comment => comment.id"
|
||||
:columns="commentColumns"
|
||||
:dataSource="commentData"
|
||||
:pagination="false"
|
||||
></a-table>
|
||||
最新评论
|
||||
</a-card>
|
||||
</a-col>
|
||||
<a-col
|
||||
|
@ -69,12 +46,7 @@
|
|||
title="最新日志"
|
||||
:bodyStyle="{ padding: '0px' }"
|
||||
>
|
||||
<a-table
|
||||
:rowKey="comment => comment.id"
|
||||
:columns="commentColumns"
|
||||
:dataSource="commentData"
|
||||
:pagination="false"
|
||||
></a-table>
|
||||
最新日志
|
||||
</a-card>
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
|
|
@ -400,8 +400,8 @@ export default {
|
|||
<style lang="less" scoped>
|
||||
.upload-button {
|
||||
position: fixed;
|
||||
bottom: 80px;
|
||||
right: 20px;
|
||||
bottom: 30px;
|
||||
right: 30px;
|
||||
}
|
||||
.theme-thumb {
|
||||
width: 100%;
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
:boxShadow="false"
|
||||
:toolbars="toolbars"
|
||||
:ishljs="true"
|
||||
:autofocus="false"
|
||||
/>
|
||||
</div>
|
||||
</a-col>
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
:boxShadow="false"
|
||||
:toolbars="toolbars"
|
||||
:ishljs="true"
|
||||
:autofocus="false"
|
||||
/>
|
||||
</div>
|
||||
</a-col>
|
||||
|
|
Loading…
Reference in New Issue