149 lines
5.7 KiB
PHP
149 lines
5.7 KiB
PHP
<style>
|
|
.input-group {
|
|
width: 100%;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.input-group .radio-input {
|
|
margin-left: 5%;
|
|
display: flex;
|
|
width: 800px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.input-group .radio-inline {
|
|
margin-bottom: 10px;
|
|
background: #f4f4f4;
|
|
line-height: 28px;
|
|
padding-top: 0
|
|
}
|
|
|
|
.input-group .radio-input span {
|
|
width: 20%;
|
|
line-height: 30px;
|
|
text-align: right;
|
|
}
|
|
|
|
.input-group .radio-input input {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.waytxt {
|
|
text-align: center;
|
|
padding: 9px 12px;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
box-sizing: border-box;
|
|
line-height: 1;
|
|
color: #555;
|
|
text-align: center;
|
|
background-color: #fff;
|
|
border: 1px solid #d2d6de;
|
|
box-sizing: border-box;
|
|
border-left: 0;
|
|
}
|
|
</style>
|
|
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-3 col-md-2 control-label">直推奖</label>
|
|
<div class="col-xs-12 col-sm-9 col-md-10">
|
|
<label class="radio-inline">
|
|
<input type="radio" name="setdata[is_bonus]" value="0"
|
|
@if($set['is_bonus'] == 0) checked="checked" @endif /> 关闭</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="setdata[is_bonus]" value="1"
|
|
@if($set['is_bonus'] == 1) checked="checked" @endif /> 开启</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-3 col-md-2 control-label">下线升级奖励</label>
|
|
<div class="col-sm-9 col-xs-12">
|
|
<div class='panel-body'>
|
|
<div class="table-responsive ">
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 15%">等级名称</th>
|
|
<th style="width: 15%">下线等级名称</th>
|
|
<th style="text-align: center;">收入</th>
|
|
<th style="text-align: center;">积分</th>
|
|
@if($isPluginGold)
|
|
<th style="text-align: center;">{{$goldTitle}}</th>
|
|
@endif
|
|
|
|
</tr>
|
|
</thead>
|
|
@foreach($dividendLeve as $item)
|
|
<tbody>
|
|
<tr>
|
|
<td>{{$item['level_name']}}</td>
|
|
|
|
<td colspan="@if($isPluginGold) 4 @else 3 @endif"></td>
|
|
|
|
</tr>
|
|
@foreach($dividendLeve as $level)
|
|
<tr>
|
|
<td></td>
|
|
<td>{{$level['level_name']}}</td>
|
|
<td>
|
|
<div class="input-group">
|
|
<input type="text"
|
|
name="setdata[level_{{$item['id']}}][level_{{$level['id']}}_income]"
|
|
class="form-control"
|
|
value="{{$set['level_'.$item['id']]['level_'.$level['id'].'_income']}}"/>
|
|
<div class="input-group-addon">元</div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="input-group">
|
|
<input type="text"
|
|
name="setdata[level_{{$item['id']}}][level_{{$level['id']}}_point]"
|
|
class="form-control"
|
|
value="{{$set['level_'.$item['id']]['level_'.$level['id'].'_point']}}"/>
|
|
<div class="input-group-addon">个</div>
|
|
</div>
|
|
</td>
|
|
@if($isPluginGold)
|
|
<td>
|
|
<div class="input-group">
|
|
<input type="text"
|
|
name="setdata[level_{{$item['id']}}][level_{{$level['id']}}_gold]"
|
|
class="form-control"
|
|
value="{{$set['level_'.$item['id']]['level_'.$level['id'].'_gold']}}"/>
|
|
<div class="input-group-addon">个</div>
|
|
</div>
|
|
</td>
|
|
@endif
|
|
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
@endforeach
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{--<div class="form-group">--}}
|
|
{{--<label class="col-xs-12 col-sm-3 col-md-2 control-label">下线升级奖励</label>--}}
|
|
{{--<div class="col-xs-12 col-sm-9 col-md-10">--}}
|
|
{{--@foreach($dividendLeve as $item)--}}
|
|
{{--<div class='input-group'>--}}
|
|
{{--<label class="radio-inline" style="width: 100%">{{$item['level_name']}}</label>--}}
|
|
{{--@foreach($dividendLeve as $level)--}}
|
|
{{--<lable class="radio-input">--}}
|
|
{{--<span>{{$level['level_name']}}</span>--}}
|
|
{{--<input type='text' name='setdata[level_{{$item['id']}}][level_{{$level['id']}}]'--}}
|
|
{{--class="form-control discounts_value"--}}
|
|
{{--value="{{$set['level_'.$item['id']]['level_'.$level['id']]}}"/>--}}
|
|
{{--<div class=' waytxt'>元</div>--}}
|
|
{{--</lable>--}}
|
|
{{--@endforeach--}}
|
|
{{--</div>--}}
|
|
{{--@endforeach--}}
|
|
{{--</div>--}}
|
|
{{--</div>--}}
|
|
|