<extend name="Public/base" /> <block name="body"> <style> .tabcon1711 .table_click, .tabcon1711 .table_click:hover { border: none; } .tabcon1711 .table_click .table_click_text { border-bottom: 1px solid transparent; } .tabcon1711 .table_click:hover .table_click_text { border-bottom-color: #145CCD; } .tabcon1711 .datainfo { font-size: 14px; } .submit_btn { background-image: none; } </style> <script src="__STATIC__/layer/layer.js" type="text/javascript"></script> <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="tab-wrap"> <div class="tab-content tabcon1711"> <!-- 表单 --> <div class="cf main-place top_nav_list navtab_list"> <h3 class="page_title">线下充值审核</h3> <p class="description_text">说明:当用户在推广后台发起线下充值时,可在本页面审核是否通过,通过则自动发币</p> </div> <div class="tab-pane in tab1"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="l">充值账号:</td> <td class="r"> <span class="datainfo">{$data['promote_account']}</span> </td> </tr> <tr> <td class="l">平台币数量:</td> <td class="r"> <span class="datainfo">{$data['coin_num']}</span> </td> </tr> <tr> <td class="l">购买金额:</td> <td class="r"> <span class="datainfo">{$data['real_amount']}</span> </td> </tr> <tr> <td class="l">汇入银行:</td> <td class="r"> <span class="datainfo">--</span> </td> </tr> <tr> <td class="l">支付凭证:</td> <td class="r"> <span class="datainfo">{$data['pay_order_number']}</span> </td> </tr> <tr> <td class="l">支付截图:</td> <td class="r"> <img src="{$data['voucher_img']}" style="width: 200px;height: auto;"> </td> </tr> <tr> <td class="l">备注:</td> <td class="r"> <span class="datainfo">{$data['remark']}</span> </td> </tr> <if condition="$data.order_status eq 2 "> <tr> <td class="l noticeinfo"></td> <td class="r"> <div class="new_submit" data-id="{$data['id']}"> <button id="agree" class="submit_btn" style="background-color:rgba(51, 153, 255, 1);"> 审核通过 </button> <button id="reject" class="submit_btn " style="background-color:red;"> 拒绝审核通过 </button> </div> </td> </tr> </if> </table> </div> </div> </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__/layer/extend/layer.ext.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('PromoteCoin/offlineList')}"); Think.setValue("prmoote_id_to", "{$data.promote_id |default= 0}"); $('#submit').click(function () { $('#form').submit(); }); $("#agree").on("click",function(){ var id = $(this).parents(".new_submit").data("id"); var url= "{:U('PromoteCoin/offlineAgree')}"+"&ids[]="+id; $.get(url, function(result){ if(result.status == 1){ layer.msg(result.info, { icon: 1, time: 1000 //2秒关闭(如果不配置,默认是3秒) }, function(){ window.location.reload() }); } }); }) $("#reject").on("click",function(){ var id = $(this).parents(".new_submit").data("id"); var url= "{:U('PromoteCoin/offlineReject')}"+"&ids[]="+id; $.get(url, function(result){ if(result.status == 1){ layer.msg(result.info, { icon: 1, time: 1000 //2秒关闭(如果不配置,默认是3秒) }, function(){ window.location.reload() }); } }); // window.location.href = "{:U('PromoteCoin/offlineReject')}"+"&ids[]="+id; }) $(function () { }); </script> </block>