| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- @extends('base.base')
- @section('base')
- <!-- 内容区域 -->
- <div class="main-panel">
- <div class="content-wrapper">
- <div class="page-header">
- <h3 class="page-title">
- <span class="page-title-icon bg-gradient-primary text-white mr-2">
- <i class="mdi mdi-wrench"></i>
- </span>
- {{ __('auto.咖啡奖励来源') }}
- </h3>
- <nav aria-label="breadcrumb">
- <ol class="breadcrumb">
- <li class="breadcrumb-item"><a href="#">{{ __('auto.咖啡奖励来源') }}</a></li>
- <li class="breadcrumb-item active" aria-current="page">{{ __('auto.推广赚金') }}</li>
- </ol>
- </nav>
- </div>
- <div class="row">
- <div class="col-lg-12 grid-margin stretch-card">
- <div class="card">
- <div class="card-body">
- <h4 class="card-title">{{ __('auto.咖啡奖励来源') }}</h4>
- {{ __('auto.用户ID:') }}{{$GameID ?? 0}}
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>{{ __('auto.来源玩家') }}</th>
- <th>{{ __('auto.关系') }}</th>
- <th>{{ __('auto.奖励金额') }}</th>
- <th>{{ __('auto.系统发放时间') }}</th>
- <th>{{ __('auto.订单号') }}</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $val)
- <tr>
- <td>
- <a href="/admin/global/id_find?UserID={{$val->UserID}}">
- {{ $val->SourceUserID }}
- </a>
- </td>
- <td>
- @if ($val->Level == 1)
- {{ __('auto.下级') }}
- @elseif($val->Level == 2)
- {{ __('auto.下下级') }}
- @else
- {{ __('auto.未知') }}
- @endif
- </td>
- <td>{{$val->DirectRebate}}</td>
- <td>{{$val->SendTime}}</td>
- <td>{{$val->OrderSn}}</td>
- </tr>
- @endforeach
- </tbody>
- </table>
- <div class="box-footer clearfix" id="pages">
- {{ __('auto.总共') }} <b>{{ $list->appends([
- 'UserID'=>$UserID ?? 0,
- 'orderIds'=>$orderIds ?? 0,
- 'Type' => $Type
- ])->total() }}</b>
- {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
- {!! $list->links() !!}
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script>
- function add() {
- layer.open({
- type: 2,
- title: '{{ __('auto.添加配置') }}',
- shadeClose: true,
- shade: 0.8,
- area: ['60%', '80%'],
- content: '/admin/extension/register_config_add'
- });
- }
- function update(id) {
- var page = layer.open({
- type: 2,
- title: '{{ __('auto.修改配置') }}',
- shadeClose: true,
- shade: 0.8,
- area: ['70%', '90%'],
- content: '/admin/extension/register_config_update/' + id
- });
- }
- function upperLimitFunc() {
- var page = layer.open({
- type: 2,
- title: '{{ __('auto.修改配置') }}',
- shadeClose: true,
- shade: 0.8,
- area: ['60%', '70%'],
- content: '/admin/extension/upper_limit'
- });
- }
- function block(id, status) {
- myConfirm("{{ __('auto.是否继续') }}?", function () {
- myRequest("/admin/withdrawal/block/" + id, "post", {status}, function (res) {
- layer.msg(res.msg)
- setTimeout(function () {
- window.location.reload();
- }, 1500)
- });
- });
- }
- </script>
- @endsection
|