@if(empty($records))
    <tr>
        <td colspan="3">
            <div class="empty-container">暂无记录</div>
        </td>
    </tr>
@else
    @foreach($records as $record)
        <tr>
            <td>
                <span class="uk-text-muted">{{$record['created_at']}}</span>
            </td>
            <td>
                @if($record['change']>0)
                    <span class="uk-text-success">+{{$record['change']}}</span>
                @else
                    <span class="uk-text-danger">{{$record['change']}}</span>
                @endif
            </td>
            <td>{{$record['remark']}}</td>
        </tr>
    @endforeach
@endif