mirror of https://github.com/halo-dev/halo-admin
Fixed style error.
parent
b65f545b92
commit
fcd652e7c1
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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%;
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
:boxShadow="false"
|
:boxShadow="false"
|
||||||
:toolbars="toolbars"
|
:toolbars="toolbars"
|
||||||
:ishljs="true"
|
:ishljs="true"
|
||||||
|
:autofocus="false"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
:boxShadow="false"
|
:boxShadow="false"
|
||||||
:toolbars="toolbars"
|
:toolbars="toolbars"
|
||||||
:ishljs="true"
|
:ishljs="true"
|
||||||
|
:autofocus="false"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
Loading…
Reference in New Issue