form.axml 2.39 KB
<view class="form-comp  {{!fold ? 'form-comp-2' : ''}}">
  <view class="number">
    {{item.mobile}}
  </view>
  <view class="tit">
    {{item && item.featureName || '发财旺运'}}
  </view>
  <view class="tips">
    请如实填写以下信息,以便我们及时为您送达
  </view>
  <view class="form">
    <view class="form-item">
      <view class="label">
        姓 名
        <view class="requrie">
          *
        </view>
      </view>
      <input
        onBlur="onBlur"
        onInput="inputEdit"
        data-name="queryForm.name"
        value="{{queryForm.name}}"
        class="ipt"
        placeholder="请输入姓名 (已加密)"
      />
    </view>

    <view class="form-item">
      <view class="label">
        联系电话
        <view class="requrie">
          *
        </view>
      </view>
      <input
        onBlur="onBlur"
        onInput="inputEdit"
        data-name="queryForm.mobilePhone"
        value="{{queryForm.mobilePhone}}"
        class="ipt"
        placeholder="请输入联系电话,并保持畅通"
        type="number"
      />
    </view>

    <block a:if="{{ !fold}}">

      <view class="form-item">
        <view class="label">
          身份证
          <view class="requrie">
            *
          </view>
        </view>
        <input
          onInput="inputEdit"
          data-name="queryForm.identNo"
          value="{{queryForm.identNo}}"
          class="ipt"
          placeholder="请输入身份证号 (已加密)"
          type="idcard"
        />
      </view>

      <view class="form-item" onTap="onPickerArea">
        <view class="label">
          所在地区
          <view class="requrie">
            *
          </view>
        </view>
        <input value="{{areaStr}}" class="ipt untouch" placeholder="请选择省/市/区" />
      </view>

      <view class="form-item">
        <input
          onInput="inputEdit"
          data-name="queryForm.address"
          value="{{queryForm.address}}"
          class="ipt"
          placeholder="请输入详细地址 (*街道*小区*门牌号)"
        />
        <view class="func">
          <view onTap="onAddressTips" class="icon icon-question">

          </view>
        </view>
      </view>
    </block>

  </view>
  <view onTap="onSubmit" class="submit-btn ani-heart"></view>
  <view class="submit-tips">
    请保持联系号码畅通,我们可能随时与您联系
  </view>
</view>