ZhangXianQiang
2024-02-29 b1100ae06eb22cc825cab42611d772468948ab95
src/views/daoAnOffice/right/danger/dataTable.vue
@@ -9,6 +9,7 @@
      </div>
    </div>
    <div class="table-container flex-1">
      <div class="table-content">
      <el-table class="data-table" :data="tableData" :highlight-current-row="false" :stripe="true"
        :header-cell-style="{ backgroundColor: 'transparent', color: '#79A5E9', borderColor: '#29466A' }"
        :cell-style="{ color: '#79A5E9', borderColor: '#29466A', paddingTop: '10px', paddingBottom: '10px' }"
@@ -37,6 +38,8 @@
          </template>
        </el-table-column>
      </el-table>
      </div>
    </div>
  </div>
</template>
@@ -86,6 +89,18 @@
    num2: 5,
    num3: 2
  },
  {
    street: '奎光塔街道',
    num1: 12,
    num2: 5,
    num3: 2
  },
  {
    street: '奎光塔街道',
    num1: 12,
    num2: 5,
    num3: 2
  },
];
</script>
@@ -93,7 +108,15 @@
.container {
  height: 360px;
}
.table-container {
  position: relative;
}
.table-content {
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
}
.table-top {
  height: 51px;
  background-color: rgba(17, 34, 58, 0.6);