<view class="page">
  <form bindsubmit="formSubmit" bindreset="formReset">

    <view class="sectionBox">
      <view class="section">
        <view class="section__title">手机号：</view>
        <input name="input" type="number" required name="phone" value='{{form.phone}}' placeholder="请输入手机号"
          bindinput='valueChange' data-type="phone" maxlength="11" />
      </view>

      <view class="section">
        <view class="section__title">姓名：</view>
        <input name="input" type="text" required name="userName" value='{{form.userName}}' placeholder="请输入姓名"
          bindinput='valueChange' data-type="userName" />
      </view>

      <view class="section">
        <view class="section__title">性别：</view>
        <picker bindchange="sexChange" name="sex" value="{{sexindex}}" range="{{sex}}">
          <text class="picker-txt">{{sex[sexindex]}}</text>
        </picker>
        <text class="iconfont iconxia" style="color:black"></text>
      </view>

      <!-- <view class="section">
        <view class="section__title">园区：</view>
        <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
          <view class="picker">{{array[form.index]}}</view>
        </picker>
      </view>

      <view class="section">
        <view class="section__title">公司：</view>
        <picker bindchange="bindCompanyChange" value="{{index}}" range="{{company}}">
          <view class="picker">{{company[form.companyindex]}}</view>
        </picker>
      </view>

      <view class="section">
        <view class="section__title">职位：</view>
        <input name="input" type="text" required name="position" value='{{form.position}}' placeholder="请输入姓名"
          bindinput='valueChange' data-type="position" />
      </view> -->

    </view>
    <view style="display:flex;align-items:center;justify-content: center;color:red;">注意：您的个人信息，仅用活动主办方联系您，不做其他用途，您提交表示同意，不提交表示不同意。</view>

    <view class="btn-area">
      <button formType="submit">确认信息并报名</button>
    </view>
  </form>
</view>