myfeedback_lists.wxml 1.9 KB
<view class="navbar">
    <view class="item {{nav==0?'choose':''}}" bindtap="bindNav" data-nav="{{0}}">待审核</view>
    <view class="item {{nav==1?'choose':''}}" bindtap="bindNav" data-nav="{{1}}">已发放</view>
    <view class="item {{nav==2?'choose':''}}" bindtap="bindNav" data-nav="{{2}}">已拒绝</view>
</view>
<!--待审核  -->
<view wx:if="{{nav==0}}">
    <view class="list" wx:for="{{list.data}}" bindtap="getdetail" data-id="{{item.id}}">
        <view>
            <image src="{{item.pic}}"></image>
        </view>
        <view class="list_right">
            <view>{{item.good_name}}</view>
            <view class="list_real" wx:if="{{item.is_real==1}}">真实物品</view>
            <view class="list_real" wx:else>虚拟物品</view>
            <view class="list_status" wx:if="{{item.status==0}}">待审核</view>
        </view>
    </view>
</view>
<!--已发放  -->
<view wx:if="{{nav==1}}">
    <view class="list" wx:for="{{list.data}}" bindtap="getdetail" data-id="{{item.id}}">
        <view>
            <image src="{{item.pic}}"></image>
        </view>
        <view class="list_right">
            <view>{{item.good_name}}</view>
            <view class="list_real" wx:if="{{item.is_real==1}}">真实物品</view>
            <view class="list_real" wx:else>虚拟物品</view>
            <view class="list_status" wx:if="{{item.status==1}}">已发放</view>
        </view>
    </view>

</view>
<!-- 已拒绝 -->
<view wx:else>
    <view class="list" wx:for="{{list.data}}" bindtap="getdetail" data-id="{{item.id}}">
        <view>
            <image src="{{item.pic}}"></image>
        </view>
        <view class="list_right">
            <view>{{item.good_name}}</view>
            <view class="list_real" wx:if="{{item.is_real==1}}">真实物品</view>
            <view class="list_real" wx:else>虚拟物品</view>
            <view class="list_status" wx:if="{{item.status==1}}">已拒绝</view>
        </view>
    </view>

</view>