【fix】bug82688 -对比左侧树的调整
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
<a-icon slot="switcherIcon" type="down" :style="{ fontSize: '12px', color: '#103770' }" />
|
<a-icon slot="switcherIcon" type="down" :style="{ fontSize: '12px', color: '#103770' }" />
|
||||||
<template slot="title" slot-scope="{title}">
|
<template slot="title" slot-scope="{title}">
|
||||||
<!-- 目录前三个和有子集的标题加粗 -->
|
<!-- 目录前三个和有子集的标题加粗 -->
|
||||||
<span :style="title.indexOf('.')===-1?'font-weight: 600;':''">{{ title }}</span>
|
<span :style="title.indexOf('.')===-1?'font-weight: 600;':''" :title="title">{{ title }}</span>
|
||||||
</template>
|
</template>
|
||||||
</a-tree>
|
</a-tree>
|
||||||
</div>
|
</div>
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
<a-icon slot="switcherIcon" type="down" :style="{ fontSize: '12px', color: '#103770' }" />
|
<a-icon slot="switcherIcon" type="down" :style="{ fontSize: '12px', color: '#103770' }" />
|
||||||
<template slot="title" slot-scope="{title}">
|
<template slot="title" slot-scope="{title}">
|
||||||
<!-- 目录前三个和有子集的标题加粗 -->
|
<!-- 目录前三个和有子集的标题加粗 -->
|
||||||
<span :style="title.indexOf('.')===-1?'font-weight: 600;':''">{{ title }}</span>
|
<span :style="title.indexOf('.')===-1?'font-weight: 600;':''" :title="title">{{ title }}</span>
|
||||||
</template>
|
</template>
|
||||||
</a-tree>
|
</a-tree>
|
||||||
</div>
|
</div>
|
||||||
@@ -695,7 +695,12 @@ export default {
|
|||||||
margin: 10px 10px 10px 0;
|
margin: 10px 10px 10px 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: width .2s linear;
|
transition: width .2s linear;
|
||||||
|
/deep/ .ant-tree li .ant-tree-node-content-wrapper{
|
||||||
|
max-width: calc(100% - 24px);
|
||||||
|
&:hover {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
/deep/ .ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
/deep/ .ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
color: @primary-color;
|
color: @primary-color;
|
||||||
|
|||||||
Reference in New Issue
Block a user