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