| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- @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-shield-check"></i>
- </span>
- 触底保护机制
- </h3>
- <nav aria-label="breadcrumb">
- <ol class="breadcrumb">
- <li class="breadcrumb-item"><a href="#">系统管理</a></li>
- <li class="breadcrumb-item active" aria-current="page">触底保护机制配置管理</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">触底保护配置列表</h4>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>ID</th>
- <th>提充比小于(%)</th>
- <th>流水/充值比例上限值</th>
- <th>单笔充值金额/持有下限参数</th>
- <th>大奖上限百分比</th>
- <th>大奖下限百分比</th>
- <th>最小充值</th>
- <th>最大充值</th>
- <th>充值金额计算方式</th>
- <th>状态</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $k=>$v)
- <tr>
- <td>{{ $v->ID }}</td>
- <td>{{ $v->TradeRateMax }}</td>
- <td>{{ $v->TurnoverRechargeRatio }}</td>
- <td>{{ $v->RechargeGoldRatio }}</td>
- <td>{{ $v->RewardMaxPercent }}</td>
- <td>{{ $v->RewardMinPercent }}</td>
- <td>{{ $v->RechargeMin }}</td>
- <td>{{ $v->RechargeMax }}</td>
- <td>{{ $v->RechargeCalModel == 0 ? '单笔' : '平均值' }}</td>
- <td>
- @if ($v->Status == 1)
- 生效
- @else
- 无效
- @endif
- </td>
- <td>
- <button class="btn btn-sm btn-gradient-dark" onclick="update({{$v->ID}})">修改</button>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script>
- function update(ID) {
- var page = layer.open({
- type: 2,
- title: '修改保护配置',
- shadeClose: true,
- offset: 't',
- shade: 0.8,
- area: ['80%', '90%'],
- content: '/admin/Protect/protect_config_info_update/'+ ID
- });
- }
- </script>
- @endsection
|