mirror of https://github.com/halo-dev/halo
Change api tab icon.
parent
e5297c2e7a
commit
8d7ef8ec67
|
@ -44,4 +44,3 @@ export default {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,12 @@
|
||||||
slot-scope="text,record"
|
slot-scope="text,record"
|
||||||
style="max-width: 150px;display: block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
|
style="max-width: 150px;display: block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
|
||||||
>
|
>
|
||||||
<a-icon type="pushpin" v-if="record.topPriority!=0" theme="twoTone" twoToneColor="red" />
|
<a-icon
|
||||||
|
type="pushpin"
|
||||||
|
v-if="record.topPriority!=0"
|
||||||
|
theme="twoTone"
|
||||||
|
twoToneColor="red"
|
||||||
|
/>
|
||||||
<a
|
<a
|
||||||
:href="options.blog_url+'/archives/'+record.url"
|
:href="options.blog_url+'/archives/'+record.url"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
@ -177,6 +182,30 @@
|
||||||
>{{ tag.name }}</a-tag>
|
>{{ tag.name }}</a-tag>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
<span
|
||||||
|
slot="commentCount"
|
||||||
|
slot-scope="commentCount"
|
||||||
|
>
|
||||||
|
<a-badge
|
||||||
|
:count="commentCount"
|
||||||
|
:numberStyle="{backgroundColor: '#f38181'} "
|
||||||
|
:showZero="true"
|
||||||
|
:overflowCount="999"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span
|
||||||
|
slot="visits"
|
||||||
|
slot-scope="visits"
|
||||||
|
>
|
||||||
|
<a-badge
|
||||||
|
:count="visits"
|
||||||
|
:numberStyle="{backgroundColor: '#00e0ff'} "
|
||||||
|
:showZero="true"
|
||||||
|
:overflowCount="9999"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
slot="createTime"
|
slot="createTime"
|
||||||
slot-scope="createTime"
|
slot-scope="createTime"
|
||||||
|
@ -304,12 +333,14 @@ const columns = [
|
||||||
{
|
{
|
||||||
title: '评论',
|
title: '评论',
|
||||||
width: '70px',
|
width: '70px',
|
||||||
dataIndex: 'commentCount'
|
dataIndex: 'commentCount',
|
||||||
|
scopedSlots: { customRender: 'commentCount' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '访问',
|
title: '访问',
|
||||||
width: '70px',
|
width: '70px',
|
||||||
dataIndex: 'visits'
|
dataIndex: 'visits',
|
||||||
|
scopedSlots: { customRender: 'visits' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '发布时间',
|
title: '发布时间',
|
||||||
|
|
|
@ -122,6 +122,30 @@
|
||||||
{{ statusProperty.text }}
|
{{ statusProperty.text }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
<span
|
||||||
|
slot="commentCount"
|
||||||
|
slot-scope="commentCount"
|
||||||
|
>
|
||||||
|
<a-badge
|
||||||
|
:count="commentCount"
|
||||||
|
:numberStyle="{backgroundColor: '#f38181'} "
|
||||||
|
:showZero="true"
|
||||||
|
:overflowCount="999"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span
|
||||||
|
slot="visits"
|
||||||
|
slot-scope="visits"
|
||||||
|
>
|
||||||
|
<a-badge
|
||||||
|
:count="visits"
|
||||||
|
:numberStyle="{backgroundColor: '#00e0ff'} "
|
||||||
|
:showZero="true"
|
||||||
|
:overflowCount="9999"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
slot="createTime"
|
slot="createTime"
|
||||||
slot-scope="createTime"
|
slot-scope="createTime"
|
||||||
|
@ -261,11 +285,13 @@ const customColumns = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '评论量',
|
title: '评论量',
|
||||||
dataIndex: 'commentCount'
|
dataIndex: 'commentCount',
|
||||||
|
scopedSlots: { customRender: 'commentCount' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '访问量',
|
title: '访问量',
|
||||||
dataIndex: 'visits'
|
dataIndex: 'visits',
|
||||||
|
scopedSlots: { customRender: 'visits' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '发布时间',
|
title: '发布时间',
|
||||||
|
|
|
@ -628,7 +628,7 @@
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="api">
|
<a-tab-pane key="api">
|
||||||
<span slot="tab">
|
<span slot="tab">
|
||||||
<a-icon type="align-left" />API 设置
|
<a-icon type="thunderbolt" />API 设置
|
||||||
</span>
|
</span>
|
||||||
<a-form layout="vertical">
|
<a-form layout="vertical">
|
||||||
<a-form-item
|
<a-form-item
|
||||||
|
|
Loading…
Reference in New Issue