refactor: 代码模版菜单优化 (#6379)
Co-authored-by: shiziyuan9527 <yuhao.li@fit2cloud.com>
This commit is contained in:
parent
701b9751f8
commit
7e9c1e6d01
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
<el-collapse-transition>
|
<el-collapse-transition>
|
||||||
<div v-if="menu.open">
|
<div v-if="menu.open">
|
||||||
<div v-for="(child, key) in menu.children" :key="key">
|
<div v-for="(child, key) in menu.children" :key="key" class="func-div">
|
||||||
<el-link :disabled="child.disabled" @click="handleClick(child)" class="func-link">{{child.title}}</el-link>
|
<el-link :disabled="child.disabled" @click="handleClick(child)" class="func-link">{{child.title}}</el-link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -197,10 +197,17 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.func-link {
|
.func-link {
|
||||||
color: #935aa1;
|
|
||||||
margin-left: 18px;
|
margin-left: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.func-div >>> .func-link {
|
||||||
|
color: #935aa1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.func-div >>> .func-link:hover {
|
||||||
|
color: #935aa1;
|
||||||
|
}
|
||||||
|
|
||||||
.link-type {
|
.link-type {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
Loading…
Reference in New Issue