yuanyiming 2 years ago
parent
commit
26ea553044
1 changed files with 18 additions and 4 deletions
  1. 18 4
      src/views/ProjectManagementFund2.vue

+ 18 - 4
src/views/ProjectManagementFund2.vue

@@ -142,7 +142,10 @@
         <div class="dagInpS">
           <div class="dagInpS1">
             <div class="dagSpan">直接经费</div>
-            <el-select v-model="value" placeholder="请选择">
+            <el-select v-model="value"
+            :popper-append-to-body="false" 
+            popper-class="select-popper"
+            placeholder="请选择">
                 <el-option
                   v-for="item in options"
                   :key="item.value"
@@ -289,9 +292,7 @@
   
   <style lang="less">
   .ProjectManagementFund2{
-
-  
-  
+ 
   .pAHeader{
       width: 90%;
       display: flex;
@@ -342,6 +343,19 @@
       font-size: 25px;
       color: #000;
     }
+
+
+    /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;
+    }
+
+
     .addDialogLogo{
       width: 60px;
       height: 30px;