<view class="reward">
    <view class="detail">
        <view class="reward-box">
            <view class="reward ul">
                <view class="li">
                    <text class="span">{{amount}}</text>
                    <text class="span">奖励积分</text>
                </view>
                <view class="li">
                    <text class="span">{{amount_finishi}}</text>
                    <text class="span">已奖励积分</text>
                </view>
                <view class="li">
                    <text class="span">{{amount_surplus}}</text>
                    <text class="span">未奖励积分</text>
                </view>
            </view>
            <view class="reward-list">
                <view class="border" style="text-align:center;">奖励记录</view>
                <view class="list ul" wx:for="{{list}}" wx:key="index">
                    <view class="h1">
                        <text class="span">奖励记录ID：{{item.id}}</text>
                        <text class="span">{{item.amount}}</text>
                    </view>
                    <view class="li">
                        <text class="span">时间ID:{{item.id}}</text>
                        <text class="span">{{item.created_at}}</text>
                    </view>
                    <view class="li" data-id="{{item.id}}" catchtap="gotoDetail">
                        <text class="span">查看记录</text>
                        <van-icon name="arrow" class="fa fa-angle-right"></van-icon>
                    </view>
                </view>
            </view>
        </view>
    </view>
</view>
<shopfoot></shopfoot>