123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- @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>
- <button class="btn btn-default" type="reset" onclick="self.location=document.referrer;"> 返回 </button>
- </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="10%">编号</th>
- <th width="10%">使用时间</th>
- <th width="10%">订单编号</th>
- <th width="10%">商品编号</th>
- <th width="10%">商品名称</th>
- </tr>
- </thead>
- <tbody>
- @if($data)
- @foreach($data as $k=>$a)
- <tr class="text-c">
- <td class="text-c">{{($k+1)}}</td>
- <td class="text-c">{{isset($a['dtime']) ? $a['dtime'] : "--"}}</td>
- <td class="text-c">{{isset($a['order_id']) ? $a['order_id'] : "--"}}</td>
- <td class="text-c">{{isset($a['goods_id']) ? $a['goods_id'] : "--"}}</td>
- <td class="text-c">{{isset($a['goods_name']) ? $a['goods_name'] : "--"}}</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);
- });
- {{--$("#page").paging({--}}
- {{--pageNo:{{$page}},--}}
- {{--totalPage: {{$pages}},--}}
- {{--totalSize: {{$count}},--}}
- {{--callback: function(num) {--}}
- {{--var phone = $('#phone').val();--}}
- {{--var name = $('#name').val();--}}
- {{--var team_id = $('#team_id').val();--}}
- {{--var admin_id = $('#admin_id').val();--}}
- {{--location.href='vipList?page='+num + '&name='+name + '&phone='+phone+ '&team_id=' + team_id + '&admin_id=' + admin_id;--}}
- {{--}--}}
- {{--})--}}
- </script>
- </body>
- @endsection
|