<!--pages/agent/index.wxml-->
<view class='panel'>
  <view class='agent'>
    <image class='agent1' src='{{imgServerUrl}}/images/happyjob/agent.png' style='height:{{swiperH}}px' mode='widthFix' bindload='imageLoad'></image>
  </view>
  <view class='agent_1'>
    <image class='agent2' src='{{imgServerUrl}}/images/happyjob/agent2.png' style='height:{{swiperH2}}px' mode='widthFix'></image>
    <image class='baoming' src='{{imgServerUrl}}/images/happyjob/baoming.png' bindtap='baoming' data-top="{{basePos}}"></image>
  </view>
  <view class='agent'>
    <image class='agent3' src='{{imgServerUrl}}/images/happyjob/agent3.png' style='height:{{swiperH3}}px' mode='widthFix'></image>
  </view>
  <view class='agent_4' id="agentJoin">
    <image class='agent4' src='{{imgServerUrl}}/images/happyjob/agent4.png' style='height:{{swiperH4}}px' mode='widthFix'></image>
    <view class='joinus'>加入我们</view>
    <view class='name'>
      <view class='left'>姓名:</view>
      <view class='right'>
        <input value='{{name}}' bindinput='changeName' maxlength='20'></input>
      </view>
    </view>
    <view class='contact'>
      <view class='left'>联系方式:</view>
      <view class='right'>
        <input value='{{contact}}' bindinput='changeContact'></input>
      </view>
    </view>
    <view class='sex'>
      <view class='left'>性别:</view>
      <view class='right'>
        <picker bindchange="bindSexChange" value="{{sex_index}}" range="{{sex}}">
          <view class="picker">
            {{sex[sex_index]}}
          </view>
        </picker>
        <!-- <input value='{{sex}}' bindinput='changeSex'></input> -->
      </view>
    </view>
    <view class='year'>
      <view class='left'>年龄:</view>
      <view class='right'>
        <input value='{{year}}' bindinput='changeYear' maxlength='2' type="number"></input>
      </view>
    </view>
    <view class='submit' bindtap='submit'>
      提交
    </view>
  </view>
</view>