<template>
  <div class="panel sbgk">
    <div class="panel-tit">设备工况</div>
    <div class="pie-box">
      <div class="pie-item">
        <pie-sounder></pie-sounder>
      </div>
      <div class="pie-item">
        <pie-camera></pie-camera>
      </div>
    </div>

    <div class="num-analysis">
      <div>
        <ul>
          <li>
            <p class="num-tit">设备总数</p>
            <p class="num-no">260</p>
          </li>
          <li>
            <p class="num-tit">异常数量</p>
            <p class="num-no" style="color: #f84803">15</p>
          </li>
        </ul>
      </div>
      <div>
        <ul>
          <li>
            <p class="num-tit">设备总数</p>
            <p class="num-no" style="color: #00acff">500</p>
          </li>
          <li>
            <p class="num-tit">异常数量</p>
            <p class="num-no" style="color: #fec400">100</p>
          </li>
        </ul>
      </div>
    </div>

    <div class="panel-footer"></div>
  </div>
</template>
<script>
import pieSounder from "./pieSounder";
import PieCamera from "./pieCamera";
export default {
  components: { pieSounder, PieCamera },
  name: "sbgk",
};
</script>
<style lang="scss" scoped>
// 设备工况
.panel.sbgk {
  z-index: 2;
}

.pie-item {
  width: 50%;
  height: 24rem;
  display: inline-block;
  vertical-align: top;
}

.num-analysis {
  margin: 1rem;
}
.num-analysis > div {
  width: 48.7%;
  border: 1px solid #3486da;
  display: inline-block;
  background: #074198;
}
.num-analysis > div:first-child {
  margin-right: 1rem;
}

.num-analysis ul li {
  padding: 0 1rem;
  margin: 10px 0;
  float: left;
  width: 50%;

  text-align: center;
  position: relative;
}

.num-analysis ul li:first-child {
  border-right: 1px dashed #42a4ff;
}
.num-tit {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.num-no {
  font-size: 1.8rem;
  color: #04f9ab;
  font-family: "impact";
}
</style>