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.
176 lines
7.0 KiB
HTML
176 lines
7.0 KiB
HTML
<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>
|
|
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
|
|
<script type="text/javascript" src="__JS__/select2.min.js"></script>
|
|
<style>
|
|
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
|
line-height:35px;
|
|
line-height:28px;
|
|
}
|
|
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
|
height:26px;
|
|
}
|
|
.select2-container--default .select2-search--dropdown .select2-search__field {
|
|
height:26px;line-height:26px;font-size:12px;
|
|
}
|
|
.select2-results__option[aria-selected] {font-size:12px;}
|
|
|
|
.tabcon1711 .select2-container--default .select2-selection--single{
|
|
font-size: 12px;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px;
|
|
background-color: #fff;
|
|
border: 1px solid #ccc;
|
|
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
|
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
|
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
|
-webkit-transition: border linear .2s, box-shadow linear .2s;
|
|
-moz-transition: border linear .2s, box-shadow linear .2s;
|
|
-o-transition: border linear .2s, box-shadow linear .2s;
|
|
transition: border linear .2s, box-shadow linear .2s;height:30px;}
|
|
.tabcon1711 .select2-container--default .select2-selection--single .select2-selection__rendered {line-height: 30px;}
|
|
.tabcon1711 .select2-container--default .select2-selection--single .select2-selection__arrow {height:30px;}
|
|
.tabcon1711 .select2-container--default .select2-search--dropdown .select2-search__field {
|
|
height:26px;line-height:26px;font-size:12px;
|
|
}
|
|
.tabcon1711 .select2-results__option[aria-selected] {font-size:12px;}
|
|
</style>
|
|
|
|
<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">
|
|
|
|
<form action="{:U('edit?model='.$model['id'])}" 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">
|
|
<input name="account" value="{$data['account']}" disabled readonly type="text" class="">
|
|
<span class="notice-text"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="l noticeinfo">修改前渠道</td>
|
|
<td class="r table_radio">
|
|
<input name="old_promote_id" value="{:get_promote_name($data['promote_id'])}" disabled readonly type="text" class="">
|
|
<span class="notice-text"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="l noticeinfo">补链后渠道</td>
|
|
<td class="r table_radio">
|
|
<select id="prmoote_id_to" name="prmoote_id_to" class="select_gallery">
|
|
<option value="">下拉选择</option>
|
|
<option value="-1">官方渠道</option>
|
|
<volist name=":get_promote_list()" id="vo">
|
|
<option value="{$vo.id}">{$vo.account}{:get_parent_promoteto($vo['id'])}</option>
|
|
</volist>
|
|
</select>
|
|
<input type="hidden" name="promote_id" value='{$data.promote_id}'/>
|
|
<span class="notice-text"></span>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="l noticeinfo">订单日期:</td>
|
|
<td class="r table_radio">
|
|
<input type="text" name="order_time" class="date" value="{:I('order_time')}" placeholder="订单日期" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="l noticeinfo">备注</td>
|
|
<td class="r table_radio">
|
|
<textarea name="remark" class="txt_area1">{$data['remark']}</textarea>
|
|
<span class="notice-text"></span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<input type="hidden" name="user_id" value="{$data.id}">
|
|
<input type="hidden" name="account" value="{$data.account}">
|
|
|
|
|
|
<div class="form-item cf">
|
|
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="form-horizontal">
|
|
保存
|
|
</button>
|
|
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();" >
|
|
返回
|
|
</a>
|
|
</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="Mend/lists">
|
|
</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">
|
|
<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">
|
|
|
|
var start = $("#bind_time").val();
|
|
|
|
$('#bind_time').datetimepicker({
|
|
format: 'yyyy-mm-dd',
|
|
language:"zh-CN",
|
|
minView:2,
|
|
autoclose:true
|
|
});
|
|
|
|
<volist name=":I('get.')" id="vo">
|
|
Think.setValue('{$key}',"{$vo}");
|
|
</volist>
|
|
$(".select_gallery").select2();
|
|
|
|
//导航高亮
|
|
highlight_subnav('{:U('Mend/lists')}');
|
|
Think.setValue("prmoote_id_to", {$data.promote_id|default = "''"});
|
|
$('#submit').click(function(){
|
|
$('#form').submit();
|
|
});
|
|
$(function(){
|
|
$('.time').datetimepicker({
|
|
format: 'yyyy-mm-dd hh:ii',
|
|
language:"zh-CN",
|
|
minView:2,
|
|
autoclose:true
|
|
});
|
|
$('.date').datetimepicker({
|
|
format: 'yyyy-mm-dd',
|
|
language:"zh-CN",
|
|
minView:2,
|
|
autoclose:true
|
|
});
|
|
showTab();
|
|
});
|
|
</script>
|
|
</block>
|