user_classify.blade.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. <table class="table table-bordered">
  26. <thead>
  27. <tr>
  28. <th width="8%">{{ __('auto.操作系统') }}</th>
  29. <th width="8%">{{ __('auto.总用户数') }}</th>
  30. <th width="10%">{{ __('auto.活跃用户数') }}</th>
  31. <th width="10%">{{ __('auto.累计充值金额') }}</th>
  32. <th width="10%">{{ __('auto.充值用户数') }}</th>
  33. <th width="6%">{{ __('auto.充值率') }}</th>
  34. <th width="5%">ARPU</th>
  35. <th width="5%">ARPPU</th>
  36. <th width="10%">{{ __('auto.男女比例') }}</th>
  37. </tr>
  38. </thead>
  39. <tbody>
  40. @foreach($list as $k=>$v)
  41. <tr>
  42. <td>{{ $v['type'] }}</td>
  43. <td>{{ $v['num'] }}</td>
  44. <td>{{ $v['lively_num'] }}</td>
  45. <td>{{ $v['recharge'] }}</td>
  46. <td>{{ $v['recharge_num'] }}</td>
  47. <td>{{ $v['recharge_ratio'] }}</td>
  48. <td>{{ $v['arpu'] }}</td>
  49. <td>{{ $v['arppu'] }}</td>
  50. <td>{{ $v['ratio'] }}</td>
  51. </tr>
  52. @endforeach
  53. </tbody>
  54. </table>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. <script>
  62. $(function(){
  63. cutStr(50);
  64. });
  65. function update(id){
  66. myConfirm("{{ __('auto.处理操作不可逆,是否继续') }}?",function(){
  67. myRequest("/admin/accusation/edit/"+id,"post",{},function(res){
  68. layer.msg(res.msg)
  69. setTimeout(function(){
  70. window.location.reload();
  71. },1500)
  72. });
  73. });
  74. }
  75. function del(id){
  76. myConfirm("{{ __('auto.删除操作不可逆,是否继续') }}?",function(){
  77. myRequest("/admin/accusation/del/"+id,"post",{},function(res){
  78. layer.msg(res.msg)
  79. setTimeout(function(){
  80. window.location.reload();
  81. },1500)
  82. });
  83. });
  84. }
  85. </script>
  86. @endsection