@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 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">
                        <a href="javascript:history.back(-1)">{{ __('auto.返回上一页') }}</a>
                        <h3 class="card-title">{{ __('auto.关联姓名：') }}{{$name ?? ""}}</h3>

                        <table class="table table-bordered">
                            <thead>
                            <tr>
                                <th width="6%">{{ __('auto.会员') }}ID</th>
                                <th width="6%">{{ __('auto.姓名') }}</th>
                                <th width="6%">{{ __('auto.渠道名称') }}</th>
                                <th width="6%">{{ __('auto.注册日期') }}</th>

                            </tr>
                            </thead>
                            <tbody>
                            @foreach( $list as $k=>$v)
                                <tr>
                                    <td>{{$v->UserID}}</td>
                                    <td>{{$v->Compellation}}</td>
                                    <td>{{$v->Accounts}}</td>
                                    <td>{{$v->RegisterDate}}</td>
                                </tr>
                            @endforeach
                            </tbody>
                        </table>
                        <div class="box-footer clearfix">
                            {{ __('auto.总共') }} <b>{{ $list->appends([
                                        'id'=>$id,
                                        'name'=>$name ?? ""
                                    ])->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
                            {!! $list->links() !!}
                        </div>

                </div>
            </div>
        </div>
    </div>
</div>

@endsection
