{extend name="$_admin_base_layout" /} {block name="content"} {notempty name="page_tips_top"}

{$page_tips_top|raw}

{/notempty}
{$extra_html_block_top|raw|default=''}
{notempty name="tab_nav"}
{else/} {empty name="_pop"}

### {$page_title|default=""|htmlspecialchars}

{/empty} {/notempty}
{notempty name="_search_area"}
{volist name="_search_area" id="vo"} {switch name="vo[0]"} {case value="text"}
{$vo.2|default=''}
{/case} {case value="select"}
{$vo.2|default=''}
{/case} {case value="daterange"}
{$vo.2|default=''}
{/case} {/switch} {/volist}
重置
{/notempty} {// 顶部筛选及搜索 } {$extra_html_toolbar_top|raw|default=''}
{// 搜索框 } {notempty name="search"}
{$search_button ?= '
'}
{/notempty} {// 顶部按钮 }
{if (!empty($top_buttons))} {volist name="top_buttons" id="button"} {$button|raw} {/volist} {/if} {// 下拉菜单} {notempty name="_select_list"}
{volist name="_select_list" id="item"}
{/volist}
{/notempty} {// 时间段搜索} {notempty name="_filter_time"}
{/notempty}
{$extra_html_toolbar_bottom|raw|default=''}
{$extra_html_table_top|raw|default=''}

{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} {/volist}
{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} | {// 字段标题} {$column.title|default=''|htmlspecialchars} {// 排序功能} {php}if (isset($order_columns[$column['name']])): {/php} {php} $_by = input('param._by') == 'asc' ? 'desc' : 'asc'; $_param = array_merge(input('get.'), ['_by' => $_by, '_order' => $order_columns[$column['name']]]); if ($_param) { $_get = []; foreach ($_param as $key => $value) { $_get[] = $key. '=' .$value; } $_get = '?'.implode('&', $_get); } {/php} {php} if (input('param._order') == $order_columns[$column['name']]) { echo input('param._by') == 'asc' ? '' : ''; } else { echo ''; } {/php} {php}endif;{/php} {// 筛选功能} {php}if (isset($filter_columns[$column['name']])): {/php} {php} if (!empty(request()->param('_field_display'))) { $_field_display = request()->param('_field_display'); } {/php} {php}endif;{/php} {/volist}
--- | ---

{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} {/volist}
{volist name="row_list" id="row"}
{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} | {php}if(is_array($column['type']) || $column['type'] == '' || $column['type'] == 'btn' || $column['type'] == 'text'):{/php} {$row[$column['name']]|raw|default=''} {php}else:{/php} {$row[$column['name'].'__'.$column['type']]|raw|default=''} {php}endif;{/php} {/volist}
{/volist} {empty name="row_list"} {notempty name="empty_tips"}
{php}$colspan = count($columns)+1{/php} {$empty_tips|raw}
{/notempty} {/empty}

{gt name="fixed_left_column" value="0"}

{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} {/volist}
{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} | {// 字段标题} {$column.title|default=''|htmlspecialchars} {// 排序功能} {php}if (isset($order_columns[$column['name']])): {/php} {php} $_by = input('param._by') == 'asc' ? 'desc' : 'asc'; $_param = array_merge(input('get.'), ['_by' => $_by, '_order' => $order_columns[$column['name']]]); if ($_param) { $_get = []; foreach ($_param as $key => $value) { $_get[] = $key. '=' .$value; } $_get = '?'.implode('&', $_get); } {/php} {php} if (input('param._order') == $order_columns[$column['name']]) { echo input('param._by') == 'asc' ? '' : ''; } else { echo ''; } {/php} {php}endif;{/php} {// 筛选功能} {php}if (isset($filter_columns[$column['name']])): {/php} {php} if (!empty(request()->param('_field_display'))) { $_field_display = request()->param('_field_display'); } {/php} {php}endif;{/php} {/volist}
--- | ---

{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} {/volist}
{volist name="row_list" id="row"}
{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} | {php}if(is_array($column['type']) || $column['type'] == '' || $column['type'] == 'btn' || $column['type'] == 'text'):{/php} {$row[$column['name']]|raw|default=''} {php}else:{/php} {$row[$column['name'].'__'.$column['type']]|raw|default=''} {php}endif;{/php} {/volist}
{/volist} {empty name="row_list"} {notempty name="empty_tips"}
{php}$colspan = count($columns)+1{/php} {$empty_tips|raw}
{/notempty} {/empty}

{/gt} {gt name="fixed_right_column" value="0"}

{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} {/volist}
{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} | {// 字段标题} {$column.title|default=''|htmlspecialchars} {// 排序功能} {php}if (isset($order_columns[$column['name']])): {/php} {php} $_by = input('param._by') == 'asc' ? 'desc' : 'asc'; $_param = array_merge(input('get.'), ['_by' => $_by, '_order' => $order_columns[$column['name']]]); if ($_param) { $_get = []; foreach ($_param as $key => $value) { $_get[] = $key. '=' .$value; } $_get = '?'.implode('&', $_get); } {/php} {php} if (input('param._order') == $order_columns[$column['name']]) { echo input('param._by') == 'asc' ? '' : ''; } else { echo ''; } {/php} {php}endif;{/php} {// 筛选功能} {php}if (isset($filter_columns[$column['name']])): {/php} {php} if (!empty(request()->param('_field_display'))) { $_field_display = request()->param('_field_display'); } {/php} {php}endif;{/php} {/volist}
--- | ---

{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} {/volist}
{volist name="row_list" id="row"}
{if (!$hide_checkbox)} {/if} {volist name="columns" id="column"} | {php}if(is_array($column['type']) || $column['type'] == '' || $column['type'] == 'btn' || $column['type'] == 'text'):{/php} {$row[$column['name']]|raw|default=''} {php}else:{/php} {$row[$column['name'].'__'.$column['type']]|raw|default=''} {php}endif;{/php} {/volist}
{/volist} {empty name="row_list"} {notempty name="empty_tips"}
{php}$colspan = count($columns)+1{/php} {$empty_tips|raw}
{/notempty} {/empty}

{/gt} {$extra_html_table_bottom|raw|default=''}
{// 分页 } {notempty name="pages"} {$pages|raw} {/notempty} {notempty name="_page_info"}
/ {$_page_info->lastPage()|raw} 页，共 {$_page_info->total()|raw} 条数据，每页显示数量
{/notempty}
{$extra_html_block_bottom|raw|default=''}
{notempty name="page_tips_bottom"}

{$page_tips_bottom|raw}

{/notempty} {/block} {block name="style"} {volist name="css_list" id="vo"} {/volist} {// 额外CSS代码 } {$extra_css|raw|default=''} {/block} {block name="script"}
{volist name="js_list" id="vo"}
{/volist} {// 额外JS代码 } {$extra_js|raw|default=''} {/block}