xieqy 3 년 전
부모
커밋
5e046dbfb0

+ 11 - 3
src/views/groupPage/districtPageModules/customTools/excavationAnalysis/crossSectionChart.vue

@@ -189,14 +189,17 @@ export default {
             }
           },
           grid: {
-            left: '15%',
+            left: '25%',
             bottom: 10,
-            right: '6%',
+            right: '10%',
             top: 30
           },
           backgroundcolor: 'transparent',
           xAxis: {
             name: '(m)',
+            nameTextStyle: {
+              color: '#fff'
+            },
             type: 'value',
             min: 0,
             max: maxXAxis,
@@ -207,11 +210,15 @@ export default {
           yAxis: [
             {
               name: '高程(m)',
+              nameTextStyle: {
+                color: '#fff'
+              },
               type: 'value',
               min: minYAxis,
               max: maxYAxis,
               splitLine: { show: false },
               axisLabel: {
+                color: '#fff',
                 inside: false,
                 //margin: -(-minXAxis / (maxXAxis - minXAxis)) * 862 + 8,
                 formatter: (value, index) => {
@@ -310,7 +317,8 @@ export default {
                 position: 'left',
                 formatter: '{b}',
                 fontWeight: 'bold',
-                fontSize: 14
+                fontSize: 14,
+                color: '#fff'
               },
               markLine: {
                 symbol: ['none', 'none'],

+ 8 - 5
src/views/groupPage/districtPageModules/customTools/excavationAnalysis/detailsTable.vue

@@ -1,5 +1,5 @@
 <template>
-  <div style="height: 88%; width: 100%">
+  <div style="height: 85%; width: 95%">
     <el-table
       ref="multipleTable"
       v-loading="false"
@@ -133,7 +133,7 @@ export default {
   border: none;
   color: #eee;
   background: transparent;
-  .el-table tr {
+  .el-table__row {
     background: transparent;
   }
   .el-table__cell {
@@ -141,14 +141,17 @@ export default {
   }
   .el-table__row--striped {
     background: #1d3e58;
-  }
-  .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
-    background: transparent;
+    .el-table__cell {
+      background: transparent !important;
+    }
   }
   .el-table__body tr:hover > td {
     background-color: #3d5f89 !important;
   }
 }
+/deep/ .el-table::before {
+  background-color: unset !important;
+}
 /deep/ .el-pagination__total {
   color: #eee;
 }

+ 1 - 1
src/views/groupPage/districtPageModules/customTools/excavationAnalysis/index.vue

@@ -1006,7 +1006,7 @@ export default class ExcavationAnalysis extends Vue {
       name: '挖方点',
       position: points,
       height: height,
-      transparent: true
+      transparent: false
     })
     this.clearPrimitives()
   }