show.blade.php 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. @extends('base.base')
  2. @section('base')
  3. <!-- 内容区域 -->
  4. <style type="text/css">
  5. .table th {
  6. padding: 0.8375rem;
  7. vertical-align: top;
  8. border-top: 1px solid #ebedf2;
  9. }
  10. </style>
  11. <div class="main-panel">
  12. <div class="content-wrapper">
  13. <div class="page-header">
  14. <h3 class="page-title">
  15. <span class="page-title-icon bg-gradient-primary text-white mr-2">
  16. <i class="mdi mdi-settings"></i>
  17. </span>
  18. {{ __('auto.轮数统计') }}
  19. </h3>
  20. <nav aria-label="breadcrumb">
  21. <ol class="breadcrumb">
  22. <li class="breadcrumb-item"><a href="#">{{ __('auto.轮数统计') }}</a></li>
  23. <li class="breadcrumb-item active" aria-current="page">{{ __('auto.房间服务端数据统计') }}</li>
  24. </ol>
  25. </nav>
  26. </div>
  27. <div class="row">
  28. <div class="col-lg-12 grid-margin stretch-card">
  29. <div class="card">
  30. <div class="card-body">
  31. <h4 class="card-title">{{ __('auto.轮数统计') }}</h4>
  32. <table class="table table-bordered">
  33. <thead>
  34. <tr>
  35. <th >{{ __('auto.平均轮数') }}</th>
  36. <th>{{$RsltSysAverageRound}}</th>
  37. </tr>
  38. </thead>
  39. <tbody>
  40. @foreach($list as $v)
  41. <tr>
  42. <td>{{$v->GameRound}}</td>
  43. <td>{{$v->RoundCount}}</td>
  44. </tr>
  45. @endforeach
  46. </tbody>
  47. </table>
  48. <div class="box-footer clearfix">
  49. {{ __('auto.总共') }} <b>{{ $list->appends([])->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  50. {!! $list->links() !!}
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. <script>
  59. $(function () {
  60. cutStr(50);
  61. });
  62. function show(id) {
  63. var page = layer.open({
  64. type: 2,
  65. title: '{{ __('auto.修改配置') }}',
  66. shadeClose: true,
  67. shade: 0.8,
  68. area: ['70%', '90%'],
  69. content: '/admin/gold/service_data/show/' + id
  70. });
  71. }
  72. function del(id) {
  73. myConfirm("{{ __('auto.删除操作不可逆,是否继续') }}?", function () {
  74. myRequest("/admin/accusation/del/" + id, "post", {}, function (res) {
  75. layer.msg(res.msg)
  76. setTimeout(function () {
  77. window.location.reload();
  78. }, 1500)
  79. });
  80. });
  81. }
  82. </script>
  83. @endsection