apply.wxml 8.3 KB
<!--pages/apply/apply.wxml-->
<view class='upimg' bindtap='uploadImages' data-tem='1'>
<image src='{{photo}}' wx:if='{{photo}}'></image>
 <view class='iconfont icon-xiangji' wx:if='{{photo==""}}'></view>
</view>
<view class='apply_item'>
 <view>姓名</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setname'></input>
 </view>
</view>
<picker  bindchange="bindsex"  range="{{arraysex}}">
 <view class='apply_item'>
  <view >姓别</view>
  <view class='apply_item_input'>
   <view class='iconfont icon-xiangyou'></view>
   <view class='apply_itemtxt {{arraysex[sex-1]?"color333":""}}'>{{arraysex[sex-1]?arraysex[sex-1]:'请选择'}}</view>
  </view>
 </view>
</picker>
<picker mode='date' bindchange="bindbirthdayChange" end='{{enddata}}'>
 <view class='apply_item'>
  <view>出生日期</view>
  <view class='apply_item_input'>
   <view class='iconfont icon-xiangyou'></view>
   <view class='apply_itemtxt {{birthday?"color333":""}}'>{{birthday?birthday:'请选择'}}</view>
  </view>
 </view>
</picker>
<picker range='{{nationarr}}' bindchange="bindnationChange">
 <view class='apply_item' >
  <view>民族</view>
  <view class='apply_item_input'>
   <view class='iconfont icon-xiangyou'></view>
   <view class='apply_itemtxt {{nation?"color333":""}}'>{{nation?nation:'请选择'}}</view>
  </view>
 </view>
</picker>
<picker range='{{educationarr}}' bindchange="bindeducationChange">
 <view class='apply_item'>
  <view>学历</view>
  <view class='apply_item_input'>
   <view class='iconfont icon-xiangyou'></view>
   <view class='apply_itemtxt {{education?"color333":""}}'>{{education?education:'请选择'}}</view>
  </view>
 </view>
</picker>
<picker range='{{politicsarr}}' bindchange="bindpoliticsChange">
 <view class='apply_item'>
  <view>政治面貌</view>
  <view class='apply_item_input'>
   <view class='iconfont icon-xiangyou'></view>
   <view class='apply_itemtxt {{politics?"color333":""}} '>{{politics?politics:'请选择'}}</view>
  </view>
 </view>
</picker>
<view class='apply_item'>
 <view>工作单位</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setunit'></input>
 </view>
</view>
<view class='apply_item'>
 <view>职务</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setduty'></input>
 </view>
</view>
<view class='apply_item'>
 <view>通讯地址</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setaddr'></input>
 </view>
</view>
<view class='apply_item'>
 <view>邮编</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setpostcode'></input>
 </view>
</view>
<view class='apply_item'>
 <view>就读/毕业院校</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setschool'></input>
 </view>
</view>
<view class='apply_item'>
 <view>身份证号</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setcard_number'></input>
 </view>
</view>
<view class='apply_item'>
 <view>固定电话</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' type='number' placeholder-class='input_p' bindinput='setfixed_phone'></input>
 </view>
</view>
<view class='apply_item'>
 <view>移动电话</view>
 <view class='apply_item_input'>
  <input placeholder='未填写'  type='number' placeholder-class='input_p' bindinput='setmove_phone'></input>
 </view>
</view>
<view class='apply_item'>
 <view>电子邮箱</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setemail'></input>
 </view>
</view>
<view class='apply_item big_item'>
 <view>紧急联系人及电话</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' type='number' placeholder-class='input_p' bindinput='seturgency_phone'></input>
 </view>
</view>
<view class='apply_item'>
 <view>QQ号码</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' type='number' placeholder-class='input_p' bindinput='setqq'></input>
 </view>
</view>
<picker mode ='region' bindchange='bindRegionChange'  value="{{region}}">
 <view class='apply_item' >
  <view>服务区域</view>
  <view class='apply_item_input'>
   <view class='iconfont icon-xiangyou'></view>
   <view class='apply_itemtxt {{address?"color333":""}}'>{{address?address:'请选择'}}</view>
  </view>
 </view>
 </picker>
<picker range='{{typearr}}' bindchange="bindtypeChange">
 <view class='apply_item'>
  <view>志愿类别</view>
  <view class='apply_item_input'>
   <view class='iconfont icon-xiangyou'></view>
   <view class='apply_itemtxt {{typearr[type-1]?"color333":""}}'>{{typearr[type-1]?typearr[type-1]:'请选择'}}</view>
  </view>
 </view>
</picker>


<view class='apply_nav'>
 <view class='apply_cell {{apply_nav==0?"apply_active":""}}' data-apply_nav='0' bindtap='setapply_nav'>个人履历1</view>
 <view class='apply_cell {{apply_nav==1?"apply_active":""}}' data-apply_nav='1' bindtap='setapply_nav'>个人履历2</view>
 <view class='apply_cell {{apply_nav==2?"apply_active":""}}' data-apply_nav='2' bindtap='setapply_nav'>个人履历3</view>
</view>
<view class='navbox'>
 <picker mode='date' bindchange="bindstartChange">
 <view class='apply_item'>
  <view>开始时间</view>
  <view class='apply_item_input'>
   <view class='iconfont icon-xiangyou'></view>
   <view class='apply_itemtxt {{record[apply_nav].start_time?"color333":""}}'>{{record[apply_nav].start_time?record[apply_nav].start_time:'请选择'}}</view>
  </view>
 </view>
</picker>
<picker mode='date' bindchange="bindendChange">
 <view class='apply_item'>
  <view>结束时间</view>
  <view class='apply_item_input'>
   <view class='iconfont icon-xiangyou'></view>
   <view class='apply_itemtxt {{record[apply_nav].end_time?"color333":""}}'>{{record[apply_nav].end_time?record[apply_nav].end_time:'请选择'}}</view>
  </view>
 </view>
</picker>
 <view class='apply_item'>
  <view>单位名称</view>
  <view class='apply_item_input'>
   <input placeholder='未填写' placeholder-class='input_p' value='{{record[apply_nav].unit}}' bindinput='setrecordunit'></input>
  </view>
 </view>
 <view class='apply_item'>
  <view>职务</view>
  <view class='apply_item_input'>
   <input placeholder='未填写' placeholder-class='input_p' value='{{record[apply_nav].duty}}' bindinput='setrecordduty'></input>
  </view>
 </view>
 <view class='apply_item'>
  <view>证明人</view>
  <view class='apply_item_input'>
   <input placeholder='未填写' placeholder-class='input_p' value='{{record[apply_nav].name}}' bindinput='setrecordname'></input>
  </view>
 </view>
 <view class='apply_item'>
  <view>证明人电话</view>
  <view class='apply_item_input'>
   <input placeholder='未填写' placeholder-class='input_p' value='{{record[apply_nav].phone}}' bindinput='setrecordphone'></input>
  </view>
 </view>
</view>
<view class='apply_title'>上传身份证照片</view>
<view class='apply_idbox'>
 <view class='apply_idimg' bindtap='uploadImages' data-tem='2'>
  <view class='apply_idimgmain' wx:if='{{!front_card}}' >
   <view class='apply_idupimg'>
    <text class='iconfont icon-camera1'></text>
   </view>
   <view>上传身份证正面</view>
  </view>
  <image src='{{front_card?front_card:"http://volunteer.w.bronet.cn/imgs/renzhengxinxi_fanmian_bg@2x.png"}}'></image>
 </view>
 <view class='apply_idimg' bindtap='uploadImages' data-tem='3'>
  <view class='apply_idimgmain' wx:if='{{!reverse_card}}' >
   <view class='apply_idupimg'>
    <text class='iconfont icon-camera1'></text>
   </view>
   <view>上传身份证反面</view>
  </view>
  <image src='{{reverse_card?reverse_card:"http://volunteer.w.bronet.cn/imgs/renzhengxinxi_zhengmian_bg@2x.png"}}'></image>
 </view>
</view>
<view class='apply_bottomtitle'>志愿者申请书
</view>
<view class='apply_bottom'>
  为继承和弘扬国际主义战士白求恩的伟大风范和高尚情操,传承和弘扬白求恩的伟大精神,本人自愿申请加入白求恩志愿者队伍。
    本人愿尽己所能,以“志愿服务”为宗旨,不计报酬、帮助他人、服务社会,恪守国家法律、法规,遵守白求恩志愿者各项规章制度,努力工作,尽职尽责,力争为公益事业做出贡献。
 </view>
 <view class='apply_btn' bindtap='submit'>提交</view>