vip_classify.blade.php 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. VIP{{ __('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">VIP{{ __('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">VIP{{ __('auto.等级分布') }}</h4>
  25. <table class="table table-bordered">
  26. <thead>
  27. <tr>
  28. <th width="8%">VIP{{ __('auto.等级') }}</th>
  29. <th width="8%">{{ __('auto.总人数') }}</th>
  30. <th width="10%">{{ __('auto.当前人数') }}</th>
  31. <th width="10%">{{ __('auto.过期人数') }}</th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. @foreach($list as $k=>$v)
  36. <tr>
  37. <td>{{ $v['MemberOrder'] }}</td>
  38. <td>{{ $v['VipAllCount'] }}</td>
  39. <td>{{ $v['VipNowCount'] }}</td>
  40. <td>{{ $v['VipOldCount'] }}</td>
  41. </tr>
  42. @endforeach
  43. </tbody>
  44. </table>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. <script>
  52. $(function(){
  53. cutStr(50);
  54. });
  55. function update(id){
  56. myConfirm("{{ __('auto.处理操作不可逆,是否继续') }}?",function(){
  57. myRequest("/admin/accusation/edit/"+id,"post",{},function(res){
  58. layer.msg(res.msg)
  59. setTimeout(function(){
  60. window.location.reload();
  61. },1500)
  62. });
  63. });
  64. }
  65. function del(id){
  66. myConfirm("{{ __('auto.删除操作不可逆,是否继续') }}?",function(){
  67. myRequest("/admin/accusation/del/"+id,"post",{},function(res){
  68. layer.msg(res.msg)
  69. setTimeout(function(){
  70. window.location.reload();
  71. },1500)
  72. });
  73. });
  74. }
  75. </script>
  76. @endsection