| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <include file="public@header" />
- </head>
- <body>
- <div class="wrap js-check-wrap">
- <ul class="nav nav-tabs">
- <li class="active"><a href="{:url('recharge/index')}">牵线明细</a></li>
- <!-- <li ><a href="{:url('recharge/add')}">添加充值</a></li> -->
- </ul>
- <form class="well form-inline margin-top-20" method="get" action="{:url('Recharge/index')}">
- 昵称:
- <input type="text" class="form-control" name="nick_name" id="nick_name" style="width: 150px;" value="{:input('request.user_login/s','')}" placeholder="请输入昵称">
- 充值金额:
- <input type="text" class="form-control" name="pay_money" id="pay_money" style="width: 120px;" value="{:input('request.user_email/s','')}" placeholder="请输入金额">
- <input type="submit" class="btn btn-primary" value="搜索" />
-
- <a class="btn btn-warning" id="export" href="{:url('Recharge/export',array('nick_name'=>$Request.param.nick_name,'pay_money'=>$Request.param.pay_money))}">导出</a>
- <a class="btn btn-danger" href="{:url('Recharge/index',array('id'=>'11'))}">清空</a>
- </form>
- <table class="table table-hover table-bordered">
- <thead>
- <tr>
- <th width="16">
- <label>
- <input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
- </label>
- </th>
- <th width="50">ID</th>
- <th>昵称</th>
- <th>真实姓名</th>
- <th>手机号</th>
- <th>充值类型</th>
- <th>是否处理</th>
- <th>交易金额</th>
- <th>交易单号</th>
- <th>交易时间</th>
- <th>支付方式</th>
- <th>{:lang('STATUS')}</th>
- <th width="120">{:lang('ACTIONS')}</th>
- </tr>
- </thead>
-
- <tbody>
- <php>$user_statuses=array("0"=>lang('USER_STATUS_BLOCKED'),"1"=>lang('USER_STATUS_ACTIVATED'),"2"=>lang('USER_STATUS_UNVERIFIED'));</php>
- <foreach name="recharge_logs" item="vo">
- <tr>
- <td>
- <input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
- value="{$vo.id}">
- </td>
-
- <td>{$vo.id}</td>
- <td>{$vo.user_nickname}</td>
- <td>{$vo.real_name}</td>
- <td>{$vo.mobile}</td>
- <td>
- <switch name="vo.type">
- <case value="1">爱心充值</case>
- <case value="2">余额充值</case>
- <case value="3">积分充值</case>
- <case value="4">VIP充值购买</case>
- <case value="5">购买人工牵线服务</case>
- </switch>
- </td>
- <td>
- <switch name="vo.is_catch">
- <case value="1"><font style="color: green"> 已处理 </font></case>
- <case value="0"><font style="color: red"> 未处理</font></case>
- </switch>
- </td>
- <td>{$vo.pay_money}</td>
- <td>{$vo.transaction_id}</td>
- <td>{$vo.pay_at}</td>
- <td>
-
- <switch name="vo.pay_type">
-
- <case value="1"><font style="color: green"> 微信支付 </font></case>
-
- </switch>
- </td>
-
- <td>
- <switch name="vo.status">
-
- <case value="1"><font style="color: red"> 待支付 </font></case>
- <case value="2"><font style="color: green"> 已完成 </font></case>
- </switch>
-
- </td>
- <td>
- <a class="btn btn-xs btn-warning js-ajax-dialog-btn" style="background-color: #5c0d8e;border-color:#5c0d8e" href="{:url('Pullwire/tohandle',array('yes'=>1,'ids'=>$vo['id']))}" data-msg="确认处理该用户?">处理</a>
- <a class="btn btn-xs btn-primary" onclick="getPaike({$vo['id']})">查看</a>
-
- </td>
-
- </tr>
- </foreach>
- </tbody>
-
- </table>
-
- <div class="pagination">{$page}</div>
- </div>
- <script src="__STATIC__/js/admin.js"></script>
- <script >
- function getPaike(id){
- openIframeLayer("{:url('Recharge/rechargeinfo')}?id=" + id , "", {
- area: ['880px', '600px'],
- btn: ['确定', '取消'],
- })
- }
- </script>
- <script>
- // $(function(){
- // $("#export").click(function(){
- // $.ajax({
- // url:'export',
- // data:'',
- // success:function(result){
- // alert(result);
- // }
- // });
- // alert($('#rel_name').val());
- // });
- // });
- </script>
- </body>
- </html>
|