Browse Source

select框

yuanyiming 2 years ago
parent
commit
b573ddb1ae
1 changed files with 2 additions and 14 deletions
  1. 2 14
      src/views/ProjectManagementFund2.vue

+ 2 - 14
src/views/ProjectManagementFund2.vue

@@ -24,7 +24,7 @@
         tooltip-effect="dark"
         stripe
         class="fontSize"
-        style="height: 550px;"
+        style="height: 500px;"
         :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
         @selection-change="handleSelectionChange">
         
@@ -144,8 +144,7 @@
           <div class="dagInpS1">
             <div class="dagSpan">直接经费</div>
             <el-select v-model="values.fund"
-            :popper-append-to-body="false" 
-            popper-class="select-popper"
+            transfer="true" :popper-append-to-body="false"
             placeholder="请选择">
                 <el-option
                   v-for="item in fundOptions"
@@ -335,17 +334,6 @@
   .projectApplicationfundAddDialog2{
 
 
-    /deep/ .select-popper { // 参照网上其他资料
-        z-index: 8888 !important;
-    }
-	
-   .el-select-dropdown__item.hover, .el-select-dropdown__item:hover{
-     background: none !important;
-   }
-	
-  .el-select-dropdown__item{
-    text-align: left;
-  }
     .el-header {
       background-color: #3d67bc;
       color: #333;