Browse Source

档案管理横向滚动条

duy 2 năm trước cách đây
mục cha
commit
32107fe1a3
1 tập tin đã thay đổi với 11 bổ sung6 xóa
  1. 11 6
      src/views/manager/archivetree.vue

+ 11 - 6
src/views/manager/archivetree.vue

@@ -24,7 +24,7 @@
                   <div class="scrollClass" style="height:721px">
                     <el-scrollbar style="height:100%">
                       <el-tree
-                        style="box-sizing: border-box;width:120%;"
+                        style="box-sizing: border-box;"
                         v-show="!filterText"
                         ref="trees1"
                         :props="props"
@@ -38,7 +38,7 @@
                           @mouseleave="mouseLeave(data)"
                             
                         >
-                          <span style="text-overflow: ellipsis;">{{ data.title }}</span>
+                          <span style="text-overflow: ellipsis;width:101%;">{{ data.title }}</span>
                           <span
                             class="marleft10"
                             v-show="data.moreShow"
@@ -137,7 +137,7 @@
               <div class="scrollClass" style="height:721px">
                 <el-scrollbar style="height:100%">
                   <el-tree
-                    style="box-sizing: border-box;width:120%;"
+                    style="box-sizing: border-box;"
                     v-show="!filterText"
                     ref="trees1"
                     :props="props"
@@ -199,7 +199,7 @@
                     slot-scope="{ node, data }"
                     @mouseover="mouseOver(data)"
                     @mouseleave="mouseLeave(data)"
-                    style="box-sizing: border-box;width:120%;"
+                    style="box-sizing:border-box;width:101%;"
                   >
                     <span  style="text-overflow: ellipsis;">{{ data.title }}</span>
                     <span
@@ -311,8 +311,8 @@
                     </el-input>
                   <div  class="scrollClass"  style="height:521px ;">
                       <el-scrollbar style="height:100%">
-
                           <el-tree
+                         
                             class="filter-tree"
                             :data="rightData"
                             :props="Rightprops"
@@ -1282,8 +1282,13 @@ export default {
   background-color: #e5e5e5;
 }
 
- 
+.el-tree .el-tree-node__content{
+   display: block !important;
+ }
 
+/deep/ .el-tree .el-tree-node__children{
+   overflow: visible!important;
+ }
 
 
 </style>