<cu-custom bgColor="bg-color" isBack="{{true}}" title="请选择您的身份">
  <!-- <view slot="content">请选择您的身份</view> -->
</cu-custom>
<view class="doc_top">
  <view>未认证，请填写资料申请认证<text>此认证信息仅用于平台审核</text></view>
  <image src="/img/doctor_img1.png"></image>
</view>
<form bindsubmit="formSubmit">
  <view class="info_card">
    <view class="info_item">
      <view class="info_label">真实姓名</view>
      <input class="info_input" name="username" placeholder="请输入真实姓名" type='text'></input>
    </view>
    <view class="info_item">
      <view class="info_label">身份证号码</view>
      <input class="info_input" name="idCard" placeholder="请输入正确的身份证号码" type='text' bindinput='setCode' value='{{code}}'></input>
    </view>
  </view>
  <view class="info_card">
    <view class="info_item">
      <view class="info_label">从业单位</view>
      <picker mode="selector" bindchange="setHospitalType" value="{{hospital}}" range="{{hospItalList}}"
        range-key="name" name="hospitalId">
        <view class="picker">
          {{hospital ? hospItalList[hospital].name : '请选择'}}
        </view>
      </picker>
    </view>
    <view class="info_item">
      <view class="info_label">工作证件/执业证</view>
      <view class="doc_imgUpload" bindtap="chooseImageTap">
        <image src="{{imageUrl || '/img/doctor_img2.png'}}"></image>
      </view>
    </view>
  </view>
  <view class="phone_btm">
    <!-- <view class="phone_btn1">完成</view> -->
    <button class="phone_btn1" form-type="submit">完成</button>
  </view>
</form>