Update ThemeList.vue

pull/25/head
ruibaby 2019-06-21 23:05:32 +08:00
parent 105b454249
commit fcf427d9fa
1 changed files with 25 additions and 6 deletions

View File

@ -35,16 +35,23 @@
<a-icon
type="unlock"
theme="twoTone"
style="margin-right:3px"
/>
</div>
<div
v-else
@click="handleActivateClick(item)"
>
<a-icon type="lock" />启用
<a-icon
type="lock"
style="margin-right:3px"
/>
</div>
<div @click="handleEditClick(item)">
<a-icon type="setting" />设置
<a-icon
type="setting"
style="margin-right:3px"
/>
</div>
<a-dropdown
placement="topCenter"
@ -54,7 +61,10 @@
class="ant-dropdown-link"
href="#"
>
<a-icon type="ellipsis" />更多
<a-icon
type="ellipsis"
style="margin-right:3px"
/>
</a>
<a-menu slot="overlay">
<a-menu-item
@ -68,10 +78,16 @@
okText="确定"
cancelText="取消"
>
<a-icon type="delete" />删除
<a-icon
type="delete"
style="margin-right:3px"
/>
</a-popconfirm>
<span v-else>
<a-icon type="delete" />删除
<a-icon
type="delete"
style="margin-right:3px"
/>
</span>
</a-menu-item>
<a-menu-item :key="2">
@ -81,7 +97,10 @@
okText="确定"
cancelText="取消"
>
<a-icon type="download" />更新
<a-icon
type="download"
style="margin-right:3px"
/>
</a-popconfirm>
</a-menu-item>
</a-menu>