<template>
  <div>
    <div class="unit-echats">
      <div class="unit-g">
        管理形式
        <unit3D />
      </div>
    </div>
    <div class="unit maintenance">
      <span class="unit-c">管理主体</span>
      <div class="unit-num">
        <div>
          <LinearText
            style="display: inline-block"
            text="1223"
            fontSize="32px"
          ></LinearText>
          <span>家</span>
        </div>
        <div>一般单位</div>
      </div>
      <div class="unit-num">
        <div>
          <LinearText
            style="display: inline-block"
            text="1223"
            fontSize="32px"
          ></LinearText>
          <span>家</span>
        </div>
        <div>一般单位</div>
      </div>
    </div>
    <div class="unit">
      <span class="unit-w">维保形式</span>
      <div class="unit-num">
        <div>
          <LinearText
            style="display: inline-block"
            text="123"
            fontSize="32px"
          ></LinearText>
          <span>家</span>
        </div>
        <div>专业维保</div>
      </div>
      <div class="unit-num">
        <div>
          <LinearText
            style="display: inline-block"
            text="323"
            fontSize="32px"
          ></LinearText>
          <span>家</span>
        </div>
        <div>自主维护</div>
      </div>
      <div class="unit-num">
        <div>
          <LinearText
            style="display: inline-block"
            text="323"
            fontSize="32px"
          ></LinearText>
          <span>家</span>
        </div>
        <div>无维保</div>
      </div>
    </div>
  </div>
</template>

<script>
import unit3D from "@/components/unit3D.vue";
export default {
  components: { unit3D },
};
</script>

<style lang="less" scoped>
.unit {
  display: flex;
  margin: 5px 0 10px 10px;
  font-size: 18px;
  .unit-c {
    display: inline-block;
    margin: 25px 18px 0 0;
  }
  .unit-num {
    width: 146px;
    height: 72px;
    margin: 10px 10px;
    letter-spacing: 1px;
    padding: 5px 0 0 0;
    background-color: rgba(0, 163, 255, 0.3);
    color: #fff;
    text-align: center;
    font-size: 16px;
    line-height: 30px;
    padding-top: 10px;
    // 渐变
    .num {
      font-size: 32px;
      font-weight: 600;
      color: rgb(105, 193, 208);
    }
  }
}
.unit-echats {
  height: 150px;
}
.unit-w {
  width: 136px;
}
.unit-g {
  font-size: 18px;
  margin-left: 10px;
  padding-top: 10px;
}
.maintenance {
  margin-top: 30px;
}
</style>
