<form bindsubmit="saveIdCard" report-submit='true'>
  <view class="add-idCard">
    <view class="add-form">
    <text class='id-card-txt'>身份证信息用于跨境商品入境申报，请输入购买者姓名和身份证号码一致的身份证信息确保正常清关；姓名需要与身份证信息一致。</text>
      <view class="form-item">
        <label>身份证号：</label>
        <input class="input" name='idNo' placeholder="身份证" value="{{idNoM}}" auto-focus/>
        <view bindtap="clearData"><image class="clear-icon" src="/static/images/clear-fb.png"></image>
      </view>
      </view>
      <view class="form-item">
        <label>姓名：</label>
        <input class="input" name='username' value="{{curUser.username}}" placeholder="姓名" />
      </view>
    </view>

    <view class="btns">
      <button class="save" form-type="submit">保存</button>
    </view>

  </view>
</form>