addinfo.wxml 3.4 KB
<!--pages/main/addinfo/addinfo.wxml-->
<import src="../../../common/picker_cell" />

<view class='page__'>
  <view class="divide_line"></view>
  <form bindsubmit='formSubmit'>

    <view class='data_list' hidden="{{isself}}">
      <view class='data_item'>

        <template is="picker_cell_normal" data="{{...relativeData}}" />
        <view class="divide_line_30"></view>

        <view class='item_body'>
          <text class='red_star_right_10'>*</text>
          <text class='text_777_30 float_left'>证照类型</text>
          <text class='text_black_30 float_right' style='line-height: 90rpx'>居民身份证</text>
        </view>
        <view class="divide_line_30"></view>

        <view class='item_body'>
          <text class='red_star_right_10'>*</text>
          <text class='text_777_30 float_left'style='line-height: 90rpx'>证照号码</text>
          <view wx:if="{{isIdCard}}"   >
            <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo'></image>
            <!-- <text class='text_333_28 float_right'>{{card_number}}</text> -->
             <input class='input_wrap float_right' placeholder='请输入或拍摄身份证'  placeholder-class='text_777_30' name='id_card_no' maxlength='18' value='{{card_number}}' bindblur="idDone" bindinput="idChange" disabled='{{isDisable}}'></input>
          </view>
          <view wx:else>
            <input class='input_wrap float_right' placeholder='请输入证照号码'  placeholder-class='text_777_30' name='id_card_no' maxlength='18' type="idcard" value='{{card_number}}' bindblur="idDone" bindinput="idChange" disabled='{{isDisable}}'></input>
          </view>
        </view>
        <view class="divide_line_30"></view>

        <view class='item_body'>
          <text class='red_star_right_10'>*</text>
          <text class='text_777_30 float_left' style='line-height: 90rpx'>姓名</text>
          <input class='input_wrap float_right' placeholder='请填写姓名' name='name' value='{{name}}' placeholder-class='text_777_30' maxlength='15' disabled='{{isDisable}}'></input>
        </view>
        <view class="divide_line_30"></view>

        <template is="picker_cell_normal" data="{{...genderData}}" />
          <view class="divide_line_30"></view>
          <view class='item_body'>
            <text class='text_777_30 float_left head_in' style='line-height: 90rpx'>年龄</text>
            <input class='input_wrap float_right' name='age' type='number'  placeholder-class='text_777_30' placeholder='请输入年龄' maxlength='2' value='{{age}}' disabled='{{isDisable}}'></input>
          </view>
          <view class="divide_line_30"></view>


        <view class='item_body'>
          <text class='red_star_right_10'>*</text>
          <text class='text_777_30 float_left' style='line-height: 90rpx'>国籍</text>
          <text class='text_black_30 float_right' style='line-height: 90rpx' >中国</text>
        </view>

        <view class="divide_line_30"></view>
        <view class='item_body'>
          <text class='text_777_30 float_left head_in' style='line-height: 90rpx'>是否境外人员</text>
          <text class='text_black_30 float_right' style='line-height: 90rpx' >否</text>
        </view>
        <!-- <template is="picker_cell_normal" data="{{...forignerInfo}}" /> -->

      </view>
    </view>

    <view class="btn_bottom">
      <button class="btn_bottom" formType="submit"> 保存</button>
    </view>
  </form>
</view>

<!-- 普通选择器 -->