control_config_info.blade.php 5.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 >{{ __('auto.认定新手税收参数') }}</th>
  29. <th >{{ __('auto.新手计算参数') }}</th>
  30. <th >{{ __('auto.初始赠送金币数参数') }}</th>
  31. <th>{{ __('auto.新手赠送增量上限参数') }}</th>
  32. <th >{{ __('auto.等份值') }}</th>
  33. <th >{{ __('auto.充值下限') }}</th>
  34. <th >{{ __('auto.充值上限') }}</th>
  35. <th >{{ __('auto.用户控制上限参数百分比') }}</th>
  36. <th >{{ __('auto.用户控制下限参数百分比') }}</th>
  37. <th >{{ __('auto.充值基准系数参数百分比') }}</th>
  38. <th >{{ __('auto.茶叶基准系数参数百分比') }}</th>
  39. <th>{{ __('auto.是否生效') }}</th>
  40. <th>{{ __('auto.操作') }}</th>
  41. </tr>
  42. </thead>
  43. <tbody>
  44. @foreach($list as $k=>$v)
  45. <tr>
  46. <td>{{ $v->NewManFee }}</td>
  47. <td>{{ $v->NewManParam }}</td>
  48. <td>{{ $v->GrountGold }}</td>
  49. <td>{{ $v->GrountGoldMax }}</td>
  50. <td>{{ $v->ControlParam }}</td>
  51. <th >{{ $v->RechargeMin }}</th>
  52. <th >{{ $v->RechargeMax }}</th>
  53. <td>{{ $v->UserControlWin }}</td>
  54. <td>{{ $v->UserControlLost }}</td>
  55. <td>{{ $v->PayCalPercent }}</td>
  56. <td>{{ $v->DrawCalPercent }}</td>
  57. <td>
  58. @if ($v->Status == 1)
  59. {{ __('auto.生效') }}
  60. @else
  61. {{ __('auto.无效') }}
  62. @endif
  63. </td>
  64. <td>
  65. <button class="btn btn-sm btn-gradient-dark" onclick="update({{$v->ID}})">{{ __('auto.修改') }}</button>
  66. </td>
  67. </tr>
  68. @endforeach
  69. </tbody>
  70. </table>
  71. {{-- <div class="box-footer clearfix">--}}
  72. {{-- {{ __('auto.总共') }} <b>{{ $list->appends(['start_time'=>$start_time,'end_time'=>$end_time])->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}--}}
  73. {{-- {!! $list->links() !!}--}}
  74. {{-- </div>--}}
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <script>
  82. function update(ID) {
  83. var page = layer.open({
  84. type: 2,
  85. title: '{{ __('auto.修改配置') }}',
  86. shadeClose: true,
  87. offset: 't',
  88. shade: 0.8,
  89. area: ['80%', '90%'],
  90. content: '/admin/Control/control_config_info_update/'+ ID
  91. });
  92. }
  93. </script>
  94. @endsection