範例
明暗色系
遵循使用者設定
遵循使用者設定
亮色
暗色
縮放
標準
放大
標準
縮小
<div class="ts-pagination">
<a class="item is-back"></a>
<a class="item">1</a>
<a class="item is-active">2</a>
<a class="item">3</a>
<a class="item">4</a>
<a class="item is-next"></a>
</div>
狀態
項目
外觀
讓整個導覽列沒那麼顯眼。
<div class="ts-pagination is-secondary">
<a class="item is-back"></a>
<a class="item">1</a>
<a class="item is-skipped"></a>
<a class="item">4</a>
<a class="item is-active">5</a>
<a class="item">6</a>
<a class="item is-skipped"></a>
<a class="item">10</a>
<a class="item is-next"></a>
</div>
更改頁數導覽列的大小。
<div class="ts-pagination is-small">
<a class="item is-back"></a>
<a class="item">1</a>
<a class="item is-active">2</a>
<a class="item">3</a>
<a class="item is-next"></a>
</div>
<div class="ts-pagination">
<a class="item is-back"></a>
<a class="item">1</a>
<a class="item is-active">2</a>
<a class="item">3</a>
<a class="item is-next"></a>
</div>
<div class="ts-pagination is-large">
<a class="item is-back"></a>
<a class="item">1</a>
<a class="item is-active">2</a>
<a class="item">3</a>
<a class="item is-next"></a>
</div>
使項目之間看起來更寬鬆不擁擠。
<div class="ts-pagination is-outlined">
<a class="item is-back"></a>
<a class="item">1</a>
<a class="item is-active">2</a>
<a class="item">3</a>
<a class="item is-next"></a>
</div>
<div class="ts-pagination is-outlined is-relaxed">
<a class="item is-back"></a>
<a class="item">1</a>
<a class="item is-active">2</a>
<a class="item">3</a>
<a class="item is-next"></a>
</div>
組合應用
在資料的上、下方通常會有一個換頁用的導覽列,有時會包含筆數資訊。
<div class="ts-box">
<table class="ts-table is-basic">
<thead>
<tr>
<th>醫院種類</th>
<th>名稱</th>
<th class="is-collapsed">建立於</th>
</tr>
</thead>
<tbody>
<tr>
<td class="is-collapsed">東京 AH 綜合醫院</td>
<td>醫學藥品</td>
<td>2021/08/01</td>
</tr>
<tr>
<td class="is-collapsed">東京 AH 綜合醫院</td>
<td>常規心電圖</td>
<td>2021/08/01</td>
</tr>
</tbody>
</table>
<div class="ts-divider"></div>
<div class="ts-content is-dense is-secondary">
<div class="ts-grid is-compact is-middle-aligned">
<div class="column is-fluid">
單頁筆數:
<div class="ts-select is-basic">
<select>
<option>10</option>
<option>20</option>
<option selected>30</option>
</select>
</div>
</div>
<div class="column">
<div class="ts-pagination is-secondary">
<a class="item is-back"></a>
<a class="item">1</a>
<a class="item is-skipped"></a>
<a class="item">4</a>
<a class="item is-active">5</a>
<a class="item">6</a>
<a class="item is-skipped"></a>
<a class="item">10</a>
<a class="item is-next"></a>
</div>
</div>
</div>
</div>
</div>