You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

538 lines
39 KiB
HTML

<extend name="Public/base"/>
<block name="body">
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"
charset="UTF-8"></script>
<div class="cf main-place top_nav_list navtab_list">
<h3 class="page_title">支付限额规则配置</h3>
<p class="description_text">说明:配置支付规则,控制支付渠道</p>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<form action="{:U('addLimitPay')}" method="post" class="form-horizontal form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">限制支付渠道</td>
<td class="r table_radio">
<span class="form_select">
<select name="pay_type">
<option value="alipay" selected>支付宝</option>
<option value="wxpay">微信</option>
<option value="yeepay">易宝支付</option>
<option value="sqpay">双乾支付</option>
</select>
</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">限制规则</td>
<td class="r table_radio">
<span class="form_select-text">说明:设置限制条件和限制额度</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">全渠道总流水限制</td>
<td class="r table_radio">
<input type="text" class="" name="total_limit" value="{$info.title|default=''}" placeholder="请输入额度">
</td>
</tr>
<tr>
<td class="l noticeinfo">玩家全渠道总流水限制</td>
<td class="r table_radio">
<input type="text" class="" name="user_total_limit" value="{$info.title|default=''}" placeholder="请输入额度">
</td>
</tr>
<tr>
<td class="l noticeinfo">玩家单笔限制</td>
<td class="r table_radio">
<input type="text" class="" name="user_one_limit" value="{$info.title|default=''}" placeholder="请输入额度">
</td>
</tr>
<tr>
<td class="l noticeinfo">限制方式 </td>
<td class="r table_radio">
<span class="form_select">
<select name="limit_type">
<option value="force" selected>强制限制</option>
<option value="obstacles">支付体验障碍</option>
</select>
</span>
<span class="notice-text">说明:强制限制和支付体验障碍</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">限制时间</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="daily" checked="checked" onclick="changeStatus(1)"/> 每日</label>
<div class="input-list" style="margin-left:20px" id="startDay">
<input type="text" class="" id="day_inp1" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start1" value="{$info.title|default='0'}" placeholder="">
<input type="text" class="" id="day_inp2" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start2" value="{$info.title|default='0'}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" id="day_inp3" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start3" value="{$info.title|default='0'}" placeholder="">
<input type="text" class="" id="day_inp4" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start4" value="{$info.title|default='0'}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" id="day_inp5" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start5" value="{$info.title|default='0'}" placeholder="">
<input type="text" class="" id="day_inp6" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start6" value="{$info.title|default='0'}" placeholder="">
<span style="margin-left:10px"></span>
</div>
</div>
</div>
<div class="input-list" style="margin-left:20px" id="endDay">
<input type="text" class="" id="day_inp7" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start7" value="{$info.title|default='2'}" placeholder="">
<input type="text" class="" id="day_inp8" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start8" value="{$info.title|default='3'}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" id="day_inp9" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start9" value="{$info.title|default='5'}" placeholder="">
<input type="text" class="" id="day_inp10" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start10" value="{$info.title|default='9'}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" id="day_inp11" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start11" value="{$info.title|default='5'}" placeholder="">
<input type="text" class="" id="day_inp12" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="daily_start12" value="{$info.title|default='9'}" placeholder="">
<span style="margin-left:10px"></span>
</div>
</div>
</div>
<span class="notice-text" id="text1">说明:时间格式(24小时制,时间设置范围00:00:00 23:59:59)</span>
</td>
</tr>
<tr>
<td class="l noticeinfo"></td>
<td class="r table_radio" >
<span class="form_radio">
<label><input type="radio" name="status" value="week" onclick="changeStatus(2)"/> 每周</label>
<span class="form_select" style="margin-left:5px">
<select name="week_remark">
<option value="1" selected>周一</option>
<option value="2">周二</option>
<option value="3">周三</option>
<option value="4">周四</option>
<option value="5">周五</option>
<option value="6">周六</option>
<option value="7">周天</option>
</select>
</span>
<div class="input-list" style="margin-left:20px;display:none" id="startWeek" >
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="week_start1" id="week_inp1" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" id="week_inp2" name="week_start2" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="week_start3" id="week_inp3" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" id="week_inp4" name="week_start4" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" id="week_inp5" name="week_start5" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" id="week_inp6" maxlength="1" name="week_start6" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px"></span>
</div>
</div>
</div>
<div class="input-list" style="margin-left:20px;display: none;" id="endWeek">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" name="week_start7" maxlength="1" id="week_inp7" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" id="week_inp8" name="week_start8" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="week_start9" id="week_inp9" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" id="week_inp10" name="week_start10" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" name="week_start11" maxlength="1" id="week_inp11" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" name="week_start12" maxlength="1" id="week_inp12" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px"></span>
</div>
</div>
</div>
<span class="notice-text" id="text2" style="display:none">说明:时间格式(24小时制,时间设置范围00:00:00 23:59:59)</span>
</td>
</tr>
<tr>
<td class="l noticeinfo"></td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="month" onclick="changeStatus(3)"/> 每月</label>
<span class="form_select" style="margin-left:5px">
<select name="month_remark">
<volist name="monthday" id="vo" key='k'>
<option value="{$vo}" selected>{$vo}日</option>
</if>
</volist>
</select>
</span>
<div class="input-list" style="margin-left:20px;display: none;" id="startMonth">
<input type="text" class="" id="month_inp1" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" name="month_start1" maxlength="1" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" id="month_inp2" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="month_start2" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" id="month_inp3" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" name="month_start3" maxlength="1" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" id="month_inp4" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="month_start4" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" id="month_inp5" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="month_start5" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" id="month_inp6" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="month_start6" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px"></span>
</div>
</div>
</div>
<div class="input-list" style="margin-left:20px;display: none;" id="endMonth">
<input type="text" class="" id="month_inp7" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" name="month_start7" maxlength="1" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" id="month_inp8" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="month_start8" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" id="month_inp9" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" name="month_start9" maxlength="1" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" id="month_inp10" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="month_start10" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" id="month_inp11" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="month_start11" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" id="month_inp12" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" name="month_start12" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px"></span>
</div>
</div>
</div>
<span class="notice-text" id="text3" style="display:none">说明:时间格式(24小时制,时间设置范围00:00:00 23:59:59)</span>
</td>
</tr>
<tr>
<td class="l noticeinfo"></td>
<td class="r table_radio">
<label><input type="radio" style="margin-left:1px" name="status" value="day" onclick="changeStatus(4)"/> 特殊</label>
<div class="input-list" style="margin-left:21px">
<input type="text" readonly id="time-start" name="day_remark" class="" value="{$startDate}"
placeholder="充值开始时间"/>
</div>
<div class="input-list" style="margin-left:17px;display: none;" id="startFix">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" id="fix_inp1" maxlength="1" name="day_start1" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" id="fix_inp2" maxlength="1" name="day_start2" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" id="fix_inp3" name="day_start3" maxlength="1" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" id="fix_inp4" maxlength="1" name="day_start4" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" name="day_start5" id="fix_inp5" maxlength="1" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" id="fix_inp6" name="day_start6" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px"></span>
</div>
</div>
</div>
<div class="input-list" style="margin-left:20px;display: none;" id="endFix">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" id="fix_inp7" name="day_start7" maxlength="1" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" id="fix_inp8" maxlength="1" name="day_start8" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" id="fix_inp9" maxlength="1" name="day_start9" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" id="fix_inp10" maxlength="1" name="day_start10" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px">:</span>
<div class="input-append date" id="datetimepicker" style="display:inline-block;margin-left:5px">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" maxlength="1" id="fix_inp11" name="day_start11" value="{$info.title|default=''}" placeholder="">
<input type="text" class="" style="width:7px;border:none;border-radius:0px;border-bottom:1px solid #ccc;-webkit-box-shadow:inset 0 0px 0px rgba(0,0,0,0.075);box-shadow: inset 0 0px 0px rgba(0,0,0,0.075);" id="fix_inp12" maxlength="1" name="day_start12" value="{$info.title|default=''}" placeholder="">
<span style="margin-left:10px"></span>
</div>
</div>
</div>
<span class="notice-text" id="text4" style="display:none">说明:时间格式(24小时制,时间设置范围00:00:00 23:59:59)</span>
</td>
</tr>
</tbody>
</table>
<div class="form-item">
<input type="hidden" name="id" value="{$info.id|default=''}">
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="form-horizontal">确 定</button>
<button class="submit_btn " onclick="javascript:history.back(-1);return false;">返 回</button>
</div>
</form>
</div>
<div class="common_settings">
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
<form class="addShortcutIcon">
<input type="hidden" name="title" value="{$m_title}">
<input type="hidden" name="url" value="{$m_url}">
</form>
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
</div>
</block>
<block name="script">
<script>
function changeStatus(status) {
if(status == 2) {
document.getElementById('startWeek').style.display = 'block'
document.getElementById('endWeek').style.display = 'block'
document.getElementById('startDay').style.display = 'none'
document.getElementById('endDay').style.display = 'none'
document.getElementById('startFix').style.display = 'none'
document.getElementById('endFix').style.display = 'none'
document.getElementById('startMonth').style.display = 'none'
document.getElementById('endMonth').style.display = 'none'
document.getElementById('text2').style.display = 'block'
document.getElementById('text1').style.display = 'none'
document.getElementById('text3').style.display = 'none'
document.getElementById('text4').style.display = 'none'
document.getElementById('week_inp1').value = 0
document.getElementById('week_inp2').value = 0
document.getElementById('week_inp3').value = 0
document.getElementById('week_inp4').value = 0
document.getElementById('week_inp5').value = 0
document.getElementById('week_inp6').value = 0
document.getElementById('week_inp7').value = 2
document.getElementById('week_inp8').value = 3
document.getElementById('week_inp9').value = 5
document.getElementById('week_inp10').value = 9
document.getElementById('week_inp11').value = 5
document.getElementById('week_inp12').value = 9
for(i=1;i<13;i++) {
var eleday = 'day_inp'+i
document.getElementById(eleday).value = ''
var elemonth = 'month_inp'+i
document.getElementById(elemonth).value = ''
var elefix = 'fix_inp'+i
document.getElementById(elefix).value = ''
}
}
if(status == 1) {
document.getElementById('startWeek').style.display = 'none'
document.getElementById('endWeek').style.display = 'none'
document.getElementById('startDay').style.display = 'block'
document.getElementById('endDay').style.display = 'block'
document.getElementById('startFix').style.display = 'none'
document.getElementById('endFix').style.display = 'none'
document.getElementById('startMonth').style.display = 'none'
document.getElementById('endMonth').style.display = 'none'
document.getElementById('text1').style.display = 'block'
document.getElementById('text2').style.display = 'none'
document.getElementById('text3').style.display = 'none'
document.getElementById('text4').style.display = 'none'
document.getElementById('day_inp1').value = 0
document.getElementById('day_inp2').value = 0
document.getElementById('day_inp3').value = 0
document.getElementById('day_inp4').value = 0
document.getElementById('day_inp5').value = 0
document.getElementById('day_inp6').value = 0
document.getElementById('day_inp7').value = 2
document.getElementById('day_inp8').value = 3
document.getElementById('day_inp9').value = 5
document.getElementById('day_inp10').value = 9
document.getElementById('day_inp11').value = 5
document.getElementById('day_inp12').value = 9
for(i=1;i<13;i++) {
var eleweek = 'week_inp'+i
document.getElementById(eleweek).value = ' '
var elemonth = 'month_inp'+i
document.getElementById(elemonth).value = ' '
var elefix = 'fix_inp'+i
document.getElementById(elefix).value = ' '
}
}
if(status == 3) {
document.getElementById('startWeek').style.display = 'none'
document.getElementById('endWeek').style.display = 'none'
document.getElementById('startDay').style.display = 'none'
document.getElementById('endDay').style.display = 'none'
document.getElementById('startFix').style.display = 'none'
document.getElementById('endFix').style.display = 'none'
document.getElementById('startMonth').style.display = 'block'
document.getElementById('endMonth').style.display = 'block'
document.getElementById('text3').style.display = 'block'
document.getElementById('text1').style.display = 'none'
document.getElementById('text2').style.display = 'none'
document.getElementById('text4').style.display = 'none'
document.getElementById('month_inp1').value = 0
document.getElementById('month_inp2').value = 0
document.getElementById('month_inp3').value = 0
document.getElementById('month_inp4').value = 0
document.getElementById('month_inp5').value = 0
document.getElementById('month_inp6').value = 0
document.getElementById('month_inp7').value = 2
document.getElementById('month_inp8').value = 3
document.getElementById('month_inp9').value = 5
document.getElementById('month_inp10').value = 9
document.getElementById('month_inp11').value = 5
document.getElementById('month_inp12').value = 9
for(i=1;i<13;i++) {
var eleweek = 'week_inp'+i
document.getElementById(eleweek).value = ' '
var eleday = 'day_inp'+i
document.getElementById(eleday).value = ' '
var elefix = 'fix_inp'+i
document.getElementById(elefix).value = ' '
}
}
if(status == 4) {
document.getElementById('text4').style.display = 'block'
document.getElementById('text1').style.display = 'none'
document.getElementById('text3').style.display = 'none'
document.getElementById('text2').style.display = 'none'
document.getElementById('startWeek').style.display = 'none'
document.getElementById('endWeek').style.display = 'none'
document.getElementById('startDay').style.display = 'none'
document.getElementById('endDay').style.display = 'none'
document.getElementById('startFix').style.display = 'block'
document.getElementById('endFix').style.display = 'block'
document.getElementById('startMonth').style.display = 'none'
document.getElementById('endMonth').style.display = 'none'
document.getElementById('fix_inp1').value = 0
document.getElementById('fix_inp2').value = 0
document.getElementById('fix_inp3').value = 0
document.getElementById('fix_inp4').value = 0
document.getElementById('fix_inp5').value = 0
document.getElementById('fix_inp6').value = 0
document.getElementById('fix_inp7').value = 2
document.getElementById('fix_inp8').value = 3
document.getElementById('fix_inp9').value = 5
document.getElementById('fix_inp10').value = 9
document.getElementById('fix_inp11').value = 5
document.getElementById('fix_inp12').value = 9
for(i=1;i<13;i++) {
var eleweek = 'week_inp'+i
document.getElementById(eleweek).value = ' '
var eleday = 'day_inp'+i
document.getElementById(eleday).value = ' '
var elemonth = 'month_inp'+i
document.getElementById(elemonth).value = ' '
}
}
}
</script>
<script type="text/javascript">
//导航高亮
highlight_subnav('{:U('Tool/limitPay')}');
$(function () {
Think.setValue("type", {$info.type|default=0});
Think.setValue("category", {$info.category|default=0});
$("#category").change();
Think.setValue("group", {$info.group|default=0});
})
$("#category").change(function(){
$.ajax({
type:"POST",
dataType:"json",
async:false,
data:{category:$("#category").val()},
url:"{:U('Ajax/getConfigCategory')}",
success:function (data) {
$("#group").empty();
var str = "<option value='0'>不分类</option>";
for(var i in data){
str += "<option value="+i+">"+data[i]+"</option>";
}
$("#group").append(str);
}
})
})
</script>
<script>
$('#time-start').datetimepicker({
format: 'yyyy-mm-dd',
language: "zh-CN",
showMeridian:true,
pickDate:true,
minView: 2,
autoclose: true,
pickTime:true,
todayBtn:true,
minuteStep: 1,//分钟间隔1分钟
}).on('change',function(ev){
var val = new Date($.trim($(this).val())).getTime();
var end = new Date($.trim($('#time-end').val())).getTime();
if (val>end) {
layer.msg('开始时间大于结束时间!');$(this).val('');
}
return false;
});
$("#time-end").datetimepicker({
format:"hh:ii:ss",
language: "zh-CN",
showMeridian:true,
minView:0,
autoclose:true,
todayBtn:true,
}).on('change',function(ev){
var val = new Date($.trim($(this).val())).getTime();
var start = new Date($.trim($('#time-start').val())).getTime();
if (val<start) {
layer.msg('开始时间大于结束时间!');$(this).val('');
}
return false;
});
</script>
</block>