fix: 调整分页信息样式,修改间距并优化代码结构
This commit is contained in:
@@ -199,23 +199,24 @@
|
||||
<button class="export-option" role="menuitem" onclick="exportData('excel')">导出 Excel</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 分页信息 -->
|
||||
<div class="pagination-info">
|
||||
<span class="pagination-text">
|
||||
显示 {{.StartRecord}} - {{.EndRecord}} / {{.Total}} 条记录
|
||||
</span>
|
||||
<select class="per-page-select"
|
||||
onchange="changePerPage(this.value)"
|
||||
aria-label="每页显示条数">
|
||||
<option value="10" {{if eq .PerPage 10}}selected{{end}}>10 条/页</option>
|
||||
<option value="25" {{if eq .PerPage 25}}selected{{end}}>25 条/页</option>
|
||||
<option value="50" {{if eq .PerPage 50}}selected{{end}}>50 条/页</option>
|
||||
<option value="100" {{if eq .PerPage 100}}selected{{end}}>100 条/页</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 分页信息 -->
|
||||
<div class="pagination-info">
|
||||
<span class="pagination-text">
|
||||
显示 {{.StartRecord}} - {{.EndRecord}} / {{.Total}} 条记录
|
||||
</span>
|
||||
<select class="per-page-select"
|
||||
onchange="changePerPage(this.value)"
|
||||
aria-label="每页显示条数">
|
||||
<option value="10" {{if eq .PerPage 10}}selected{{end}}>10 条/页</option>
|
||||
<option value="25" {{if eq .PerPage 25}}selected{{end}}>25 条/页</option>
|
||||
<option value="50" {{if eq .PerPage 50}}selected{{end}}>50 条/页</option>
|
||||
<option value="100" {{if eq .PerPage 100}}selected{{end}}>100 条/页</option>
|
||||
</select>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- 主内容区域 -->
|
||||
|
||||
Reference in New Issue
Block a user