<!--pages/lw-gerenxinxi/lw-gerenxinxi.wxml-->
<view class="header_title">
  <view class="">
    <van-row>
      <van-col span="6" bindtap="goBack">
        <view class="header_img"><image src="/images/left.png"></image></view>
      </van-col>
      <van-col span="12">
        <view class="header_name">个人信息</view>
      </van-col>
    </van-row>
  </view>
</view>
<view class="max_content">
  <view class="lw_info_padding">
    <view class="lw_info_img">
      <image src="{{userphoto}}"></image>
    </view>
  </view>

  <!-- 已注册 -->
  <view wx:if="{{register == 1}}">
    <view class="lw_info_list">
      <van-row>
        <van-col span="6">
            <image src="/images/lw_5.png"></image>
            <text>姓名</text>
        </van-col>
        <van-col span="18">
          <view class="lw_info_right">{{name}}</view>
        </van-col>
      </van-row>
    </view>
    <view class="lw_info_list">
      <van-row>
        <van-col span="6">
            <image src="/images/lw_6.png"></image>
            <text>工种</text>
        </van-col>
        <van-col span="18">
          <view class="lw_info_right">{{workType}}</view>
        </van-col>
      </van-row>
    </view>
    <view class="lw_info_list">
      <van-row>
        <van-col span="6">
            <image src="/images/lw_7.png"></image>
            <text>劳务公司</text>
        </van-col>
        <van-col span="18">
          <view class="lw_info_right">{{uninName}}</view>
        </van-col>
      </van-row>
    </view>
    <view class="lw_info_list">
      <van-row>
        <van-col span="6">
            <image src="/images/lw_8.png"></image>
            <text>时间</text>
        </van-col>
        <van-col span="18">
          <view class="lw_info_right">{{date}}</view>
        </van-col>
      </van-row>
    </view>
    <view class="lw_btn_zc" bindtap="returnData">确认</view>
  </view>
 

  <!-- 未注册 -->
  <view wx:if="{{register == 2}}">
    <view class="lw_tips">该人员信息未注册，是否录入基本信息？</view>
    <view class="lw_bnt" bindtap="goRegisterPage">
      <button class="lw_bnt_1">立即注册</button>
    </view>
    <view class="lw_bnt" bindtap="goBack">
      <button class="lw_bnt_2">返回</button>
    </view>
  </view>
  
</view>
<van-overlay show="{{loadShow}}">
  <view class="gif">
    <image src="../../images/loding2.gif"></image>
    <view>数据加载中！请稍后...</view>
  </view>
</van-overlay>  