<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
    <view slot="info" class="main" style="height:{{infoHeight}}px;">
        <view class="one" wx:key="item" wx:for="{{list}}">
            <view class="two">
                <view class="two_l">
                    <view class="text1">{{item.apply_user}}
                        <text class="text3">{{item.status=='1'?'已通过':item.status=='0'?'待通过':'已驳回'}}</text>
                    </view>
                    <view class="text2">申请时间：{{item.apply_time}}</view>
                </view>
                <view class="two_r">
                    <button size="mini" wx:if="{{item.status=='0'}}" bindtap="reject" data-id="{{item._id}}" class="btn1">驳回</button>
                    <button size="mini" wx:if="{{item.status=='0'}}"  bindtap="adopt" data-id="{{item._id}}" data-id1="{{item.apply_id}}" class="btn2">通过</button>
                </view>

            </view>
        </view>
    </view>
</mobile-main>