gold_list.blade.php 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. {{ __('auto.金币数据') }}
  12. </h3>
  13. <nav aria-label="breadcrumb">
  14. <ol class="breadcrumb">
  15. <li class="breadcrumb-item"><a href="#">{{ __('auto.金币场管理') }}</a></li>
  16. <li class="breadcrumb-item active" aria-current="page">{{ __('auto.金币数据') }}</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">{{ __('auto.金币数据') }}</h4>
  25. <form class="well form-inline margin-top-20" method="get" action='/admin/gold/gold'>
  26. <spen style="padding-left: 10px" >{{ __('auto.选择时间:') }}</spen>
  27. <input type="date" step="01" name="start_time" class="form-control" value="{{$start_time}}" />&nbsp;&nbsp;
  28. <input type="date" step="01" name="end_time" class="form-control" value="{{$end_time}}" />&nbsp;&nbsp;
  29. <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.搜索') }}"/>&nbsp;&nbsp;
  30. <a href="/admin/gold/gold" class="btn btn-sm btn-gradient-warning btn-icon-text">{{ __('auto.清空') }}</a>&nbsp;&nbsp;
  31. <a href="/admin/gold/gold?excel=1&start_time={{$start_time}}&end_time={{$end_time}}" class="btn btn-sm btn-gradient-light btn-icon-text">{{ __('auto.导出') }}</a>
  32. </form>
  33. <table class="table table-bordered">
  34. <thead>
  35. <tr>
  36. <th width="6%">{{ __('auto.时间') }}</th>
  37. <th width="4%">{{ __('auto.星期') }}</th>
  38. <th width="6%">{{ __('auto.总金币池') }}</th>
  39. <th width="6%">{{ __('auto.金币收入') }}</th>
  40. <th width="6%">{{ __('auto.日发放总额') }}</th>
  41. <th width="6%">{{ __('auto.日活跃资金量') }}</th>
  42. <th width="6%">{{ __('auto.日流通量总额') }}</th>
  43. <th width="8%">{{ __('auto.机器人输赢') }}</th>
  44. <th width="6%">{{ __('auto.税收') }}</th>
  45. <th width="6%">{{ __('auto.金币场次') }}</th>
  46. </tr>
  47. </thead>
  48. <tbody>
  49. @foreach($list as $k=>$v)
  50. <tr>
  51. <td>{{ $v->mydate }}</td>
  52. <td>{{ $v->week }}</td>
  53. <td>{{ $v->AllScore }}</td>
  54. <td>{{ $v->gold }}</td>
  55. <td>{{ $v->AllOutScore }}</td>
  56. <td>{{ $v->AllActiveUserScore}}</td>
  57. <td>{{ $v->AllWorkingScore}}</td>
  58. <td>{{ $v->Waste}}</td>
  59. <td>{{ $v->Revenue}}</td>
  60. <td>{{ $v->PlayCount}}</td>
  61. </tr>
  62. @endforeach
  63. </tbody>
  64. </table>
  65. <div class="box-footer clearfix">
  66. {{ __('auto.总共') }} <b>{{ $list->appends(['start_time'=>$start_time,'end_time'=>$end_time])->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  67. {!! $list->links() !!}
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <script>
  76. $(function(){
  77. cutStr(50);
  78. });
  79. function update(id){
  80. myConfirm("{{ __('auto.处理操作不可逆,是否继续') }}?",function(){
  81. myRequest("/admin/accusation/edit/"+id,"post",{},function(res){
  82. layer.msg(res.msg)
  83. setTimeout(function(){
  84. window.location.reload();
  85. },1500)
  86. });
  87. });
  88. }
  89. function del(id){
  90. myConfirm("{{ __('auto.删除操作不可逆,是否继续') }}?",function(){
  91. myRequest("/admin/accusation/del/"+id,"post",{},function(res){
  92. layer.msg(res.msg)
  93. setTimeout(function(){
  94. window.location.reload();
  95. },1500)
  96. });
  97. });
  98. }
  99. </script>
  100. @endsection