@extends('base.base')
@section('base')
    <!-- 内容区域 -->
    <div class="main-panel">
        <div class="content-wrapper">
            <div class="page-header">
                <h3 class="page-title">
                     <span class="page-title-icon bg-gradient-primary text-white mr-2">
                        <i class="mdi mdi-settings"></i>
                    </span>
                    {{ __('auto.黑名单记录') }}
                </h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="#">{{ __('auto.用户控制') }}</a></li>
                        <li class="breadcrumb-item">{{ __('auto.黑名单列表') }}</li>
                        <li class="breadcrumb-item active" aria-current="page">{{ __('auto.黑名单记录') }}</li>
                    </ol>
                </nav>
            </div>
            <div class="row">
                <div class="col-lg-12 grid-margin stretch-card">
                    <div class="card">
                        <div class="card-body">
                            <h4 class="card-title">{{ __('auto.黑名单记录') }}</h4>
                            <table class="table table-bordered">
                                <thead>
                                <tr>
                                    <th>{{ __('auto.会员') }}ID</th>
                                    <th>{{ __('auto.昵称') }}</th>
                                    <th>{{ __('auto.渠道') }}</th>
                                    <th>{{ __('auto.解除黑名单时间') }}({{ __('auto.中国') }})</th>
                                    <th>{{ __('auto.操作人') }}</th>
                                </tr>
                                </thead>
                                <tbody>
                                @foreach($list as $k=>$v)
                                    <tr>
                                        <td><a href="/admin/global/id_find?UserID={{$v->UserID}}">
                                                {{ $v->GameID }}
                                            </a></td>
                                        <td>{{ $v->accountsInfo->NickName }}</td>
                                        <td>{{ $v->accountsInfo->Channel }}</td>
                                        <td>{{ $v->draw_base }}</td>
                                        <td>{{ $v->admin->nickname }}</td>
                                    </tr>
                                @endforeach
                                </tbody>
                            </table>
                            <div class="box-footer clearfix">
                                {{ __('auto.总共') }} <b>{{ $list->appends($request->all())->total() }}</b> {{ __('auto.条') }},
                                {{ __('auto.分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }} {!! $list->links() !!}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
