136 lines
6.1 KiB
PHP
136 lines
6.1 KiB
PHP
<link rel="stylesheet" type="text/css" href="{{static_url('yunshop/goods/vue-goods1.css')}}"/>
|
|
<div class='panel panel-default'>
|
|
{{--每日红包提现--}}
|
|
<div class="vue-main-title">
|
|
<div class="vue-main-title-left"></div>
|
|
<div class="vue-main-title-content">每日红包提现设置</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">
|
|
<input type="text" name="withdraw[RedPacket][roll_out_limit]" class="form-control"
|
|
value="{{$set['roll_out_limit']}}"/>
|
|
<span class="help-block">当前每天红包金额达到此额度时才能提现</span>
|
|
</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="switch">
|
|
<label class='radio-inline'>
|
|
<input type='radio' name='withdraw[RedPacket][poundage_type]' value='1'
|
|
@if($set['poundage_type'] == 1) checked @endif />
|
|
固定金额
|
|
</label>
|
|
<label class='radio-inline'>
|
|
<input type='radio' name='withdraw[RedPacket][poundage_type]' value='0'
|
|
@if(empty($set['poundage_type'])) checked @endif />
|
|
手续费比例
|
|
</label>
|
|
</div>
|
|
</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="cost">
|
|
<label class='radio-inline'>
|
|
<div class="input-group">
|
|
<div class="input-group-addon" id="redPacket_poundage_hint"
|
|
style="width: 120px;">@if($set['poundage_type'] == 1) 固定金额 @else
|
|
手续费比例 @endif
|
|
</div>
|
|
<input type="text" name="withdraw[RedPacket][poundage_rate]"
|
|
class="form-control" value="{{ $set['poundage_rate'] ?? '' }}"
|
|
placeholder="请输入提现手续费计算值"/>
|
|
<div class="input-group-addon" id="redPacket_poundage_unit">
|
|
@if($set['poundage_type'] == 1) 元 @else
|
|
% @endif
|
|
</div>
|
|
</div>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{--每日红包额外奖励提现--}}
|
|
<div class="vue-main-title">
|
|
<div class="vue-main-title-left"></div>
|
|
<div class="vue-main-title-content">每日红包额外奖励提现</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">
|
|
<input type="text" name="withdraw[RedPacketBonus][roll_out_limit]" class="form-control"
|
|
value="{{$bonusSet['roll_out_limit']}}"/>
|
|
<span class="help-block">当前每天红包金额达到此额度时才能提现</span>
|
|
</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="switch">
|
|
<label class='radio-inline'>
|
|
<input type='radio' name='withdraw[RedPacketBonus][poundage_type]' value='1'
|
|
@if($bonusSet['poundage_type'] == 1) checked @endif />
|
|
固定金额
|
|
</label>
|
|
<label class='radio-inline'>
|
|
<input type='radio' name='withdraw[RedPacketBonus][poundage_type]' value='0'
|
|
@if(empty($bonusSet['poundage_type'])) checked @endif />
|
|
手续费比例
|
|
</label>
|
|
</div>
|
|
</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="cost">
|
|
<label class='radio-inline'>
|
|
<div class="input-group">
|
|
<div class="input-group-addon" id="RedPacketBonus_poundage_hint"
|
|
style="width: 120px;">@if($bonusSet['poundage_type'] == 1) 固定金额 @else
|
|
手续费比例 @endif
|
|
</div>
|
|
<input type="text" name="withdraw[RedPacketBonus][poundage_rate]"
|
|
class="form-control" value="{{ $bonusSet['poundage_rate'] ?? '' }}"
|
|
placeholder="请输入提现手续费计算值"/>
|
|
<div class="input-group-addon" id="RedPacketBonus_poundage_unit">
|
|
@if($bonusSet['poundage_type'] == 1) 元 @else
|
|
% @endif
|
|
</div>
|
|
</div>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
<script language="javascript">
|
|
$(function () {
|
|
$(":radio[name='withdraw[RedPacket][poundage_type]']").click(function () {
|
|
if ($(this).val() == 1) {
|
|
$("#redPacket_poundage_unit").html('元');
|
|
$("#redPacket_poundage_hint").html('固定金额');
|
|
}
|
|
else {
|
|
$("#redPacket_poundage_unit").html('%');
|
|
$("#redPacket_poundage_hint").html('手续费比例');
|
|
}
|
|
});
|
|
|
|
$(":radio[name='withdraw[RedPacketBonus][poundage_type]']").click(function () {
|
|
if ($(this).val() == 1) {
|
|
$("#RedPacketBonus_poundage_unit").html('元');
|
|
$("#RedPacketBonus_poundage_hint").html('固定金额');
|
|
}
|
|
else {
|
|
$("#RedPacketBonus_poundage_unit").html('%');
|
|
$("#RedPacketBonus_poundage_hint").html('手续费比例');
|
|
}
|
|
});
|
|
})
|
|
</script>
|