<template>
  <div class="wechat">
    <div class="head">
      <span>居民好友统计</span><span>(统计数据为去重后的数据)</span>
    </div>

    <div class="card">
      <div class="item">
        <div class="item_name">居民好友</div>
        <div class="item_num">{{ (235625).toLocaleString('en-US') }}</div>
      </div>
      <div class="item">
        <div class="item_name">昨日新增</div>
        <div class="item_num">235 <img src="../img/up.png" alt="" class="imgs"></div>
      </div>
      <div class="item">
        <div class="item_name">昨日流失</div>
        <div class="item_num">18 <img src="../img/down.png" alt="" class="imgs"></div>
      </div>
    </div>

    <div class="head">
      <span>居民群统计</span><span>(统计数据为去重后的数据)</span>
    </div>

    <div class="card">
      <div class="item">
        <div class="item_name">居民群</div>
        <div class="item_num">{{ (5230).toLocaleString('en-US') }}</div>
      </div>
      <div class="item">
        <div class="item_name">群成员</div>
        <div class="item_num">235</div>
      </div>
      <div class="item">
        <div class="item_name">昨日新增</div>
        <div class="item_num">18 <img src="../img/up.png" alt="" class="imgs"></div>
      </div>
      <div class="item">
        <div class="item_name">昨日流失</div>
        <div class="item_num">18 <img src="../img/down.png" alt="" class="imgs"></div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "wechat",
  data() {
    return {

    }
  },
  methods: {

  },
}
</script>

<style lang="scss" scoped>
.wechat {
  padding: 0 32px;
  box-sizing: border-box;
  .head {
    margin-top: 32px;
    span:first-child {
      font-size: 32px;
      color: #333333;
      font-weight: 600;
    }
    span:last-child {
      font-size: 26px;
      color: #999999;
    }
  }

  .card {
    padding: 24px 0;
    box-sizing: border-box;
    display: flex;
    text-align: center;
    align-items: center;
    background: #FFF;
    border-radius: 16px;
    margin-top: 24px;

    .item {
      flex: 1;

      .item_name {
        color: #666666;
      }

      .item_num {
        color: #000000;
        font-size: 36px;
        font-weight: 600;
      }

      .imgs {
        width: 30px;
        height: 30px;
      }
    }
  }
}
</style>