leftcard.vue 2.52 KB
<template>
  <div class="leftcard">
    <div class="card1 bg-shadow">
      <div class="cardhead">区县接入</div>
      <div class="cardcontent">
        <div class="text1">
          <p>52343</p>
          <p>总量</p>
        </div>
        <div class="text2">
          <p>666</p>
          <p>失败</p>
        </div>
        <div class="text3">
          <p>99%</p>
          <p>成功率</p>
        </div>
      </div>
    </div>
    <div class="card2 bg-shadow">
      <div class="cardhead">省厅汇交</div>
      <div class="cardcontent">
        <div class="text1">
          <p>9168</p>
          <p>总量</p>
        </div>
        <div class="text2">
          <p>45</p>
          <p>失败</p>
        </div>
        <div class="text3">
          <p>99%</p>
          <p>成功率</p>
        </div>
      </div>
    </div>
    <div class="card3 bg-shadow">
      <div class="cardhead">各区县数据上报统计</div>
      <columnar />
    </div>
  </div>
</template>

<script>
import columnar from "@/components/echart/columnar";
export default {
  data() {
    return {};
  },
  components: { columnar },
  mounted() {},
  beforeDestroy() {},
  methods: {},
};
</script>

<style lang="scss" scoped>
.leftcard {
  width: 25%;
  height: 100%;
  .cardhead {
    width: 100%;
    height: 40px;
    margin-left: 10px;
    line-height: 40px;
    color: rgb(27, 185, 206);
    font-size: 26px;
  }
  .cardcontent {
    width: 100%;
    height: 160px;
    display: flex;
    .text1 {
      width: 33%;
      height: 100%;
      p {
        margin: 15px;
        height: 50px;
        line-height: 50px;
        font-size: 40px;
        text-align: center;
        color:rgb(246, 246, 229);
        background: linear-gradient(143deg, #29C6F2 0%, #4370EF 100%);
      }
      p:nth-child(2) {
         background:none;
        color: rgb(223, 213, 81);
      }
    }
    .text2 {
      width: 33%;
      height: 100%;
      p {
        height: 70px;
        line-height: 70px;
        font-size: 20px;
        text-align: center;
        color: rgb(180, 178, 178);
      }
    }
    .text3 {
      width: 33%;
      height: 100%;
      p {
        height: 70px;
        line-height: 70px;
        font-size: 20px;
        text-align: center;
        color: rgb(180, 178, 178);
      }
    }
  }
  .card1 {
    width: 100%;
    height: 200px;
  }
  .card2 {
    width: 100%;
    height: 200px;
  }
  .card3 {
    width: 100%;
    height: 500px;

    .mainCss {
      width: 450px;
      height: 420px;
      background-color: saddlebrown;
    }
  }
}
</style>