style: 调整新建可视化资源入口样式

This commit is contained in:
wangjiahao 2023-12-04 19:55:41 +08:00
parent 79ef6d7ae2
commit 61582af011

View File

@ -349,27 +349,29 @@ defineExpose({
</el-icon> </el-icon>
</el-tooltip> </el-tooltip>
<el-dropdown popper-class="menu-outer-dv_popper" trigger="click"> <el-tooltip :content="newResourceLabel" placement="top" effect="dark">
<el-icon class="custom-icon btn" @click.stop> <el-dropdown popper-class="menu-outer-dv_popper" trigger="hover">
<Icon name="icon_file-add_outlined" /> <el-icon class="custom-icon btn" @click="addOperation('newLeaf', null, 'leaf', true)">
</el-icon> <Icon name="icon_file-add_outlined" />
<template #dropdown> </el-icon>
<el-dropdown-menu> <template #dropdown>
<el-dropdown-item @click="addOperation('newLeaf', null, 'leaf', true)"> <el-dropdown-menu>
<el-icon class="handle-icon"> <el-dropdown-item @click="addOperation('newLeaf', null, 'leaf', true)">
<Icon :name="dvSvgType"></Icon> <el-icon class="handle-icon">
</el-icon> <Icon :name="dvSvgType"></Icon>
空白新建 </el-icon>
</el-dropdown-item> 空白新建
<el-dropdown-item @click="addOperation('newFromTemplate', null, 'leaf', true)"> </el-dropdown-item>
<el-icon class="handle-icon"> <el-dropdown-item @click="addOperation('newFromTemplate', null, 'leaf', true)">
<Icon name="dv-use-template"></Icon> <el-icon class="handle-icon">
</el-icon> <Icon name="dv-use-template"></Icon>
使用模板新建 </el-icon>
</el-dropdown-item> 使用模板新建
</el-dropdown-menu> </el-dropdown-item>
</template> </el-dropdown-menu>
</el-dropdown> </template>
</el-dropdown>
</el-tooltip>
</div> </div>
</div> </div>
<el-input <el-input