<!--pages/msg/push/index.wxml-->
<title-bar title="基本信息"></title-bar>
<scroll-view scroll-y refresher-enabled style="height: calc(100vh - {{topBarH}}px);">
  <view class="item">
  <!-- 标题 -->
  <view class="h-div v-center header">
      <text class="single"></text>
      <text class="title">姓名</text>
    </view>
    <view class="h-div v-center header">
      <text class="title">{{userInfo.name}}</text>
    </view>
    <view class="h-div v-center header">
      <text class="single"></text>
      <text class="title">电话</text>
    </view>
    <view class="h-div v-center header">
      <text class="title">{{userInfo.phoneNumber?userInfo.phoneNumber:'--'}}</text>
    </view>
    <view class="h-div v-center header">
      <text class="single"></text>
      <text class="title">性别</text>
    </view>
    <view class="h-div v-center header">
      <text class="title">{{userInfo.sex==1?'男':'女'}}</text>
    </view>
    <view class="h-div v-center header">
      <text class="single"></text>
      <text class="title">所属区域</text>
    </view>
    <view class="h-div v-center header">
      <text class="title">{{userInfo.areaName?userInfo.areaName:'--'}}</text>
    </view>
    <view class="h-div v-center header">
      <text class="single"></text>
      <text class="title">人员标签</text>
    </view>
    <view class="h-div v-center header">
      <text class="title">{{userInfo.peopleTag == 1?'常住人口':'流动人口'}}</text>
    </view>
    <view class="h-div v-center header">
      <text class="single"></text>
      <text class="title">关系</text>
    </view>
    <view class="h-div v-center header">
      <text class="title">{{userInfo.relationName?userInfo.relationName:'--'}}</text>
    </view>
    <view class="h-div v-center header">
      <text class="single"></text>
      <text class="title">出生日期</text>
    </view>
    <view class="h-div v-center header">
      <text class="title">{{userInfo.birthday?userInfo.birthday:'--'}}</text>
    </view>
    <view class="h-div v-center header">
      <text class="single"></text>
      <text class="title">类型</text>
    </view>
    <view class="h-div v-center header">
      <text style="margin-right: 10rpx;" wx:for="{{userInfo.typeName}}" wx:key="{{item}}" class="title">{{item}}</text>
    </view>
    <view class="h-div v-center header">
      <text class="single"></text>
      <text class="title">工作地点</text>
    </view>
    <view class="h-div v-center header">
      <text class="title">{{userInfo.workAddress?userInfo.workAddress:'--'}}</text>
    </view>

  </view>
  <view class="space"></view>
</scroll-view>
