付延余
2022-04-11 c3339519b1a471c23160ca02cb51d0afc632afea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<template>
  <div id="businessPolicy">
    <div class="upCentent">
      <!-- 主信息区 -->
      <div class="upCentent_item">
        <div class="icon">
          <img
            src="../../../assets/images/businessPolicy/icon1@2x.png"
            alt=""
          />
        </div>
        <div class="text">累计出台政策数量</div>
        <div class="numText"><span>280</span>条</div>
      </div>
      <div class="upCentent_item"></div>
      <div class="upCentent_item"></div>
      <div class="upCentent_item"></div>
      <div class="upCentent_item"></div>
    </div>
    <!-- 主表格区 -->
    <div class="downCentent">
      <div class="downCentent_item">
        <div class="downCentent_title">
          <span>政策内容</span
          ><img
            src="../../../assets/images/businessPolicy/title_end@2x.png"
            alt=""
          />
        </div>
        <div class="tableLeft">
          <el-table
            stripe
            :data="tableData"
            style="width: 100%"
            max-height="100.6rem"
            :header-row-style="tableHeaderRow"
            :row-class-name="tableRowClassName"
          >
            <el-table-column prop="keshi" label="科室" width="140">
            </el-table-column>
            <el-table-column
              prop="zhengchemingcheng"
              label="政策名称"
              width="355"
            >
            </el-table-column>
            <el-table-column
              prop="shengxiaoDate"
              label="生效日期范围"
              width="355"
            >
            </el-table-column>
            <el-table-column prop="huijiqiyeNum" label="惠及企业数">
            </el-table-column>
            <el-table-column prop="money" label="减免金额"> </el-table-column>
          </el-table>
        </div>
      </div>
      <div class="downCentent_item"></div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      tableData: [
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        },
        {
          keshi: "失业处",
          zhengchemingcheng: "失业保险稳岗返还政策",
          shengxiaoDate: "2021/3—2022/12",
          huijiqiyeNum: "100家",
          money: "277万元"
        }
      ]
    };
  },
  methods: {
    tableHeaderRow({ rowIndex }) {
      if (rowIndex === 0) return { height: "8rem" };
    },
    tableRowClassName({ rowIndex }) {
      if (rowIndex % 2 === 0) {
        return "warning-row";
      }
      return "";
    }
  }
};
</script>
<style lang="scss">
@import "../../../assets/css/base";
.tableLeft {
  width: 115.4rem;
  position: absolute;
  top: 7.2rem;
  left: 3.3rem;
 
  // 状态颜色
  .el-table .warning-row {
    background-color: rgba(81, 210, 255, 0.1);
  }
  .el-table td.el-table__cell,
  .el-table th.el-table__cell.is-leaf {
    border: none;
  }
  // .el-table .success-row {
  //   background-color: rgba(81, 210, 255, 0.1);
  // }
  // .workStatistics-table {
  .el-table tr {
    background: transparent;
  }
  // 头部
  .el-table th.el-table__cell {
    background: transparent;
  }
  // .el-table__fixed,
  // .el-table__fixed-right,
  // .el-table__fixed-right::before,
  // .el-table__fixed::before {
  //   background-color: #51d2ff;
  // }
  .el-table--striped
    .el-table__body
    tr.el-table__row--striped
    td.el-table__cell {
    // background-color: rgba(1, 68, 117, 1);
    background: transparent;
  }
  .el-table thead {
    color: #111111;
  }
  // .el-table td.el-table__cell,
  // .el-table th.el-table__cell.is-leaf {
  //   border-bottom: 1px solid #8e8e8e;
  // }
  // .el-table--border .el-table__cell,
  // .el-table__body-wrapper .el-table--border.is-scrolling-left ~ .el-table__fixed {
  //   border-right: 1px solid #8e8e8e;
  // }
  .el-table .el-table__cell {
    padding: 2rem 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,
  > td.el-table__cell,
  .el-table__body tr.hover-row.el-table__row--striped > td.el-table__cell,
  .el-table__body tr.hover-row > td.el-table__cell {
    background: transparent;
  }
  .el-table .cell {
    font-weight: 300;
    font-size: 2.6rem;
    //font-family: Source Han Sans CN, Source Han Sans CN-Light;
    text-align: center;
    color: #ffffff;
    line-height: 2.6rem;
  }
}
// }
</style>
<style lang="scss" scoped>
#businessPolicy {
}
.upCentent {
  height: 23rem;
  width: 248rem;
  margin: 3rem 4rem 0 4rem;
  display: flex;
  .upCentent_item {
    width: 46.4rem;
    height: 23rem;
    background: url(../../../assets/images/businessPolicy/bg_1@2x.png) no-repeat
      center;
    background-size: 100% 100%;
    flex: 1;
    margin-right: 4rem;
    text-align: center;
    &:nth-child(5) {
      margin-right: 0;
    }
    .icon img {
      width: 8rem;
      height: 8rem;
      margin-top: 3.1rem;
    }
    .text {
      height: 2.4rem;
      font-size: 2.4rem;
      //font-family: Source Han Sans CN, Source Han Sans CN-Light;
      font-weight: 300;
      text-align: center;
      color: #ffffff;
      line-height: 2.4rem;
    }
    .numText {
      font-size: 2rem;
      margin-top: 2.5rem;
      color: #ffffff;
      span {
        font-size: 4.8rem;
        //font-family: Source Han Sans CN, Source Han Sans CN-Light;
        font-weight: 300;
        color: #51d2ff;
        line-height: 2.4rem;
        margin-right: 1.2rem;
      }
    }
  }
}
.downCentent {
  width: 248rem;
  height: 114.6rem;
  margin: 3.6rem 4rem 6.2rem 4rem;
  display: flex;
  .downCentent_item {
    width: 122rem;
    height: 114.6rem;
    background: url(../../../assets/images/businessPolicy/bg_big@2x.png)
      no-repeat center;
    background-size: 100% 100%;
    flex: 1;
    margin-right: 4rem;
    padding: 0 3.3rem 0 3.3rem;
    position: relative;
    &:nth-child(2) {
      margin-right: 0;
    }
    .downCentent_title {
      position: absolute;
      top: 0.8rem;
      font-size: 3.2rem;
      //font-family: Source Han Sans CN, Source Han Sans CN-Regular;
      font-weight: 400;
      // text-align: left;
      color: #51d2ff;
      line-height: 2.6rem;
      span {
        margin-left: 3.7rem;
        margin-right: 2rem;
      }
    }
  }
}
.el-table {
  background: transparent;
}
</style>