register.wxml 3.6 KB
<!--pages/my/register/register.wxml-->
<block wx:if='{{state}}'>
  <view class='banner_box'>
    <view class='head_portrait'>
      <image src='{{user_info.picurl}}'></image>
    </view>
    <view class='banner_info'>{{sharetext}}</view>
  </view>
</block>
<block wx:else>
  <view class='banner_box'>
    <view class='head_portrait'>
      <!-- <text class='iconfont icon-anquan'></text> -->
      <image src='/images/logo.png'></image>
    </view>
    <view class='banner_info'>{{promote_language}}</view>
  </view>
</block>
<form bindsubmit="formSubmit">
  <view class='content_box'>
    <view class='content_item'>
       <view class='item_list'>
        <view class='list_title'>真实姓名</view>
        <view class='list_input'>
          <input type='text' placeholder='请填写您的真实姓名' name='name' placeholder-class='pl_style'></input>
        </view>
      </view>
      <view class='item_list'>
        <view class='list_title'>所属机构</view>
        <view class='list_input'>
        <!-- bindchange="company" -->
          <view class='list_picker' value='{{index}}' range='{{company_array}}' range-key="{{firm}}" >
            <!-- <input placeholder='请选择保险公司' value='{{company_array[company_index]}}' disabled='true' placeholder-class='pl_style'></input> -->
              <input placeholder='请填写保险公司' value='{{work}}' placeholder-class='pl_style' bindinput='company'></input>
            <!-- <view class='iconfont icon-xiala'></view> -->
          </view>
        </view>
      </view>
      <view class='item_list'>
        <view class='list_title'>职业名称</view>
        <view class='list_input'>
          <picker class='list_picker' value='{{titleindex}}' range='{{jobTitle_array}}' bindchange="jobTitle">
            <input placeholder='请选择当前职位' value='{{jobTitle_array[titleindex]}}' disabled='true' placeholder-class='pl_style'></input>
            <view class='iconfont icon-xiala'></view>
          </picker>
        </view>
      </view>
      <view class='item_list'>
        <view class='list_title'>所在城市</view>
        <view class='list_input'>
          <input type='text' placeholder='请填写您的所在城市' name='city' placeholder-class='pl_style'></input>
        </view>
      </view>
    </view>

    <view class='content_item'>
      <view class='item_list'>
        <view class='list_title'>手机号</view>
        <view class='list_input'>
          <input type='number' placeholder='请填写手机号' name='tel' bindinput='telNum' placeholder-class='pl_style'></input>
        </view>
      </view>
      <!-- 获取验证码 -->
      <view class='item_list'>
        <view class='list_title'>验证码</view>
        <view class='list_input '>
          <input type='number' placeholder='请填写验证码' class='verification_code' name='code' placeholder-class='pl_style'></input>
          <view class='code_btn' wx:if='{{disabled}}' bindtap="getVerificationCode">{{time}}</view>
          <view class='code_btn' wx:else>{{time}}</view>
        </view>
      </view>
    </view>

    <view class='register_agreement'>
      <view class="iconfont {{choose_state?'icon-xuanzhong':'icon-xuanzhongyuandian'}}" bindtap='chooseState'></view>
      <view>
        <text>我已阅读并同意《</text>
        <text class='agreement_hint' bindtap='agreement'>注册协议</text>
        <text> 》</text>
      </view>
    </view>
    <view class='null_box '></view>
    <view class='bottom_box '>
      <view class='introduce_btn ' bindtap='goabout'>戳我看介绍</view>
      <button formType="submit" class='submit_btn '>提交注册</button>
    </view>
  </view>
</form>