config.blade.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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. <form class="well form-inline margin-top-20" method="post" action='/admin/global/userlist'>
  26. <div>
  27. @csrf
  28. </div>
  29. </form>
  30. <table class="table table-bordered">
  31. <thead>
  32. <tr>
  33. <th width="6%">{{ __('auto.菜单名称') }}</th>
  34. <th width="4%">{{ __('auto.当前设定值') }}</th>
  35. <th width="6%">{{ __('auto.最后操作人') }}</th>
  36. <th width="6%">{{ __('auto.更新时间') }}</th>
  37. <th width="6%">{{ __('auto.操作') }}</th>
  38. </tr>
  39. </thead>
  40. <tbody class="search_checkbox">
  41. {{-- @foreach($list as $k=>$item)--}}
  42. <tr>
  43. <td>{{ __('auto.人工审核额度设置') }}</td>
  44. <td>{{$artificial->StatusValue}}</td>
  45. <td>{{$artificial->account}}</td>
  46. <td>{{$artificial->create_at}}</td>
  47. <td>
  48. @if (!session()->has('hidden'))
  49. <button type="button" class="btn btn-sm btn-gradient-dark btn-icon-text"
  50. onclick="update('rengong')">
  51. {{ __('auto.修改') }}
  52. <i class="mdi mdi-file-check btn-icon-append"></i>
  53. </button>
  54. @endif
  55. </td>
  56. </tr>
  57. <tr>
  58. <td>{{ __('auto.茶叶手续费设置') }}</td>
  59. <td>{{$fee->StatusValue}}%</td>
  60. <td>{{$fee->account}}</td>
  61. <td>{{$fee->create_at}}</td>
  62. <td>
  63. @if (!session()->has('hidden'))
  64. <button type="button" class="btn btn-sm btn-gradient-dark btn-icon-text"
  65. onclick="update('shouxufei')">
  66. {{ __('auto.修改') }}
  67. <i class="mdi mdi-file-check btn-icon-append"></i>
  68. </button>
  69. @endif
  70. </td>
  71. </tr>
  72. <tr>
  73. <td>{{ __('auto.茶叶金额比例设置') }}</td>
  74. <td>{{$proportion->StatusValue}}%</td>
  75. <td>{{$proportion->account}}</td>
  76. <td>{{$proportion->create_at}}</td>
  77. <td>
  78. @if (!session()->has('hidden'))
  79. <button type="button" class="btn btn-sm btn-gradient-dark btn-icon-text"
  80. onclick="update('bilie')">
  81. {{ __('auto.修改') }}
  82. <i class="mdi mdi-file-check btn-icon-append"></i>
  83. </button>
  84. @endif
  85. </td>
  86. </tr>
  87. <tr>
  88. <td>{{ __('auto.茶叶最低值') }}</td>
  89. <td>{{$WithDrawMin->StatusValue}}</td>
  90. <td>{{$WithDrawMin->account}}</td>
  91. <td>{{$WithDrawMin->create_at}}</td>
  92. <td>
  93. @if (!session()->has('hidden'))
  94. <button type="button" class="btn btn-sm btn-gradient-dark btn-icon-text"
  95. onclick="update('WithDrawMin')">
  96. {{ __('auto.修改') }}
  97. <i class="mdi mdi-file-check btn-icon-append"></i>
  98. </button>
  99. @endif
  100. </td>
  101. </tr>
  102. <tr>
  103. <td>{{ __('auto.茶叶最大值') }}</td>
  104. <td>{{$WithDrawMax->StatusValue}}</td>
  105. <td>{{$WithDrawMax->account}}</td>
  106. <td>{{$WithDrawMax->create_at}}</td>
  107. <td>
  108. @if (!session()->has('hidden'))
  109. <button type="button" class="btn btn-sm btn-gradient-dark btn-icon-text"
  110. onclick="update('WithDrawMax')">
  111. {{ __('auto.修改') }}
  112. <i class="mdi mdi-file-check btn-icon-append"></i>
  113. </button>
  114. @endif
  115. </td>
  116. </tr>
  117. <tr>
  118. <td>{{ __('auto.茶叶保底额度') }}</td>
  119. <td>{{$WithDrawPoint->StatusValue}}</td>
  120. <td>{{$WithDrawPoint->account}}</td>
  121. <td>{{$WithDrawPoint->create_at}}</td>
  122. <td>
  123. @if (!session()->has('hidden'))
  124. <button type="button" class="btn btn-sm btn-gradient-dark btn-icon-text"
  125. onclick="update('WithDrawPoint')">
  126. {{ __('auto.修改') }}
  127. <i class="mdi mdi-file-check btn-icon-append"></i>
  128. </button>
  129. @endif
  130. </td>
  131. </tr>
  132. <tr>
  133. <td>0{{ __('auto.充玩家茶叶限制最高额度') }}</td>
  134. <td>{{$MaxTXNotRecharge->StatusValue}}</td>
  135. <td>{{$MaxTXNotRecharge->account}}</td>
  136. <td>{{$MaxTXNotRecharge->create_at}}</td>
  137. <td>
  138. @if (!session()->has('hidden'))
  139. <button type="button" class="btn btn-sm btn-gradient-dark btn-icon-text"
  140. onclick="update('MaxTXNotRecharge')">
  141. {{ __('auto.修改') }}
  142. <i class="mdi mdi-file-check btn-icon-append"></i>
  143. </button>
  144. @endif
  145. </td>
  146. </tr>
  147. {{-- @endforeach--}}
  148. </tbody>
  149. </table>
  150. </div>
  151. </div>
  152. </div>
  153. </div>
  154. </div>
  155. </div>
  156. <script>
  157. function update(val) {
  158. if (val !== '') {
  159. if (val === 'rengong') {
  160. var page = layer.open({
  161. type: 2,
  162. title: '{{ __('auto.人工审核额度设置') }}',
  163. shadeClose: true,
  164. shade: 0.8,
  165. area: ['40%', '60%'],
  166. content: '/admin/withdrawal/artificial?'
  167. });
  168. } else if (val === 'shouxufei') {
  169. var page = layer.open({
  170. type: 2,
  171. title: '{{ __('auto.茶叶手续费设置') }}',
  172. shadeClose: true,
  173. shade: 0.8,
  174. area: ['40%', '60%'],
  175. content: '/admin/withdrawal/fee'
  176. });
  177. } else if (val === 'WithDrawMax') {
  178. var page = layer.open({
  179. type: 2,
  180. title: '{{ __('auto.茶叶最大值') }}',
  181. shadeClose: true,
  182. shade: 0.8,
  183. area: ['40%', '60%'],
  184. content: '/admin/withdrawal/WithDrawMax'
  185. });
  186. } else if (val === 'WithDrawMin') {
  187. var page = layer.open({
  188. type: 2,
  189. title: '{{ __('auto.茶叶最小值') }}',
  190. shadeClose: true,
  191. shade: 0.8,
  192. area: ['40%', '60%'],
  193. content: '/admin/withdrawal/WithDrawMin'
  194. });
  195. }else if (val === 'WithDrawPoint') {
  196. var page = layer.open({
  197. type: 2,
  198. title: '{{ __('auto.茶叶保底额度') }}',
  199. shadeClose: true,
  200. shade: 0.8,
  201. area: ['40%', '60%'],
  202. content: '/admin/withdrawal/WithDrawPoint'
  203. });
  204. }else if (val === 'MaxTXNotRecharge') {
  205. var page = layer.open({
  206. type: 2,
  207. title: '0{{ __('auto.充玩家茶叶限制最高额度') }}',
  208. shadeClose: true,
  209. shade: 0.8,
  210. area: ['40%', '60%'],
  211. content: '/admin/withdrawal/MaxTXNotRecharge'
  212. });
  213. } else {
  214. var page = layer.open({
  215. type: 2,
  216. title: '{{ __('auto.茶叶金额比例设置') }}',
  217. shadeClose: true,
  218. shade: 0.8,
  219. area: ['40%', '60%'],
  220. content: '/admin/withdrawal/proportion'
  221. });
  222. }
  223. }
  224. }
  225. </script>
  226. @endsection