|
3 | 3 | @section('content')
|
4 | 4 |
|
5 | 5 | <div class="row row-cards">
|
6 |
| - <div class="card"> |
7 |
| - <div class="card-header"> |
8 |
| - <h3 class="card-title">账单明细</h3> |
9 |
| - <div class="card-actions"> |
10 |
| - <a href="/users/{{auth()->data()->username}}.html?m=users_home_menu_8">充值</a> |
| 6 | + <div class="col-12"> |
| 7 | + <div class="card"> |
| 8 | + <div class="card-header"> |
| 9 | + <h3 class="card-title">账单明细</h3> |
| 10 | + <div class="card-actions"> |
| 11 | + <a href="/users/{{auth()->data()->username}}.html?m=users_home_menu_8">充值</a> |
| 12 | + </div> |
11 | 13 | </div>
|
12 |
| - </div> |
13 |
| - <div class="card-body"> |
14 |
| - <table class="table table-responsive"> |
15 |
| - <thead> |
16 |
| - <tr> |
17 |
| - <th>#</th> |
18 |
| - <th class="text-nowrap">变更前余额</th> |
19 |
| - <th class="text-nowrap">变更后余额</th> |
20 |
| - <th class="text-nowrap">绑定订单</th> |
21 |
| - <th class="text-nowrap">备注</th> |
22 |
| - <th class="text-nowrap">创建时间</th> |
23 |
| - </tr> |
24 |
| - </thead> |
25 |
| - <tbody> |
26 |
| - @if(!$page->count()) |
| 14 | + <div class="card-body table-responsive"> |
| 15 | + <table class="table table-vcenter"> |
| 16 | + <thead> |
27 | 17 | <tr>
|
28 |
| - <th>暂无结果</th> |
29 |
| - <td>暂无结果</td> |
30 |
| - <td>暂无结果</td> |
31 |
| - <td>暂无结果</td> |
32 |
| - <td>暂无结果</td> |
33 |
| - <td>暂无结果</td> |
| 18 | + <th>#</th> |
| 19 | + <th class="text-nowrap">变更前余额</th> |
| 20 | + <th class="text-nowrap">变更后余额</th> |
| 21 | + <th class="text-nowrap">绑定订单</th> |
| 22 | + <th class="text-nowrap">备注</th> |
| 23 | + <th class="text-nowrap">创建时间</th> |
34 | 24 | </tr>
|
35 |
| - @else |
36 |
| - @foreach($page as $data) |
| 25 | + </thead> |
| 26 | + <tbody> |
| 27 | + @if(!$page->count()) |
37 | 28 | <tr>
|
38 |
| - <th>{{$data->id}}</th> |
39 |
| - <td>{{$data->original}} {{get_options('wealth_money_unit_name','元')}}</td> |
40 |
| - <td>{{$data->cash}} {{get_options('wealth_money_unit_name','元')}}</td> |
41 |
| - <td>@if($data->order_id) <a href="/user/order/{{$data->order_id}}.order">{{$data->order_id}}</a> @else 未绑定订单 @endif</td> |
42 |
| - <td>@if($data->remark) {{$data->remark}} @else 无备注 @endif</td> |
43 |
| - <td>{{$data->created_at}}</td> |
| 29 | + <th>暂无结果</th> |
| 30 | + <td>暂无结果</td> |
| 31 | + <td>暂无结果</td> |
| 32 | + <td>暂无结果</td> |
| 33 | + <td>暂无结果</td> |
| 34 | + <td>暂无结果</td> |
44 | 35 | </tr>
|
45 |
| - @endforeach |
46 |
| - @endif |
47 |
| - </tbody> |
48 |
| - </table> |
49 |
| - <div class="mt-2"> |
50 |
| - @if($page->count()) |
51 |
| - {!! make_page($page) !!} |
52 |
| - @endif |
| 36 | + @else |
| 37 | + @foreach($page as $data) |
| 38 | + <tr> |
| 39 | + <th>{{$data->id}}</th> |
| 40 | + <td>{{$data->original}} {{get_options('wealth_money_unit_name','元')}}</td> |
| 41 | + <td>{{$data->cash}} {{get_options('wealth_money_unit_name','元')}}</td> |
| 42 | + <td>@if($data->order_id) <a href="/user/order/{{$data->order_id}}.order">{{$data->order_id}}</a> @else 未绑定订单 @endif</td> |
| 43 | + <td>@if($data->remark) {{$data->remark}} @else 无备注 @endif</td> |
| 44 | + <td>{{$data->created_at}}</td> |
| 45 | + </tr> |
| 46 | + @endforeach |
| 47 | + @endif |
| 48 | + </tbody> |
| 49 | + </table> |
| 50 | + <div class="mt-2"> |
| 51 | + @if($page->count()) |
| 52 | + {!! make_page($page) !!} |
| 53 | + @endif |
| 54 | + </div> |
53 | 55 | </div>
|
54 | 56 | </div>
|
55 | 57 | </div>
|
|
0 commit comments