|
|
|
@ -5,6 +5,15 @@
|
|
|
|
|
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="__STATIC__/provincecityarea/AreaData_min.js"></script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
.tabcon1711 input.time {
|
|
|
|
|
width: 150px;
|
|
|
|
|
}
|
|
|
|
|
#form .txt_area {
|
|
|
|
|
width: 300px;
|
|
|
|
|
height: 150px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<div class="cf main-place top_nav_list navtab_list">
|
|
|
|
|
<h3 class="page_title">{$meta_title}</h3>
|
|
|
|
|
<!-- <p class="description_text">说明:此功是创建推广员时所需填写信息</p>-->
|
|
|
|
@ -24,15 +33,17 @@
|
|
|
|
|
<td class="r">
|
|
|
|
|
<select name="promote_id" id="promote_id">
|
|
|
|
|
<option value="">会长账号</option>
|
|
|
|
|
<volist name="promoteList" id="vo">
|
|
|
|
|
<empty name="record">
|
|
|
|
|
<empty name="record">
|
|
|
|
|
<volist name="promoteList" id="vo">
|
|
|
|
|
<option value="{$vo.id}">{$vo.account}({$vo.real_name})</option>
|
|
|
|
|
<else/>
|
|
|
|
|
<option value="{$vo.id}" <if condition="$vo.id eq $record.promote_id">selected</if> >{$vo.account}({$vo.real_name})</option>
|
|
|
|
|
</empty>
|
|
|
|
|
</volist>
|
|
|
|
|
</volist>
|
|
|
|
|
<else/>
|
|
|
|
|
<volist name="promoteList" id="vo">
|
|
|
|
|
<option value="{$vo.id}" <if condition="$vo['id'] eq $record['promote_id']">selected</if> >{$vo.account}({$vo.real_name})</option>
|
|
|
|
|
</volist>
|
|
|
|
|
</empty>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="notice-text">通过推广员后台注册申请或者管理后台创建的账号</span>
|
|
|
|
|
<span class="notice-text">一级渠道推广员账号</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
@ -40,60 +51,50 @@
|
|
|
|
|
<td class="r">
|
|
|
|
|
<select id="game_id" name="game_id" class="select_gallery" >
|
|
|
|
|
<option value="">游戏名称</option>
|
|
|
|
|
<volist name="gameList" id="vo">
|
|
|
|
|
<empty name="record">
|
|
|
|
|
<empty name="record">
|
|
|
|
|
<volist name="gameList" id="vo">
|
|
|
|
|
<option value="{$vo.id}">{$vo.game_name}</option>
|
|
|
|
|
<else/>
|
|
|
|
|
<option value="{$vo.id}" <if condition="$vo.id eq $record.game_id">selected</if> >{$vo.game_name}</option>
|
|
|
|
|
</empty>
|
|
|
|
|
</volist>
|
|
|
|
|
</volist>
|
|
|
|
|
<else/>
|
|
|
|
|
<volist name="gameList" id="vo">
|
|
|
|
|
<option value="{$vo.id}" <if condition="$vo['id'] eq $record['game_id']">selected</if> >{$vo.game_name}</option>
|
|
|
|
|
</volist>
|
|
|
|
|
</empty>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="notice-text">密码长度必须大于6位</span>
|
|
|
|
|
<span class="notice-text">会长推广平台已申请的游戏</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">账号状态:</td>
|
|
|
|
|
<td class="l">原分成比例:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<span class="form_radio table_btn">
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="1" name="status" checked="checked"> 开启
|
|
|
|
|
</label >
|
|
|
|
|
<label >
|
|
|
|
|
<input type="radio" value="2" name="status" > 锁定
|
|
|
|
|
</label>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="notice-text">锁定状态下,推广员账号则无法登录</span>
|
|
|
|
|
<span class="form_radio table_btn"></span>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">真实姓名:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="real_name" value="" placeholder=" 输入推广员负责人姓名">
|
|
|
|
|
<td class="l">现分成比例:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<input type="text" class="txt" name="ratio" value="{$record.ratio|default='0.00'}" placeholder="" onKeyUp="value=value.replace(/[^\w\.\/]/ig,'')">
|
|
|
|
|
<span class="notice-text">当前需要修改成的分成比例</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">手机号:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="mobile_phone" value="" placeholder="输入推广员负责人手机号">
|
|
|
|
|
<td class="l">开始时间:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<div style="float: left;">
|
|
|
|
|
<input type="text" class="txt time" name="start_time" placeholder="开始时间" value="">
|
|
|
|
|
-
|
|
|
|
|
<input type="text" class="txt time" name="start_time" placeholder="结束时间" value="">
|
|
|
|
|
</div>
|
|
|
|
|
<span class="notice-text">结束时间不填则默认永久。</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<td class="l">邮箱:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input type="text" class="txt" name="email" value="" placeholder="输入推广员邮箱">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l">商务专员</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<select name="ba_id" id="admin">
|
|
|
|
|
<option value="0">请选择商务专员</option>
|
|
|
|
|
<volist name=":get_business_affairs_list()" id="vo">
|
|
|
|
|
<option value="{$vo.id}">{$vo.account}</option>
|
|
|
|
|
</volist>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="notice-text">设置该推广员所属的商务专员组</span>
|
|
|
|
|
<td class="l">备注:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<textarea type="text" name="introduction" class="txt_area"></textarea>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
@ -124,7 +125,11 @@
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|
<block name="script">
|
|
|
|
|
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script><script type="text/javascript" src="__STATIC__/provincecityarea/area1.js"></script>
|
|
|
|
|
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
|
|
|
|
<php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
|
|
|
|
|
<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>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
//导航高亮
|
|
|
|
|
highlight_subnav('{:U('PromoteGameRatio/lists')}');
|
|
|
|
@ -132,6 +137,11 @@ Think.setValue("game_type_id", {$data.game_type_id|default = 0});
|
|
|
|
|
Think.setValue("category", {$data.category|default = 0});
|
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
|
$('.time').datetimepicker({
|
|
|
|
|
language:"zh-CN",
|
|
|
|
|
hour: 13,
|
|
|
|
|
minute: 15
|
|
|
|
|
});
|
|
|
|
|
showTab();
|
|
|
|
|
prov="{:substr($data['bank_area'],0,2)}";
|
|
|
|
|
city="{:substr($data['bank_area'],2,2)}";
|
|
|
|
|