<template>
  <div class="panel handleNumber">
    <div class="panel-tit">处置告警数</div>

    <div class="section1">
      <div class="pie-chart">
        <pie-alarm></pie-alarm>
      </div>
      <div class="pie-textList">
        <ul>
          <li>
            <div class="num-tit">未处理数</div>
            <div class="num-no colorUnhandle">60</div>
          </li>
          <li>
            <div class="num-tit">审核未通过</div>
            <div class="num-no colorUnpass">180</div>
          </li>
          <li>
            <div class="num-tit">超时完成</div>
            <div class="num-no colorOverTime">30</div>
          </li>
          <li>
            <div class="num-tit">已完成数</div>
            <div class="num-no colorSuccess">260</div>
          </li>
        </ul>
      </div>
    </div>
    <div class="section2">
      <bar-chart></bar-chart>
    </div>
    <div class="panel-footer"></div>
  </div>
</template>
<script>
import pieAlarm from "./pieAlarm";
import barChart from "./barChart";
export default {
  components: { pieAlarm, barChart },
  name: "handleNumber",

  methods: {},
};
</script>
<style lang="scss" scoped>
.panel.handleNumber {
  margin-top:2rem;
  box-sizing: border-box;
  padding: 0 1.2rem;
  .section1 {
    height: 19rem;
    width: 100%;
    margin: 2rem 0;
    > div {
      float: left;
    }
    .pie-chart {
      height: 100%;
      width: 60%;
    }
    .pie-textList {
      height: 100%;
      width: 40%;
      // background: pink;
      li {
        width: 100%;
        // border: 1px solid red;
        line-height: 4.2rem;
        display: inline-block;
        font-size: 1.4rem;
        background: url(../../../assets/handlelist-bg.png);
        text-align: center;
        padding-right: 1rem;
        
        
        
        > div {
          display: inline-block;
          vertical-align: center;
        }
        .num-no {
          font-size: 2rem;
          // color: #04f9ab;
          font-family: "impact";
          margin-left: 2rem;
          position: relative;
          top: 0.3rem;
        }
        
      }
      @media(max-width:1200px){
          li  .num-tit{
            font-size:1.2rem;
          }
          li .num-no{
            margin-left:.5rem;
          }
        }
    }
  }
  .section2 {
    height: 12rem;
    width: 100%;
    margin-bottom: 1rem;
  }
}
</style>
<style lang="scss">
</style>