소스 검색

fixed属性样式修改

SunZehao 1 주 전
부모
커밋
dfec2f4e2c
1개의 변경된 파일10개의 추가작업 그리고 12개의 파일을 삭제
  1. 10 12
      src/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/index.vue

+ 10 - 12
src/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/index.vue

@@ -77,7 +77,7 @@
           :data="cutInAndOutAnalysisData"
           stripe
           size="mini"
-          height="calc(100% - 30px)"
+          height="calc(100% - 60px)"
           ref="cutInAndOut_table"
           style="width: 100%"
         >
@@ -237,8 +237,8 @@ export default {
       this.isFullScreen = false;
     }
 
-    //   this.cutInAndOutAnalysisData = dataJson.data.data.records;
-    //   this.page.total = dataJson.data.data.total;
+    // this.cutInAndOutAnalysisData = dataJson.data.data.records;
+    // this.page.total = dataJson.data.data.total;
     this.getCompanyData();
   },
   mounted() {
@@ -285,7 +285,7 @@ export default {
     async getCompanyData() {
       this.companyOptions = [];
 
-      this.pickerTimer = dayjs().subtract(1, 'day').format("YYYY-MM-DD");
+      this.pickerTimer = dayjs().subtract(1, "day").format("YYYY-MM-DD");
 
       const { data: datas } = await getApicompanyslist();
       this.companyOptions = datas.data;
@@ -436,8 +436,8 @@ export default {
     display: flex;
     flex-direction: row;
     align-items: center;
-    // margin-top: 10px;
-    // margin-bottom: 10px;
+    margin-top: 10px;
+    margin-bottom: 10px;
 
     .station {
       display: flex;
@@ -573,10 +573,8 @@ export default {
 ::v-deep .el-table__body-wrapper {
   background: #142446 !important;
 }
-::v-deep .el-table__fixed{
-  .el-table__fixed-body-wrapper {
-    background: #142446 !important;
-  }
-} 
-
+::v-deep .el-table__fixed-body-wrapper {
+  padding-bottom: 10px !important;
+  background: #142446 !important;
+}
 </style>