rightcard.vue 3.55 KB
<template>
<div class="leftcard">
              <div class="card1">
                <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">
                <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">
                <div class="cardhead">各区县数据上报统计</div>
                <div class="mainCss" ref="myRef"></div>

              </div>
            </div>
</template>

<script>
import CenterLeft2Chart from "@/components/echart/map";
export default {

  data() {
    return {

    };
  },
 components: {  CenterLeft2Chart },
  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{
           height: 70px;
           line-height: 70px;
           font-size: 40px;
           text-align: center;;

         };
         p:nth-child(2){
           color: rgb(180, 178, 178);

        };
        }
        .text2{
          width: 33%;
          height: 100%;
          p{
            height: 70px;
            line-height: 70px;
            font-size: 20px;
            text-align: center;;
            color: rgb(180, 178, 178);
          };
          p:nth-child(2){
            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);
          };
          p:nth-child(2){


         };
         }
      }
       .card1{
      width: 100%;
       height: 200px;
      box-sizing: border-box;
     background: url("~@/image/tablebk.png") no-repeat;
      background-size: 100% 100%;

       }
       .card2{
        width: 100%;
         height: 200px;
        box-sizing: border-box;
       background: url("~@/image/tablebk.png") no-repeat;
        background-size: 100% 100%;
         }
         .card3{
          width: 100%;
           height: 500px;
          box-sizing: border-box;
         background: url("~@/image/tablebk.png") no-repeat;
          background-size: 100% 100%;
           .mainCss{
              width: 500px;
              height:445px;
              background-color: saddlebrown;
            }
           }
      }
</style>