apply.wxml 10.5 KB
<view class='avator_box' wx:if="{{!page_type}}">
  <view class='upimg' bindtap='{{ifempower?"uploadImages":""}}' data-tem='1'>
    <image src='{{photo}}' wx:if='{{photo}}' mode="aspectFill"></image>
    <view class='iconfont icon-xiangji' wx:if='{{!photo}}'></view>
  </view>
  <view class='tips_word'>请选择1:1的图像</view>
</view>



<view class='apply_item'>
  <view>姓名</view>
  <view class='apply_item_input'>
    <input placeholder='未填写' placeholder-class='input_p' bindinput='setname' value='{{name}}' disabled="{{page_type}}"></input>
  </view>
</view>
<picker bindchange="bindsex" range="{{arraysex}}" disabled="{{page_type}}">
  <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}}' disabled="{{page_type}}">
  <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" disabled="{{page_type}}">
  <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" disabled="{{page_type}}">
  <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" disabled="{{page_type}}">
  <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}}' disabled="{{page_type}}"></input>
  </view>
</view>
<view class='apply_item'>
  <view>职务</view>
  <view class='apply_item_input'>
    <input placeholder='未填写' placeholder-class='input_p' bindinput='setduty' value='{{duty}}' disabled="{{page_type}}"></input>
  </view>
</view>
<view class='apply_item'>
  <view>通讯地址</view>
  <view class='apply_item_input'>
    <input placeholder='未填写' placeholder-class='input_p' bindinput='setaddr' value='{{addr}}' disabled="{{page_type}}"></input>
  </view>
</view>
<view class='apply_item'>
  <view>邮编</view>
  <view class='apply_item_input'>
    <input placeholder='未填写' placeholder-class='input_p' bindinput='setpostcode' value='{{postcode}}' disabled="{{page_type}}"></input>
  </view>
</view>
<view class='apply_item'>
  <view>就读/毕业院校</view>
  <view class='apply_item_input'>
    <input placeholder='未填写' placeholder-class='input_p' bindinput='setschool' value='{{school}}' disabled="{{page_type}}"></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}}' disabled="{{page_type}}" maxlength="20"></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}}' disabled="{{page_type}}" maxlength="11"></input>
  </view>
</view>
<view class='apply_item'>
  <view>电子邮箱</view>
  <view class='apply_item_input'>
    <input placeholder='未填写' placeholder-class='input_p' bindinput='setemail' value='{{email}}' disabled="{{page_type}}"></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}}' disabled="{{page_type}}"></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}}' disabled="{{page_type}}"></input>
  </view>
</view>

<view class='apply_item' bindtap="{{page_type?'':'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>






<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" disabled="{{page_type}}">
    <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" disabled="{{page_type}}">
    <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' disabled="{{page_type}}"></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' disabled="{{page_type}}"></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' disabled="{{page_type}}"></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' disabled="{{page_type}}"></input>
    </view>
  </view>
</view>
<view class='apply_title'>上传身份证照片</view>
<view class='apply_idbox'>
  <view class='apply_idimg' bindtap="{{page_type?'':'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"}}' mode="aspectFill"></image>
  </view>
  <view class='apply_idimg' bindtap="{{page_type?'':'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' wx:if="{{!page_type}}">志愿者申请书
</view>
<view class='apply_bottom' wx:if="{{!page_type}}">
  为继承和弘扬国际主义战士白求恩的伟大风范和高尚情操,传承和弘扬白求恩的伟大精神,本人自愿申请加入白求恩志愿者队伍。 本人愿尽己所能,以“志愿服务”为宗旨,不计报酬、帮助他人、服务社会,恪守国家法律、法规,遵守白求恩志愿者各项规章制度,努力工作,尽职尽责,力争为公益事业做出贡献。
</view>


<form wx:if="{{!page_type}}" bindsubmit="submit" report-submit='true' class="apply_btn">
  <button class="a_btn" form-type="submit" style="">提交</button>
</form>

<!-- 服务区域 -->
<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' wx:if="{{!page_type}}">
      <view class='applybtn' catchtap='setno'>取消</view>
      <view class='applybtn yes_applybtn' catchtap='setyes'>确定</view>
    </view>
  </view>
</view>

<view class="kong" style="height:100rpx;" wx:if="{{page_type}}" />