fish_stock_list.blade.php 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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.配置') }}ID</th>
  29. <th width="8%">{{ __('auto.游戏级别') }}</th>
  30. <th width="8%">{{ __('auto.水池') }}</th>
  31. <th width="8%"></th>
  32. <th width="8%"></th>
  33. <th width="8%"></th>
  34. <th width="8%"></th>
  35. <th width="8%"></th>
  36. <th width="8%"></th>
  37. <th width="8%"></th>
  38. </tr>
  39. </thead>
  40. <tbody>
  41. @foreach($list as $k=>$v)
  42. <tr>
  43. <td>{{ $v->GameID }}</td>
  44. <td>{{ $v->SortName }}</td>
  45. @foreach($v->RoomStock as $v1)
  46. <td>{{$v1}}</td>
  47. @endforeach
  48. </tr>
  49. @endforeach
  50. </tbody>
  51. </table>
  52. <div class="box-footer clearfix">
  53. {{ __('auto.总共') }} <b>{{ $list->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  54. {!! $list->links() !!}
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. <script>
  63. function edit(id,level){
  64. var page = layer.open({
  65. type: 2,
  66. title: '{{ __('auto.配置修改') }}',
  67. shadeClose: true,
  68. shade: 0.8,
  69. area: ['70%', '90%'],
  70. content: '/admin/gold/gameconfig/update/'+id+'?level='+level
  71. });
  72. }
  73. </script>
  74. @endsection