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.
47 lines
2.4 KiB
HTML
47 lines
2.4 KiB
HTML
5 years ago
|
<extend name="Public/base" />
|
||
|
|
||
|
<block name="body">
|
||
|
<link rel="stylesheet" type="text/css" href="__CSS__/admin_table.css" media="all">
|
||
|
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
|
||
|
<div class="main-place">
|
||
|
<span class="main-placetitle">位置</span>
|
||
|
<ul class="main-placeul">
|
||
|
<li><a href="{:U('Promote/lists')}">渠道</a></li>
|
||
|
<li><a href="{:U('Promote/ch_reg_list')}">数据管理</a></li>
|
||
|
<li><a href="#">编辑代充额度</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<form id="form" action="{:U('pay_limit_edit?model='.$model['id'])}" method="post" class="form-horizontal form_info_ml">
|
||
|
<div class="formtitle"><span>基本信息</span></div>
|
||
|
<ul class="form_info ">
|
||
|
<li><label>推广员账号</label><select name="promote_id" disabled="disabled">
|
||
|
<option value=''> 请选择渠道 </option>
|
||
|
<volist name=":get_promote_list()" id="vo">
|
||
|
<option value='{$vo.id}'>{$vo.account}</option>
|
||
|
</volist>
|
||
|
</select>
|
||
|
<input type="hidden" name="promote_id" value="{$edit_data['id']}"><i class="form_hint"></i></li>
|
||
|
<li><label>游戏名称</label><select id="game_id" name="pay_limit_game">
|
||
|
<option value="0">请选择游戏(不选表示全部游戏)</option>
|
||
|
<volist name=":get_game_list()" id="vo">
|
||
|
<option value="{$vo.id}">{$vo.game_name}</option>
|
||
|
</volist>
|
||
|
</select><i class="form_hint"></i></li>
|
||
|
<li><label>代充额度</label><input name="limits" type="text" value="{$edit_data['pay_limit']}" placeholder="请输入大于0的整数" class=""><i class="form_hint"></i></li>
|
||
|
<li><label> </label><input type="submit" id="submit" value="确认保存" target-form="form-horizontal" class="form_btn ajax-post"></li>
|
||
|
</ul>
|
||
|
</form>
|
||
|
</block>
|
||
|
|
||
|
<block name="script">
|
||
|
<script type="text/javascript">
|
||
|
//导航高亮
|
||
|
Think.setValue("promote_id", {$edit_data.id|default = 0});
|
||
|
Think.setValue("pay_limit_game", {$edit_data.pay_limit_game|default =0});
|
||
|
highlight_subnav('{:U('Promote/pay_limit')}');
|
||
|
$('#submit').click(function(){
|
||
|
$('#form').submit();
|
||
|
});
|
||
|
</script>
|
||
|
</block>
|