user_detail.blade.php 5.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. @extends('base.base')
  2. @section('base')
  3. <!-- 内容区域 -->
  4. <div class="main-panel">
  5. <div class="content-wrapper">
  6. <div class="page-header">
  7. <h3 class="page-title">
  8. <span class="page-title-icon bg-gradient-primary text-white mr-2">
  9. <i class="mdi mdi-settings"></i>
  10. </span>
  11. 用户数据详情
  12. </h3>
  13. <nav aria-label="breadcrumb">
  14. <ol class="breadcrumb">
  15. <li class="breadcrumb-item"><a href="#">User Game Data</a></li>
  16. <li class="breadcrumb-item active" aria-current="page">用户数据详情</li>
  17. </ol>
  18. </nav>
  19. </div>
  20. <div class="row">
  21. <div class="col-lg-12 grid-margin stretch-card">
  22. <div class="card">
  23. <div class="card-body">
  24. <h4 class="card-title">用户数据详情</h4>
  25. <form class="well form-inline margin-top-20" method="get" action="">
  26. <span style="padding-left: 10px">用户ID:</span>
  27. <input type="text" name="user_id" class="form-control" value="{{ $user_id }}" placeholder="请输入用户ID" required>
  28. <span style="padding-left: 10px">开始日期:</span>
  29. <input type="date" name="start_date" class="form-control" value="{{ $start_date }}">
  30. <span style="padding-left: 10px">结束日期:</span>
  31. <input type="date" name="end_date" class="form-control" value="{{ $end_date }}">
  32. <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="查询"/>&nbsp;&nbsp;
  33. </form>
  34. <table class="table table-bordered">
  35. <thead>
  36. <tr>
  37. <th width="7%">日期</th>
  38. <th width="7%">{{ __('auto.用户') }}ID</th>
  39. <th width="10%">{{ __('auto.游戏昵称') }}</th>
  40. <th width="10%">{{ __('auto.玩家渠道') }}</th>
  41. <th width="10%">Win</th>
  42. <th width="10%">MaxWinScore</th>
  43. <th width="10%">MaxDrawBase</th>
  44. <th width="10%">TotalBet</th>
  45. <th width="10%">Revenue</th>
  46. <th width="10%">Recharge</th>
  47. <th width="10%">Withdraw</th>
  48. <th width="10%">{{ __('auto.最后登录时间') }}</th>
  49. <th width="10%">{{ __('auto.注册时间') }}</th>
  50. </tr>
  51. </thead>
  52. <tbody>
  53. @if($list && count($list))
  54. @foreach($list as $v)
  55. <tr>
  56. <td>{{ date('Y-m-d', strtotime($v->DateID)) }}</td>
  57. <td>{{ $v->GameID }}</td>
  58. <td>{{ $v->NickName }}</td>
  59. <td>{{ $v->Channel }}</td>
  60. <td>{{ $v->Score/100 }}</td>
  61. <td>{{ $v->MaxWinScore/100 }}</td>
  62. <td>{{ $v->MaxDrawBase/100 }}</td>
  63. <td>{{ $v->TotalBet/100 }}</td>
  64. <td>{{ $v->Revenue/100 }}</td>
  65. <td>{{ $v->Recharge }}</td>
  66. <td>{{ $v->Withdraw/100 }}</td>
  67. <td>{{ $v->LastLogonDate }}</td>
  68. <td>{{ $v->RegisterDate }}</td>
  69. </tr>
  70. @endforeach
  71. @else
  72. <tr><td colspan="13" style="text-align:center;">暂无数据</td></tr>
  73. @endif
  74. </tbody>
  75. </table>
  76. @if($list)
  77. <div class="box-footer clearfix">
  78. {{ __('auto.总共') }}
  79. <b>{{ $list->appends([
  80. 'user_id'=>$user_id,
  81. 'start_date'=>$start_date,
  82. 'end_date'=>$end_date,
  83. ])->total() }}</b>
  84. {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  85. {!! $list->links() !!}
  86. </div>
  87. @endif
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. @endsection