
<block wx:if="{{listsArr.length > 0}}">
    <view class="orders">
        <view class="order-item" wx:for="{{listsArr}}" wx:key="arrayIndex">
            <view class="order-flex" wx:for="{{item.items}}" wx:key="index" wx:for-item="items">
                <image class="order-cover" src="{{items.cover}}" mode="aspectFill"></image>
                <view class="order-content">
                    <view class="order-title nowrap">{{items.goods_name}}</view>
                    <view class="order-text">金额：<text>{{items.price}}</text></view>
                    <view class="order-text">数量：{{items.qty}}</view>
                </view>
            </view>
            <view class="order-state">
                <label>{{item.state.text}}</label>
                <view class="order-des">{{item.state.remark}}</view>
            </view>
            <view class="order-footer">
                <view class="order-total">总退款 <text>￥{{item.refund_total}}</text></view>
                <view class="order-btns">
                    <view class="item item-cancel" wx:if="{{item.can.user_cancel}}" bind:tap="onCancel" data-no="{{item.refund_no}}">取消售后</view>
                    <view class="item item-ok" bind:tap="onInfo" data-no="{{item.refund_no}}">售后详情</view>
                    <view class="item item-ok" wx:if="{{item.can.user_deliver}}" bind:tap="onDeliver" data-no="{{item.refund_no}}">寄回商品</view>
                </view>
            </view>
        </view>
        <view class="pagesLoding" wx:if="{{lodingStats}}">
            <block wx:if="{{page.has_more}}">
                <image class="pagesLoding-icon" src="/static/icons/refresh_loding.gif" mode="widthFix"></image>加载中...
            </block>
            <block wx:else>没有更多了~</block>
        </view>
    </view>
</block>
<block wx:else>
    <view class="pack-center pages-hint">
        <image src="/static/imgs/text_null.png"></image>
        <view>暂无可售后服务订单</view>
    </view>
</block>
