game_record.blade.php 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. <div>
  25. <a href="#" onclick="javascript:history.back(-1);">{{ __('auto.返回到上一页') }}</a>
  26. </div>
  27. <div class="row" style="margin:8px 8px">
  28. {{ __('auto.会员ID:') }}{{$gameId}}
  29. &nbsp;&nbsp;<button class="btn btn-gradient-danger btn-sm" onclick="click_down('{{$UniqueCode}}')">{{ __('auto.点击查看对局信息') }}</button>
  30. </div>
  31. <table class="table table-bordered">
  32. <thead>
  33. <tr>
  34. <th width="5%">{{ __('auto.对局编码') }}</th>
  35. <th width="5%">{{ __('auto.游戏') }}ID</th>
  36. <th width="5%">{{ __('auto.游戏场次') }}-{{ __('auto.桌') }}</th>
  37. <th width="6%">{{ __('auto.开始时间') }}</th>
  38. <th width="6%">{{ __('auto.结束时间') }}</th>
  39. <th width="8%">{{ __('auto.个人本局税收') }}</th>
  40. <th width="8%">{{ __('auto.总输赢(含税)') }}</th>
  41. <th width="6%">{{ __('auto.当局结束剩余金豆') }}</th>
  42. <th width="6%">{{ __('auto.当局是否主动放弃') }}</th>
  43. <th width="6%">{{ __('auto.本局是否当庄') }}</th>
  44. <th width="6%">{{ __('auto.当局大赢家') }}</th>
  45. </tr>
  46. </thead>
  47. <tbody>
  48. @foreach($list as $value)
  49. <tr>
  50. <td>
  51. {{$value->UniqueCode}}
  52. </td>
  53. <td>
  54. <a href="/admin/global/id_find?UserID={{$value->UserID}}">
  55. {{$value->GameID}}
  56. </a>
  57. </td>
  58. <td>{{$value->ServerName}}</td>
  59. <td>{{$value->UpdateTime}}</td>
  60. <td>{{$value->UpdateTime}}</td>
  61. <td>{{$value->Revenue}}</td>
  62. <td>{{$value->ChangeScore}} </td>
  63. <td>{{$value->AfterScore}}</td>
  64. <td></td>
  65. <td></td>
  66. <td></td>
  67. </tr>
  68. @endforeach
  69. </tbody>
  70. </table>
  71. <div class="box-footer clearfix" id = "pages">
  72. {{ __('auto.总共') }} <b>{{ $list->appends([
  73. 'list'=>$list,
  74. 'gameId' => $gameId,
  75. 'UniqueCode' => $UniqueCode,
  76. ])->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  77. {!! $list->links() !!}
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. <script>
  86. function click_down(UniqueCode){
  87. var page = layer.open({
  88. type: 2,
  89. title: '{{ __('auto.查看对局信息') }}'+ ' ' +UniqueCode,
  90. shadeClose: true,
  91. shade: 0.8,
  92. offset: 't',
  93. scrollbar:false,
  94. area: ['70%', '72%'],
  95. content: '/admin/global/match_information/'+UniqueCode
  96. });
  97. }
  98. </script>
  99. @endsection