user_recharge_source.blade.php 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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-wrench"></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. {{ __('auto.用户ID:') }}{{$GameID ?? 0}}
  26. <table class="table table-bordered">
  27. <thead>
  28. <tr>
  29. <th>{{ __('auto.来源玩家') }}</th>
  30. <th>{{ __('auto.关系') }}</th>
  31. <th>{{ __('auto.奖励金额') }}</th>
  32. <th>{{ __('auto.系统发放时间') }}</th>
  33. <th>{{ __('auto.订单号') }}</th>
  34. </tr>
  35. </thead>
  36. <tbody>
  37. @foreach($list as $val)
  38. <tr>
  39. <td>
  40. <a href="/admin/global/id_find?UserID={{$val->UserID}}">
  41. {{ $val->SourceUserID }}
  42. </a>
  43. </td>
  44. <td>
  45. @if ($val->Level == 1)
  46. {{ __('auto.下级') }}
  47. @elseif($val->Level == 2)
  48. {{ __('auto.下下级') }}
  49. @else
  50. {{ __('auto.未知') }}
  51. @endif
  52. </td>
  53. <td>{{$val->DirectRebate}}</td>
  54. <td>{{$val->SendTime}}</td>
  55. <td>{{$val->OrderSn}}</td>
  56. </tr>
  57. @endforeach
  58. </tbody>
  59. </table>
  60. <div class="box-footer clearfix" id="pages">
  61. {{ __('auto.总共') }} <b>{{ $list->appends([
  62. 'UserID'=>$UserID ?? 0,
  63. 'orderIds'=>$orderIds ?? 0,
  64. 'Type' => $Type
  65. ])->total() }}</b>
  66. {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  67. {!! $list->links() !!}
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <script>
  76. function add() {
  77. layer.open({
  78. type: 2,
  79. title: '{{ __('auto.添加配置') }}',
  80. shadeClose: true,
  81. shade: 0.8,
  82. area: ['60%', '80%'],
  83. content: '/admin/extension/register_config_add'
  84. });
  85. }
  86. function update(id) {
  87. var page = layer.open({
  88. type: 2,
  89. title: '{{ __('auto.修改配置') }}',
  90. shadeClose: true,
  91. shade: 0.8,
  92. area: ['70%', '90%'],
  93. content: '/admin/extension/register_config_update/' + id
  94. });
  95. }
  96. function upperLimitFunc() {
  97. var page = layer.open({
  98. type: 2,
  99. title: '{{ __('auto.修改配置') }}',
  100. shadeClose: true,
  101. shade: 0.8,
  102. area: ['60%', '70%'],
  103. content: '/admin/extension/upper_limit'
  104. });
  105. }
  106. function block(id, status) {
  107. myConfirm("{{ __('auto.是否继续') }}?", function () {
  108. myRequest("/admin/withdrawal/block/" + id, "post", {status}, function (res) {
  109. layer.msg(res.msg)
  110. setTimeout(function () {
  111. window.location.reload();
  112. }, 1500)
  113. });
  114. });
  115. }
  116. </script>
  117. @endsection