apply.wxml 9.7 KB
<!--pages/apply/apply.wxml-->
<view class='upimg' bindtap='{{ifempower?"uploadImages":""}}' data-tem='1'>
<button open-type='getUserInfo' bindgetuserinfo='start'  class='inofbtn' if='{{!ifempower}}'  data-tem='1'></button>
 <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' value='{{name}}' ></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' value='{{unit}}'></input>
 </view>
</view>
<view class='apply_item'>
 <view>职务</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setduty' value='{{duty}}'></input>
 </view>
</view>
<view class='apply_item'>
 <view>通讯地址</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setaddr' value='{{addr}}'></input>
 </view>
</view>
<view class='apply_item'>
 <view>邮编</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setpostcode' value='{{postcode}}'></input>
 </view>
</view>
<view class='apply_item'>
 <view>就读/毕业院校</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setschool' value='{{school}}'></input>
 </view>
</view>
<view class='apply_item'>
 <view>身份证号</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setcard_number' value='{{card_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' value='{{fixed_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' value='{{move_phone}}'></input>
 </view>
</view>
<view class='apply_item'>
 <view>电子邮箱</view>
 <view class='apply_item_input'>
  <input placeholder='未填写' placeholder-class='input_p' bindinput='setemail' value='{{email}}'></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' value='{{urgency_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' value='{{qq}}'></input>
 </view>
</view>

 <view class='apply_item' bindtap='setshowapply'>
  <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 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].record_start_time?"color333":""}}'>{{record[apply_nav].record_start_time?record[apply_nav].record_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].record_end_time?"color333":""}}'>{{record[apply_nav].record_end_time?record[apply_nav].record_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].record_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].record_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].record_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].record_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:"https://volunteer.cnpu.org/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:"https://volunteer.cnpu.org/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>

 <!-- 服务区域 -->
 <view class='apply_vold' wx:if='{{showapply}}' >
 <view class='pickerview'>
  <picker-view indicator-style="height: 40px;"  class='pickerview_top'  value="{{confirmvalarr}}" bindchange="bindChange">
  <view class='iconfont icon-guanbi1' catchtap='setshowapply_no'></view>
    <picker-view-column>
      <view wx:for="{{provincearr}}" wx:key style="line-height: 40px" class='column_view'>{{ item.province_name}}</view>
    </picker-view-column>
    <picker-view-column>
      <view wx:for="{{cityarr}}" wx:key style="line-height: 40px"  class='column_view'>{{item.city_name}}</view>
    </picker-view-column>
    <picker-view-column>
      <view wx:for="{{countryarr}}"  wx:key style="line-height: 40px"  class='column_view'>{{item.country_name}}</view>
    </picker-view-column>
  </picker-view>
  <view class='apply_vold_btn'>
  <view class='applybtn' catchtap='setno'>取消</view>
  <view class='applybtn yes_applybtn' catchtap='setyes'>确定</view>
  </view>
 </view>
 </view>