<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"> <table border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td class="l noticeinfo">用户账号</td> <td class="r table_radio"> <input name="account" value="{$data['user_account']}" disabled readonly type="text" class=""> </td> </tr> <tr> <td class="l noticeinfo">修改前渠道</td> <td class="r table_radio"> <input name="old_promote_id" value="{$data['promote_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="{$data['promote_account_to']}" disabled readonly type="text" class=""> <span class="notice-text"></span> </td> </tr> <tr> <td class="l noticeinfo">订单日期:</td> <td class="r table_radio"> <input type="text" readonly value="{$data['order_time']}" placeholder="订单日期" /> </td> </tr> <!-- <tr> <td class="l noticeinfo">换绑类型</td> <td class="r table_radio"> <input name="bind_type" value="1" type="radio">In <input name="bind_type" value="2" type="radio">Out </td> </tr> --> <tr> <td class="l noticeinfo">备注</td> <td class="r table_radio"> <textarea name="remark" readonly class="txt_area1">{$data['remark']}</textarea> <span class="notice-text"></span> </td> </tr> </tbody> </table> <div class="form-item cf"> <button class="submit_btn mlspacing" id="submit" data-id="{$data.task_id}"> 取消补链 </button> <a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();" > 返回 </a> </div> </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 src="__STATIC__/layer/layer.js" type="text/javascript"></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(){ //获取id var taskid = $(this).data("id"); $.ajax({ type:"get", dataType:"json", url:"{:U('Mend/cancelShift')}"+"&id="+taskid, success:function(data){ if(data.status == 1){ layer.msg('取消补链成功',function(){ window.location.href = data.url; }); }else{ layer.msg('取消补链失败,或补链已经生效无法取消') } }, error:function(){ layer.msg('网络错误'); } }) // window.location.href = "{:U('Mend/cancelShift')}"+"&id="+taskid; }); $(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>