<template>
  <div class="box-center">
      <!-- 卡片部分 -->
      <div class="page-container">
          <div class="pagechen">
            <div class="pageboxtitle1">接待客户 (个)</div>
            <div class="pageboxtitle2">
              <div class="span1">5020</div>
              <div class="span2">
                <span class="span2-1"> 昨日:288</span>
                <span class="span2-2">25%</span>
              </div>
            </div>
          </div>
           <div class="pagechen">
            <div class="pageboxtitle1">正在接待客户 (个)</div>
            <div class="pageboxtitle2">
              <div class="span1">20</div>
            </div>
          </div>
           <div class="pagechen">
            <div class="pageboxtitle1">等待接待客户 (个)</div>
            <div class="pageboxtitle2">
              <div class="span1">50</div>
            </div>
          </div>
           <div class="pagechen">
            <div class="pageboxtitle1">值班顾问 (个)</div>
            <div class="pageboxtitle2">
              <div class="span1">520</div>
            </div>
          </div>
           <div class="pagechen">
            <div class="pageboxtitle1">空闲顾问 (个)</div>
            <div class="pageboxtitle2">
              <div class="span1">5</div>
            </div>
          </div>
      </div>
       <div style=" margin-top: 20px;" class="page-container">
          <div class="pagechen">
             <div class="pageboxtitle1">平均录音时长 (分钟)</div>
            <div class="pageboxtitle2">
                 <div class="span1">5020</div>
             <div class="span2">
               <span class="span2-1"> 昨日:288</span>
               <span class="span2-2">25%</span>
             </div>
            </div>
          </div>
          <div class="pagechen">
             <div class="pageboxtitle1">平均执行率 (%)</div>
            <div class="pageboxtitle2">
                 <div class="span1">20</div>
             <div class="span2">
               <span class="span2-1"> 昨日:288</span>
               <span class="span2-2">25%</span>
             </div>
            </div>
          </div>
          <div class="pagechen">
             <div class="pageboxtitle1">平均禁忌执行率 (%)</div>
            <div class="pageboxtitle2">
                 <div class="span1">50</div>
             <div class="span2">
               <span class="span2-1"> 昨日:288</span>
               <span class="span2-2">25%</span>
             </div>
            </div>
          </div>
          <div class="pagechen">
             <div class="pageboxtitle1">接到平均得分 (分)</div>
            <div class="pageboxtitle2">
                  <div class="span1">80</div>
             <div class="span2">
               <span class="span2-1"> 昨日:288</span>
               <span class="span2-2">25%</span>
             </div>
            </div>
          </div>
          <div class="pagechen">
             <div class="pageboxtitle1">急需充电的工牌 (个)</div>
            <div class="pageboxtitle2">
                 <div class="span1">2</div>
            </div>
          </div>
      </div>
      <!-- 列表部分 -->
      <div class="table-box">
        <div class="title">急需充电的工牌</div>
        <div class="tabbox">
           <el-table
            :header-cell-style="{background:'#F2F4F5'}"
            :data="tableData"
            height="300"
            style="width: 100%">
            <el-table-column
              prop="name"
              label="顾问"
              align="center">
            </el-table-column>

            <el-table-column
              prop="num"
              label="电话"
              align="center">
            </el-table-column>

            <el-table-column
              prop="address"
              label="状态"
              align="center">
            </el-table-column>

            <el-table-column
              prop="date"
              label="电量"
              align="center">
            </el-table-column>
           </el-table>
        </div>
      </div>
  </div>
</template>

<script>
export default {
  name: 'Wel',
  data() {
    return {
         tableData: [
           {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          {
            date: '80%',
            name: '王小虎',
            address: '正在录音',
            num:'18655732363'
          },
          ]
    }
  },
  methods: {


  }
}
</script>

<style scoped="scoped" lang="scss">
.box-center{
  width: 100%;
  height: 100%;
  padding: 15px;
  min-width: 1300px;
}
.page-container{
  width: 100%;
  display: flex;
  .pagechen{
    flex: 1;
    min-width: 223px;
    background: #FFFFFF;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.04);
    border-radius: 4px;
    margin-right: 20px;
    padding: 20px;
    .pageboxtitle1{
      width: 100%;
      font-size: 16px;
      font-weight: 400;
      color: #666666;
      line-height: 16px;
    }
    .pageboxtitle2{
      width: 100%;
      margin-top: 14px;
      display: flex;
      flex-wrap: wrap;
      .span1{
        width: 100px;
          height: 30px;
        font-size: 30px;
        font-weight: normal;
        color: #32363D;
        line-height: 30px;
      }
       .span2{
         height: 30px;
         font-size: 16px;
         display:flex;
         align-items:flex-end;
         .span2-1{
           color: #424D64;
           margin-right: 15px;
           font-weight: 400;
         }
         .span2-2{
           font-weight: 600;
           color: #E6273A;
         }
      }
    }
  }
}
.table-box{
  width:98.8%;
  height: 400px;
  background: #FFFFFF;
  border-radius: 4px;
  margin-top: 24px;
  .title{
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    text-indent: 30px;
    font-weight: 500;
    color: #32363D;
    border-bottom: 1px solid #E6E6E6;
  }
  .tabbox{
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 20px;
  }
}
 .el-row {
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }
  }
</style>
