| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- @extends('base.base')
- @section('base')
- <div class="main-panel">
- <div class="content-wrapper">
- <div class="page-header">
- <h3 class="page-title">{{ __('VIP 等级配置') }}</h3>
- </div>
- <div class="card">
- <div class="card-body">
- <button class="btn btn-sm btn-success mb-2" onclick="add()">新增等级</button>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>ID</th>
- <th>充值金额</th>
- <th>救济金金额</th>
- <th>VIP等级</th>
- <th>最小充值</th>
- <th>提现限额</th>
- <th>茶叶次数</th>
- <th>提现费率百分比</th>
- <th>签到系数</th>
- <th>客服类型 1 普通 2 一对一</th>
- <th>商城充值额外赠送百分比</th>
- <th>Superball每日赠送球数</th>
- <th>生日礼价值</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $row)
- <tr>
- <td>{{ $row->ID }}</td>
- <td>{{ $row->Recharge }}</td>
- <td>{{ round($row->GrantNum/\App\Http\helper\NumConfig::NUM_VALUE, 2) }}</td>
- <td>{{ $row->VIP }}</td>
- <td>{{ $row->MinRecharge }}</td>
- <td>{{ $row->WithdrawLimit }}</td>
- <td>{{ $row->DailyWithdraws }}</td>
- <td>{{ $row->WithdrawFeeRate }} %</td>
- <td>{{ $row->SignAlpha }}</td>
- <td>{{ $row->CustomServiceType }}</td>
- <td>{{ $row->RechargeExtraSendRate }} %</td>
- <td>{{ $row->SuperballNum }}</td>
- <td>{{ $row->BirthdayValue }}</td>
- <td>
- <button class="btn btn-sm btn-primary" onclick="edit({{ $row->ID }})">{{ __('修改') }}</button>
- <button class="btn btn-sm btn-danger" onclick="del({{ $row->ID }})">{{ __('删除') }}</button>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- <script>
- function add(){
- layer.open({
- type:2,shade:0.8,area:['50%','70%'],
- content:'/admin/protect-level/add'
- });
- }
- function edit(id){
- layer.open({
- type:2,shade:0.8,area:['50%','70%'],
- content:'/admin/protect-level/edit/'+id
- });
- }
- function del(id){
- myConfirm('确认删除?', function(){
- myRequest('/admin/protect-level/delete/'+id,'post',{},function(){
- layer.msg('已删除'); location.reload();
- });
- });
- }
- </script>
- @endsection
|