<template>
  <div class="heat-lay">
    <div class="heat-lay-flex">
      <div class="heat-lay-item" style="width: 100%">
        <div class="heat-item-style1">
          <div class="heat-item-style1-title">总运营商户（家）</div>
          <div class="fujimaintext">
            <div class="mainText">{{Number(info.companyNum)}}</div>
          </div>
        </div>
      </div>
      <div class="averticalBart"></div>
      <div class="heat-lay-item" style="width: 100%">
        <div class="heat-item-style1">
          <div class="heat-item-style1-title">总工程师（人）</div>
          <div class="fujimaintext">
            <div class="mainText">{{Number(info.allWorker)}}</div>
          </div>
        </div>
      </div>
      <div class="averticalBart"></div>
      <div class="heat-lay-item" style="width: 100%">
        <div class="heat-item-style1">
          <div class="heat-item-style1-title">总分销员（人）</div>
          <div class="fujimaintext">
            <div class="mainText">{{Number(info.allService)}}</div>
          </div>
        </div>
      </div>
      <div class="averticalBart"></div>
      <div class="heat-lay-item">
        <div
          id="jinrshifucq"
          class="heat-item-style1"
          style="cursor: pointer"
        >
          <div class="heat-item-style1-title">总用户数（人）</div>
          <div class="fujimaintext">
            <div class="mainText">{{Number(info.allUser)}}</div>
          </div>
        </div>
      </div>
    </div>
    <div class="horizontalLine"></div>
    <div class="heat-lay-flex">
      <div class="heat-lay-item" style="width: 100%">
        <div class="heat-item-style1">
          <div class="heat-item-style1-title">今日登入商户（家）</div>
          <div class="fujimaintext">
            <div class="mainText">{{Number(info.loginCompanyNum)}}</div>
            <div class="subText">{{Number(info.loginCompanyNumPer)}}%</div>
          </div>
        </div>
      </div>
      <div class="averticalBarb"></div>
      <div class="heat-lay-item" style="width: 100%">
        <div class="heat-item-style1">
          <div class="heat-item-style1-title">今日登入工程师（人）</div>
          <div class="fujimaintext">
            <div class="mainText">{{Number(info.loginAllWorker)}}</div>
            <div class="subText">{{Number(info.loginAllWorkerPer)}}%</div>
          </div>
        </div>
      </div>
      <div class="averticalBarb"></div>
      <div class="heat-lay-item" style="width: 100%">
        <div class="heat-item-style1">
          <div class="heat-item-style1-title">今日登入分销员（人）</div>
          <div class="fujimaintext">
            <div class="mainText">{{Number(info.loginAllService)}}</div>
            <div class="subText">{{Number(info.loginAllServicePer)}}%</div>
          </div>
        </div>
      </div>
      <div class="averticalBarb"></div>
      <div class="heat-lay-item">
        <div class="heat-item-style1">
          <div class="heat-item-style1-title">今日登入用户（人）</div>
          <div class="fujimaintext">
            <div class="mainText">{{Number(info.loginAllUser)}}</div>
            <div class="subText">{{Number(info.loginAllUserPer)}}%</div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { bigGetRegion, bigGetLarge1, bigGetLarge2 } from '@/api/common.js';
export default {
  components: {  },
  data() {
    return {
      info:{
        "allService": 0,
        "allUser": 0,
        "allWorker": 0,
        "allWorkerOrderNum": 0,
        "companyNum": 0,
        "increOrderNum": 0,
        "loginAllService": 0,
        "loginAllServicePer": 0,
        "loginAllUser": 0,
        "loginAllUserPer": 0,
        "loginAllWorker": 0,
        "loginAllWorkerPer": 0,
        "loginCompanyNum": 0,
        "loginCompanyNumPer": 0,
        "neverWorkerNum": 0,
        "salesOrderNum": 0
      }
    };
  },
  watch: {
    
  },
  mounted() {
    this.getBigGetLarge1()
  },
  beforeUnmount() {
  },
  methods: {
   getBigGetLarge1(pam){
    bigGetLarge2(pam).then(res=>{
      this.info = res.data
      console.log(this.info,"niunpionpoimo;i")
    })
   }
  },
};
</script>

<style scoped lang="scss">
.heat-lay {
  width: 100%;
  height: 160px;
  & > div:nth-child(1) {
    height: 80px;
  }
  & > div:nth-child(3) {
    height: 80px;
  }
  .horizontalLine {
    width: 100%;
    height: 1px;
    border-radius: 2px;
    // background: linear-gradient(to right, #082570, #156ccf, #156ccf, #082570);
  }
  .averticalBart {
    height: 100%;
    min-width: 1px;
    border-radius: 2px;
    // background: linear-gradient(#082570, #156ccf);
  }

  .averticalBarb {
    height: 100%;
    min-width: 1px;
    border-radius: 2px;
    // background: linear-gradient(#156ccf, #082570);
  }
  .heat-lay-item {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 8px;
  }
  .heat-lay-flex {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .heat-item-style1 {
    width: 100%;
    height: 100%;
    .heat-item-style1-title {
      font-size: 14px;
      font-family: Source Han Sans CN, Source Han Sans CN-Regular;
      font-weight: 400;
      color: #fff;
      margin-bottom: 5px;
      line-height: 28px;
      box-sizing: border-box;
      padding: 0 5px;
      background:repeating-linear-gradient(to right, rgba(250,250,250,.3),rgba(250,250,250,.0));
    }
    .fujimaintext{
      width:100%;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex-direction: row;
      margin-top: 18px;
      box-sizing: border-box;
      padding-right: 10px;
    }
    .mainText{
      font-size: 30px;
      font-weight: bold;
      line-height: 22px;
      color: #fff;
    }
    .subText{
      font-size: 14px;
      color: #ff0;
    }
  }
}
</style>
