admin.wxml
1.9 KB
<block wx:for='{{datalist}}' wx:key="index">
<view class='adminitem'>
<navigator class='admin_left' url='/pages/close_apply/close_apply?id={{item.user_id}}' hover-class="none">
<view class='admin_img'>
<image src='{{item.photo?item.photo:"https://volunteer.cnpu.org/imgs/wode_02@2x.png"}}' mode="aspectFill"></image>
</view>
<view class='admin_txt'>
<view class='admin_txttitle'>{{item.name}}</view>
<view>{{item.province}}</view>
</view>
</navigator>
<view class='admin_rigth' wx:if="{{type == 1}}">
<view class='admin_buttom {{item.status=="3"?"admin_active":""}}' data-id='{{item.id}}' data-idi='{{item.status}}' data-status='3' data-index='{{index}}' bindtap='change_cover'>不通过</view>
<view class='admin_buttom {{item.status !="3"?"admin_active":""}}' data-id='{{item.id}}' data-status='2' data-index='{{index}}' bindtap='pass'>通过</view>
</view>
<view class="add_time" wx:if="{{type == 2}}" bindtap='change_cover' data-index='{{index}}' data-id='{{item.user_id}}'>添加工时</view>
</view>
<view class='vold_line'></view>
</block>
<view class="cover_box" catchtouchmove="true" wx:if="{{cover_type}}" style=" bottom: {{input_bottom}}px;">
<view class="show_box">
<view class="s_title">{{type>1?'请输入工时':'请输入未通过理由'}}</view>
<textarea placeholder="请输入..." class="word_area {{type>1?'active':''}}" value="{{word}}" bindinput="get_word" wx:if="{{type==1}}" adjust-position='{{false}}' bindfocus="focus" bindblur='no_focus'/>
<input placeholder="请输入..." class="word_area active" value="{{word}}" bindinput="get_word" type="number" wx:if="{{type==2}}" adjust-position='{{false}}' bindfocus="focus" bindblur='no_focus'/>
<view class="submit" catchtap="{{type>1?'add_time':'reject'}}">确认</view>
<image src="/imgs/close.png" class="close" catchtap="change_cover"/>
</view>
</view>