apply.wxml 2.0 KB
<!--pages/apply/apply.wxml-->
<view class='top'>
 <view class='cell_box'>
  <view class='cell'>
   <view class='cell_left'>
    <view class='iconbox'>
     <image src='https://wxapp.xianghejia.cn/imgs/aicon15@2x.png'></image>
    </view>
    <view>您的姓名</view>
   </view>
   <view class='cell_rigth'>
    <input placeholder-class='input_p' bindinput='setname'></input>
   </view>
  </view>
  <view class='cell'>
   <view class='cell_left'>
    <view class='iconbox tel_box'>
     <image src='https://wxapp.xianghejia.cn/imgs/aicon16@2x.png'></image>
    </view>
    <view>您的电话</view>
   </view>
   <view class='cell_rigth'>
    <input placeholder-class='input_p' bindinput='settel' type='number'></input>
   </view>
  </view>
  <view class='cell exp_box'>
   <view class='cell_left'>
    <view class='iconbox'>
     <image src='https://wxapp.xianghejia.cn/imgs/aicon13@2x.png'></image>
    </view>
    <view>需求说明</view>
   </view>
   <view class='explain_txt'>简单说明您的困难情况</view>
  </view>
  <view class='explain'>
   <textarea bindinput='setneed' value='{{need}}' maxlength='301'></textarea>
  </view>
 </view>
</view>
<view class='bottom'>
 <view class='cell exp_box bottom_title'>
  <view class='cell_left'>
   <view class='iconbox'>
    <image src='https://wxapp.xianghejia.cn/imgs/bicon06@2x.png'></image>
   </view>
   <view>凭证资料</view>
  </view>
  <view class='explain_txt'>请上传真实有效的,最多9张</view>
 </view>
 <view class='imgbox'>
  <view class='img_item' wx:for='{{upimg}}' wx:key>
   <view class='close_box' bindtap='del_upimg' data-index='{{index}}'>
    <image src='https://wxapp.xianghejia.cn/imgs/bicon07@2x.png'></image>
   </view>
   <image src='{{item}}' bindtap="imgYu" data-list="{{upimg}}"  src="{{item}}" data-rsc='{{item}}'></image>
  </view>
  <view class='add_item' bindtap='uploadImages' wx:if='{{upimg.length<9}}'>
   <view class='iconfont icon-jia1'></view>
  </view>
 </view>
 <view class='btn' bindtap='submit'>确认提交</view>
</view>