fix: 树样式优化
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
@select="SelectApartmentTree">
|
||||
<template #title="data">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center">
|
||||
<span>{{ data.deptInfo?.deptName }}</span>
|
||||
<span class="treeContent">{{ data.deptInfo?.deptName }}</span>
|
||||
<a-dropdown>
|
||||
<ns-icon name="actionMore" size="14" class="actionMore" />
|
||||
<template #overlay>
|
||||
@@ -96,7 +96,7 @@
|
||||
@select="SelectUserTree">
|
||||
<template #title="data">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center">
|
||||
<span> {{ data.zhName }}</span>
|
||||
<span class="treeContent"> {{ data.zhName }}</span>
|
||||
<a-dropdown>
|
||||
<ns-icon name="actionMore" size="14" class="actionMore" />
|
||||
<template #overlay>
|
||||
@@ -819,6 +819,7 @@
|
||||
border-radius: @ns-border-radius;
|
||||
border: 1px solid #ebeef5;
|
||||
padding: 16px;
|
||||
min-width: 100px;
|
||||
}
|
||||
.list {
|
||||
padding-left: @ns-gap;
|
||||
@@ -863,4 +864,10 @@
|
||||
.form {
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
.treeContent {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user