list.blade.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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="#">用户管理</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">总充值 ≤</span>
  27. <input type="number" name="recharge_max" class="form-control" value="{{ $recharge_max ?? 300 }}" placeholder="充值上限">
  28. <span style="padding-left: 10px">总提现 &gt;</span>
  29. <input type="number" name="withdraw_min" class="form-control" value="{{ $withdraw_min ?? 1000 }}" placeholder="提现下限">
  30. <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="搜索"/>&nbsp;&nbsp;
  31. </form>
  32. <table class="table table-bordered">
  33. <thead>
  34. <tr>
  35. <th width="7%">用户ID</th>
  36. <th width="10%">游戏昵称</th>
  37. <th width="10%">渠道</th>
  38. <th width="10%">总输赢</th>
  39. <th width="10%">总税收</th>
  40. <th width="10%">总提现</th>
  41. <th width="10%">总充值</th>
  42. <th width="10%">总下注</th>
  43. <th width="10%">总充值次数</th>
  44. <th width="10%">最后登录时间</th>
  45. <th width="10%">注册时间</th>
  46. </tr>
  47. </thead>
  48. <tbody>
  49. @foreach($list as $v)
  50. <tr>
  51. <td>
  52. <a href="/admin/global/id_find?UserID={{ $v->UserID }}">{{ $v->GameID }}</a>
  53. </td>
  54. <td>{{ $v->NickName }}</td>
  55. <td>{{ $v->Channel }}</td>
  56. <td>{{ $v->TotalScore/100 }}</td>
  57. <td>{{ $v->Revenue/100 }}</td>
  58. <td>{{ $v->Withdraw/100 }}</td>
  59. <td>{{ $v->Recharge }}</td>
  60. <td>{{ $v->TotalBet/100 }}</td>
  61. <td>{{ $v->RechargeTimes }}</td>
  62. <td>{{ $v->LastLogonDate }}</td>
  63. <td>{{ $v->RegisterDate }}</td>
  64. </tr>
  65. @endforeach
  66. </tbody>
  67. </table>
  68. <div class="box-footer clearfix">
  69. 总共 <b>{{ $list->appends([
  70. 'recharge_max'=>$recharge_max,
  71. 'withdraw_min'=>$withdraw_min,
  72. ])->total() }}</b> 条, 分为 <b>{{ $list->lastPage() }}</b> 页
  73. {!! $list->links() !!}
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. @endsection