123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- @extends('admin/master')
- @section('content')
- <body>
- @if(session('info'))
- <div class="Huialert Huialert-info" onclick="$(this).remove()" id="info">
- {{session('info')}}
- </div>
- @endif
- <div class="page-container">
- <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"> <a class="btn btn-primary radius" href="/admin/deposit/customerList"> 返回</a></span> </div>
- <div class="mt-20">
- <table class="table table-border table-bordered table-bg table-hover table-sort">
- <thead>
- <tr class="text-c">
- {{--<th width="25"><input type="checkbox" name="" value=""></th>--}}
- <th width="10%">账号</th>
- <th width="10%">消费(或退补)金额</th>
- <th width="10%">订单ID</th>
- <th width="10%">类型</th>
- <th width="10%">时间</th>
- </tr>
- </thead>
- <tbody>
- @if($result)
- @foreach($result as $a)
- <tr class="text-c">
- {{--<td><input name="" type="checkbox" value=""></td>--}}
- <td class="text-c">{{$a['phone']}}</td>
- <td class="text-c">{{$a['money']}}</td>
- <td class="text-c">{{$a['order_id']}}</td>
- <td class="text-c">@if($a['type'] == 1) 退补 @else 消费 @endif</td>
- <td class="text-c">{{$a['create_time']}}</td>
-
- </tr>
- @endforeach
- @endif
- </tbody>
- </table>
- </div>
- <div id="page" class="page_div"></div>
- </div>
- <!--_footer 作为公共模版分离出去-->
- <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
- <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
- <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
- <script type="text/javascript" src="/admin/lib/page/paging.js"></script>
- <!--/_footer 作为公共模版分离出去-->
- <!--/_footer 作为公共模版分离出去-->
- <script type="text/javascript">
- $(function(){
- setTimeout("$('#info').hide()",3000);
- });
- /*管理员-添加*/
- function admin_add(title, phone){
- location.href = '/admin/deposit/create?phone='+phone;
- }
- /*管理员-编辑*/
- function admin_edit(title,id){
- location.href = "/admin/admin/teamedit/"+id;
- }
- function depositlist(title,phone){
- location.href = '/admin/deposit/index?phone='+phone;
- }
- $("#page").paging({
- pageNo:{{$page}},
- totalPage: {{$pages}},
- totalSize: {{$count}},
- callback: function(num) {
- var phone = '{{$phone}}'
- location.href='consumList?page='+num+'&phone='+phone;
- }
- })
- </script>
- </body>
- @endsection
|