<template>
  <div id="centreRight1">
    <div class="bg-color-black">
      <div class="d-flex pt-2 pl-2">
        <span style="color:#5cd9e8">
          <icon name="chart-line"></icon>
        </span>
        <div class="d-flex">
          <span class="fs-xl text mx-2">Alarm Top 10</span>
          <dv-decoration-3 style="width:1.25rem;height:.25rem; position:relative;top:-.0375rem;" />
        </div>
      </div>
      <div class="d-flex jc-center body-box">
        <dv-scroll-board :config="config" style="width:6.375rem;height:4.28rem" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      config: {
        header: ["位号", "报警类型", "数量"],
        data: [
          ["350FC5411", "PVLOW", "<span  class='colorRed'>43</span>"],
          ["390LC9402", "PVLOW", "<span  class='colorRed'>35</span>"],
          ["320FC2222", "OPLOW", "<span  class='colorRed'>32</span>"],
          ["610FC1102C", "PVHIGH", "<span  class='colorRed'>29</span>"],
          ["460PDI6102", "PVHIGH", "<span  class='colorRed'>28</span>"],
          ["350TI5425", "PVHIGH", "<span  class='colorRed'>27</span>"],
          ["610LC1101A", "PVLOW", "<span  class='colorRed'>24</span>"],
          ["330LI3001", "PVHI", "<span  class='colorRed'>22</span>"],
          ["330LI3001", "PVLO", "<span  class='colorRed'>19</span>"],
          ["350FC5410", "PVLOW", "<span  class='colorGrass'>15</span>"]
        ],
        rowNum: 7, //表格行数
        headerHeight: 35,
        headerBGC: "#0f1325", //表头
        oddRowBGC: "#0f1325", //奇数行
        evenRowBGC: "#171c33", //偶数行
        index: true,
        columnWidth: [50],
        align: ["center"]
      }
    };
  },
  components: {},
  mounted() {},
  methods: {}
};
</script>

<style lang="scss">
#centreRight1 {
  padding: 0.2rem;
  height: 5.125rem;
  min-width: 3.75rem;
  border-radius: 0.0625rem;
  .bg-color-black {
    height: 4.8125rem;
    border-radius: 0.125rem;
  }
  .text {
    color: #c3cbde;
  }
  .body-box {
    border-radius: 0.125rem;
    overflow: hidden;
  }
}
</style>
