operate_detail.blade.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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/operate'>
  26. <a href="/admin/gold/operate" class="btn btn-sm btn-gradient-info btn-icon-text">{{ __('auto.返回') }}</a>
  27. <a href="/admin/gold/operate_detail/{{$id}}?excel=1" class="btn btn-sm btn-gradient-light btn-icon-text">{{ __('auto.导出') }}</a>
  28. </form>
  29. <table class="table table-bordered">
  30. <thead>
  31. <tr>
  32. <th width="6%">{{ __('auto.名称') }}</th>
  33. <th width="4%">{{ __('auto.展现次数') }}</th>
  34. <th width="6%">{{ __('auto.转化率') }}</th>
  35. <th width="6%">{{ __('auto.点击次数') }}</th>
  36. <th width="6%">{{ __('auto.转化率') }}</th>
  37. <th width="6%">{{ __('auto.完成次数') }}</th>
  38. </tr>
  39. </thead>
  40. <tbody>
  41. @foreach($list as $k=>$v)
  42. <tr>
  43. <td>{{ $v['name'] }}</td>
  44. <td>{{ $v['count0'] }}</td>
  45. <td>{{ $v['rate1'] }}</td>
  46. <td>{{ $v['count1'] }}</td>
  47. <td>{{ $v['rate2'] }}</td>
  48. <td>{{ $v['count2'] }}</td>
  49. </tr>
  50. @endforeach
  51. </tbody>
  52. </table>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. <script>
  60. $(function(){
  61. cutStr(50);
  62. });
  63. function update(id){
  64. myConfirm("{{ __('auto.处理操作不可逆,是否继续') }}?",function(){
  65. myRequest("/admin/accusation/edit/"+id,"post",{},function(res){
  66. layer.msg(res.msg)
  67. setTimeout(function(){
  68. window.location.reload();
  69. },1500)
  70. });
  71. });
  72. }
  73. </script>
  74. @endsection