65 lines
3.0 KiB
PHP
65 lines
3.0 KiB
PHP
<div class="pageHeader">
|
|
<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="{{ url()->current() }}" method="post">
|
|
<div class="searchBar">
|
|
<table class="searchContent">
|
|
<tr>
|
|
<td>
|
|
手机号:
|
|
<input type="text" name="mobile" value="{{ Request::input('mobile') }}" placeholder=""/>
|
|
</td>
|
|
<td>
|
|
微信昵称:
|
|
<input type="text" name="wechat" value="{{ Request::input('wechat') }}" placeholder=""/>
|
|
</td>
|
|
<td><div class="buttonActive"><div class="buttonContent"><button type="submit">检索结果</button></div></div></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="pageContent">
|
|
|
|
<table class="table" width="100%" layoutH="112">
|
|
<thead>
|
|
<tr>
|
|
<th width="50" orderField="id" @if (Request::input('orderField') == 'id') class="{{ Request::input('orderDirection') }}" @endif>编号</th>
|
|
<th width="200">提交人</th>
|
|
<th width="100">手机号</th>
|
|
<th width="100">微信昵称</th>
|
|
<th width="140" orderField="created_at" @if (Request::input('orderField') == 'created_at') class="{{ Request::input('orderDirection') }}" @endif>提交时间</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($lists as $team)
|
|
<tr>
|
|
<td>{{ $team->id }}</td>
|
|
<td>{{ $team->user->info->nickname }}</td>
|
|
<td>{{ $team->mobile }}</td>
|
|
<td>{{ $team->wechat }}</td>
|
|
<td>{{ $team->created_at }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="panelBar">
|
|
<form id="pagerForm" method="post" action="#rel#">
|
|
<input type="hidden" name="page" value="{{ $lists->currentPage() }}" />
|
|
<input type="hidden" name="numPerPage" value="{{ $lists->perPage() }}" />
|
|
<input type="hidden" name="orderField" value="{{ Request::input('orderField') }}" />
|
|
<input type="hidden" name="orderDirection" value="{{ Request::input('orderDirection') }}" />
|
|
</form>
|
|
<div class="pages">
|
|
<span>显示</span>
|
|
<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
|
|
<option @if ($lists->perPage() == 30) selected @endif value="30">30</option>
|
|
<option @if ($lists->perPage() == 100) selected @endif value="100">100</option>
|
|
<option @if ($lists->perPage() == 200) selected @endif value="200">200</option>
|
|
</select>
|
|
<span>条,共 {{ $lists->total() }} 条</span>
|
|
</div>
|
|
<div class="pagination" targetType="navTab" totalCount="{{ $lists->total() }}" numPerPage="{{ $lists->perPage() }}" pageNumShown="10" currentPage="{{ $lists->currentPage() }}"></div>
|
|
</div>
|
|
</div>
|