control_config_info.blade.php 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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 >{{ __('免费用户最多赢分') }}</th>
  40. <th >{{ __('充值减值') }}</th>
  41. <th >{{ __('非vip用户跳出新手期后的个控') }}</th>
  42. <th>{{ __('auto.是否生效') }}</th>
  43. <th>{{ __('auto.操作') }}</th>
  44. </tr>
  45. </thead>
  46. <tbody>
  47. @foreach($list as $k=>$v)
  48. <tr>
  49. <td>{{ $v->NewManFee }}</td>
  50. <td>{{ $v->NewManParam }}</td>
  51. <td>{{ $v->GrountGold }}</td>
  52. <td>{{ $v->GrountGoldMax }}</td>
  53. <td>{{ $v->ControlParam }}</td>
  54. <th >{{ $v->RechargeMin }}</th>
  55. <th >{{ $v->RechargeMax }}</th>
  56. <td>{{ $v->UserControlWin }}</td>
  57. <td>{{ $v->UserControlLost }}</td>
  58. <td>{{ $v->PayCalPercent }}</td>
  59. <td>{{ $v->DrawCalPercent }}</td>
  60. <td>{{ $v->FreeWinMaxGold }}</td>
  61. <td>{{ $v->RechargeReduce }}</td>
  62. <td>{{ $v->FreeUserValue }}</td>
  63. <td>
  64. @if ($v->Status == 1)
  65. {{ __('auto.生效') }}
  66. @else
  67. {{ __('auto.无效') }}
  68. @endif
  69. </td>
  70. <td>
  71. <button class="btn btn-sm btn-gradient-dark" onclick="update({{$v->ID}})">{{ __('auto.修改') }}</button>
  72. </td>
  73. </tr>
  74. @endforeach
  75. </tbody>
  76. </table>
  77. {{-- <div class="box-footer clearfix">--}}
  78. {{-- {{ __('auto.总共') }} <b>{{ $list->appends(['start_time'=>$start_time,'end_time'=>$end_time])->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}--}}
  79. {{-- {!! $list->links() !!}--}}
  80. {{-- </div>--}}
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. <script>
  88. function update(ID) {
  89. var page = layer.open({
  90. type: 2,
  91. title: '{{ __('auto.修改配置') }}',
  92. shadeClose: true,
  93. offset: 't',
  94. shade: 0.8,
  95. area: ['80%', '90%'],
  96. content: '/admin/Control/control_config_info_update/'+ ID
  97. });
  98. }
  99. </script>
  100. @endsection