feat(系统设置): 移除菜单资源图标展示并优化展开箭头样式
This commit is contained in:
@@ -417,9 +417,7 @@ onMounted(loadTree)
|
|||||||
<span class="ty" :class="typeClass(row.node.resourceType)">
|
<span class="ty" :class="typeClass(row.node.resourceType)">
|
||||||
{{ typeName(row.node.resourceType) }}
|
{{ typeName(row.node.resourceType) }}
|
||||||
</span>
|
</span>
|
||||||
<span class="nm"
|
<span class="nm">{{ row.node.name }}</span>
|
||||||
>{{ row.node.icon ? `${row.node.icon} ` : '' }}{{ row.node.name }}</span
|
|
||||||
>
|
|
||||||
<span class="sp"></span>
|
<span class="sp"></span>
|
||||||
<span class="sm mut">{{ row.node.sortNo }}</span>
|
<span class="sm mut">{{ row.node.sortNo }}</span>
|
||||||
<span v-if="row.node.status === 'DISABLED'" class="ms-off-tag">停用</span>
|
<span v-if="row.node.status === 'DISABLED'" class="ms-off-tag">停用</span>
|
||||||
@@ -433,7 +431,7 @@ onMounted(loadTree)
|
|||||||
<div class="ms-detail">
|
<div class="ms-detail">
|
||||||
<template v-if="currentNode">
|
<template v-if="currentNode">
|
||||||
<div class="ch">
|
<div class="ch">
|
||||||
<b>{{ currentNode.icon ? `${currentNode.icon} ` : '' }}{{ currentNode.name }}</b>
|
<b>{{ currentNode.name }}</b>
|
||||||
<span class="sp"></span>
|
<span class="sp"></span>
|
||||||
<span class="sm mut">{{ currentPath }}</span>
|
<span class="sm mut">{{ currentPath }}</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -722,11 +720,14 @@ onMounted(loadTree)
|
|||||||
opacity: 0.55;
|
opacity: 0.55;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 展开/收起三角:原型写 10px,实际渲染小到像个点,这里放大到 13px 并居中 */
|
||||||
.ms-node .ar {
|
.ms-node .ar {
|
||||||
flex: none;
|
flex: none;
|
||||||
width: 12px;
|
width: 14px;
|
||||||
color: var(--mut);
|
color: var(--mut);
|
||||||
font-size: 10px;
|
font-size: 13px;
|
||||||
|
line-height: 1;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ms-node .nm {
|
.ms-node .nm {
|
||||||
|
|||||||
Reference in New Issue
Block a user