zhangxiaoxu123456
2022-04-12 031631bc70722e6c7aded6ab8705bbd042ed52ed
src/pages/show/businessPolicy/BusinessPolicy.vue
@@ -68,7 +68,6 @@
            stripe
            :data="tableData"
            style="width: 100%"
            max-height="1005"
            :header-row-style="tableHeaderRow"
            :row-class-name="tableRowClassName"
            @row-click="tableRowClick"
@@ -422,6 +421,36 @@
            "大力优化营商环境丨市人社局:服务提速提能 让百姓享受改革红利",
          laiyuan: "石家庄新闻",
          dianjiliang: "15690"
        },
        {
          tableTitle:
            "大力优化营商环境丨市人社局:服务提速提能 让百姓享受改革红利",
          laiyuan: "石家庄新闻",
          dianjiliang: "15690"
        },
        {
          tableTitle:
            "大力优化营商环境丨市人社局:服务提速提能 让百姓享受改革红利",
          laiyuan: "石家庄新闻",
          dianjiliang: "15690"
        },
        {
          tableTitle:
            "大力优化营商环境丨市人社局:服务提速提能 让百姓享受改革红利",
          laiyuan: "石家庄新闻",
          dianjiliang: "15690"
        },
        {
          tableTitle:
            "大力优化营商环境丨市人社局:服务提速提能 让百姓享受改革红利",
          laiyuan: "石家庄新闻",
          dianjiliang: "15690"
        },
        {
          tableTitle:
            "大力优化营商环境丨市人社局:服务提速提能 让百姓享受改革红利",
          laiyuan: "石家庄新闻",
          dianjiliang: "15690"
        }
      ],
      tableDialogVisible: false,
@@ -465,9 +494,9 @@
  //   }
  // },
  methods: {
    tableHeaderRow({ rowIndex }) {
      if (rowIndex === 0) return { height: "8rem" };
    },
    // tableHeaderRow({ rowIndex }) {
    //   if (rowIndex === 0) return { height: "0.3125rem" };
    // },
    tableRowClassName({ rowIndex }) {
      if (rowIndex % 2 === 0) {
        return "warning-row";
@@ -494,12 +523,16 @@
// 表格
.BusinessPolicyTable {
  height:3.92578125rem;
  width: 4.5078rem;
  position: absolute;
  top: 0.2813rem;
  left: 0.1289rem;
  .el-table {
    background: transparent;
  }
  .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
    background: none;
  }
  // 去掉当前行高亮背景颜色
  .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
@@ -529,9 +562,9 @@
  .el-table thead {
    color: #111111;
  }
  // .el-table .el-table__cell {
  //   padding: 0.0781rem 0;
  // }
   .el-table .el-table__cell {
     padding: 0.0781rem 0;
   }
  .el-table__body tr.hover-row.current-row > td.el-table__cell,
  .el-table__body,
  tr.hover-row.el-table__row--striped.current-row,