mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-09 11:12:28 +08:00
refactor(frontend): 优化 UI 基础组件
- 更新 avatar-image, badge, checkbox, input, switch 等组件 - 优化 dialog, pagination, select-item, tabs 等组件 - 调整 table-card, refresh-button 组件
This commit is contained in:
@@ -48,7 +48,10 @@
|
||||
</Button>
|
||||
|
||||
<!-- 页码按钮(智能省略) -->
|
||||
<template v-for="page in pageNumbers" :key="page">
|
||||
<template
|
||||
v-for="page in pageNumbers"
|
||||
:key="page"
|
||||
>
|
||||
<Button
|
||||
v-if="typeof page === 'number'"
|
||||
:variant="page === current ? 'default' : 'outline'"
|
||||
@@ -59,7 +62,10 @@
|
||||
>
|
||||
{{ page }}
|
||||
</Button>
|
||||
<span v-else class="px-2 text-muted-foreground select-none">{{ page }}</span>
|
||||
<span
|
||||
v-else
|
||||
class="px-2 text-muted-foreground select-none"
|
||||
>{{ page }}</span>
|
||||
</template>
|
||||
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user