recharge_list.blade.php 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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/recharge'>
  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/recharge" class="btn btn-sm btn-gradient-warning btn-icon-text">{{ __('auto.清空') }}</a>&nbsp;&nbsp;
  31. <a href="/admin/gold/recharge?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. <th width="5%">ARPU</th>
  47. <th width="5%">ARPPU</th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. @foreach($list as $k=>$v)
  52. <tr>
  53. <td>{{ $v->RecordDate }}</td>
  54. <td>{{ $v->week }}</td>
  55. <td>{{ $v->TotalRechargeMoney }}</td>
  56. <td>{{ $v->TodayUsers }}</td>
  57. <td>{{ $v->TodayNewUsers }}</td>
  58. {{-- <td></td>--}}
  59. {{-- <td></td>--}}
  60. {{-- <td></td>--}}
  61. {{-- <td></td>--}}
  62. <td>{{$v->recharge_rate}}%</td>
  63. <td>{{$v->arpu}}</td>
  64. <td>{{$v->arppu}}</td>
  65. </tr>
  66. @endforeach
  67. </tbody>
  68. </table>
  69. <div class="box-footer clearfix">
  70. {{ __('auto.总共') }} <b>{{ $list->appends(['start_time'=>$start_time,'end_time'=>$end_time])->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  71. {!! $list->links() !!}
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. <script>
  80. $(function(){
  81. cutStr(50);
  82. });
  83. function update(id){
  84. myConfirm("{{ __('auto.处理操作不可逆,是否继续') }}?",function(){
  85. myRequest("/admin/accusation/edit/"+id,"post",{},function(res){
  86. layer.msg(res.msg)
  87. setTimeout(function(){
  88. window.location.reload();
  89. },1500)
  90. });
  91. });
  92. }
  93. function del(id){
  94. myConfirm("{{ __('auto.删除操作不可逆,是否继续') }}?",function(){
  95. myRequest("/admin/accusation/del/"+id,"post",{},function(res){
  96. layer.msg(res.msg)
  97. setTimeout(function(){
  98. window.location.reload();
  99. },1500)
  100. });
  101. });
  102. }
  103. </script>
  104. @endsection