@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">
                            <h4 class="card-title">{{ __('auto.福卡发放详情') }}</h4>
                            <form class="well form-inline margin-top-20" method="get" action='/admin/exchange/revenueinfo'>
                                <spen style="padding-left: 10px" >{{ __('auto.选择时间：') }}</spen>
                                <input type="date"  step="01" name="start_time" class="form-control" value="{{$start_time}}" />&nbsp;&nbsp;
                                <input type="date"  step="01" name="end_time" class="form-control" value="{{$end_time}}" />&nbsp;&nbsp;
                                <span style="padding-left: 5px;" >{{ __('auto.按消耗排序：') }}</span>
                                <input type="radio" name="sort" value="1">&nbsp;
                                <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.搜索') }}"/>&nbsp;&nbsp;
                                <a href="/admin/exchange/revenueinfo" class="btn btn-sm btn-gradient-warning btn-icon-text">{{ __('auto.清空') }}</a>&nbsp;&nbsp;
                                <a href="/admin/exchange/revenueinfo?excel=1&start_time={{$start_time}}&end_time={{$end_time}}" class="btn btn-sm btn-gradient-light btn-icon-text">{{ __('auto.导出') }}</a>
                            </form>
                            <table class="table table-bordered">
                                <thead>
                                <tr>
                                    <th width="5%">{{ __('auto.玩家游戏') }}ID</th>
                                    <th width="7%">{{ __('auto.玩家昵称') }}</th>
                                    <th width="10%" style="font-weight:bold;">{{ __('auto.福卡收入') }}</th>
                                    <th width="10%">{{ __('auto.福卡任务') }}</th>
                                    <th width="8%">{{ __('auto.捕鱼比赛') }}</th>
                                    <th width="8%">{{ __('auto.大抽奖') }}</th>
                                    <th width="8%" style="font-weight:bold;">{{ __('auto.福卡消耗') }}</th>
                                    <th width="8%">{{ __('auto.幸运兑换') }}</th>
                                    <th width="8%">{{ __('auto.福利中心') }}</th>
                                </tr>
                                </thead>
                                <tbody>
                                @foreach($list as $k=>$v)
                                    <tr>
                                        <td>{{ $v['gameid'] }}</td>
                                        <td>{{ $v['nickname'] }}</td>
                                        <td>{{ $v['expenditure'] }}</td>
                                        <td>{{ $v['31'] }}</td>
                                        <td>{{ $v['32'] }}</td>
                                        <td>{{ $v['26'] }}</td>
                                        <td>{{ $v['recovery'] }}</td>
                                        <td>{{ $v['29'] }}</td>
                                        <td>{{ $v['30'] }}</td>
                                    </tr>
                                @endforeach
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
