<template>
  <view class="content">
    <view class="text-area">
      <text class="title"></text>
    </view>
    <div class="app-container" style="overflow: auto">
    <div class="header-title" ref="searchHeightRef">&nbsp;&nbsp;&nbsp;&nbsp;健康总览</div>
    <div class="header-con" ref="searchHeightRef">
      <div class="item">
        <img src="../../assets/one.png" alt="" />
        <div class="info-sum">
          <div class="title">成员数</div>
          <div class="num">3<span>人</span></div>
        </div>
      </div>
      <div class="item">
        <img src="../../assets/ticketSum.png" alt="" />
        <div class="info-sum">
          <div class="title">档案数量</div>
          <div class="num">5<span>份</span></div>
        </div>
      </div>
    </div>
    
    <div class="header-con"  ref="searchHeightRef">

      <div class="item">
        <img src="../../assets/one.png" alt="" />
        <div class="info-sum">
          <div class="title">就医次数</div>
          <div class="num">8<span>次</span></div>
        </div>
      </div>
      <div class="item">
        <img src="../../assets/ticketSum.png" alt="" />
        <div class="info-sum">
          <div class="title">用药次数</div>
          <div class="num">100<span>次</span></div>
        </div>
      </div>
    </div>
    <div class="header-con"  ref="searchHeightRef">

<div class="item">
  <img src="../../assets/one.png" alt="" />
  <div class="info-sum">
    <div class="title">体温记录</div>
    <div class="num">88<span>次</span></div>
  </div>
</div>
<div class="item">
  <img src="../../assets/ticketSum.png" alt="" />
  <div class="info-sum">
    <div class="title">体重身高记录</div>
    <div class="num">100<span>次</span></div>
  </div>
</div>
</div>
<div class="header-con"  ref="searchHeightRef">

<div class="item">
  <img src="../../assets/one.png" alt="" />
  <div class="info-sum">
    <div class="title">活动记录</div>
    <div class="num">8<span>次</span></div>
  </div>
</div>
<div class="item">
  <img src="../../assets/ticketSum.png" alt="" />
  <div class="info-sum">
    <div class="title">药品数量</div>
    <div class="num">10<span>种</span></div>
  </div>
</div>
</div>

    <div></div>
  </div>
</view>
</template>
<script setup>
import { ref, onMounted } from 'vue';
import auth from "@/plugins/auth"; // 建议使用auth进行鉴权操作



onMounted(() => {

})
</script>

<style lang="scss" scoped>
.app-container {
  .header-con {
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .item {
      width: 50%;
      height: 100%;
      display: flex;
      position: relative;
      align-items: center;
      margin: 0px 5px 0px 5px;
      .title {
        margin-left: 5px;
        color: rgb(133, 133, 148);
        margin-bottom: 5px;
        font-size: 14px;
      }
      .num {
        margin-left: 5px;
        font-weight: bold;
        font-size: 14px;
      }
    }
    img {
      height: 30px;
      width: 30px;
    }
  }
  .header-title {
    width: 100%;
    height: 30px;
    background-color: #ffffff;
    margin-bottom: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
  }
}
</style>
