✨ style: 优化刷新按钮交互样式与统一类名
* 为刷新按钮添加统一的 fcb-refresh-button 类名 * 引入刷新按钮的悬停动效与过渡效果 * 优化刷新按钮交互反馈体验
This commit is contained in:
1 parent
9eef5ee5d6
commit
728fd63741
4 files changed
+23
-7
No files matched your search
@@ -320,7 +320,7 @@
|
||||
</div>
|
||||
<div v-else-if="hasLoadError" class="px-4 py-10 text-center">
|
||||
<p class="text-sm font-medium" :class="[primaryTextClass]">{{ t('fileManage.loadError') }}</p>
|
||||
<BaseButton class="mt-3" variant="secondary" @click="refreshFileList">{{ t('fileManage.refresh') }}</BaseButton>
|
||||
<BaseButton class="fcb-refresh-button mt-3" variant="secondary" @click="refreshFileList">{{ t('fileManage.refresh') }}</BaseButton>
|
||||
</div>
|
||||
<div v-else-if="tableData.length === 0" class="px-4 py-10 text-center text-sm" :class="[mutedTextClass]">
|
||||
<p>{{ hasActiveFilters ? t('fileManage.noMatches') : t('common.noData') }}</p>
|
||||
@@ -465,7 +465,7 @@
|
||||
<div v-if="!isMobileViewport" class="hidden md:block">
|
||||
<DataTable :title="t('fileManage.allFiles')" :headers="fileTableHeaders" table-class="min-w-[1120px]">
|
||||
<template #actions>
|
||||
<BaseButton variant="secondary" :loading="isLoading" @click="refreshFileList">
|
||||
<BaseButton class="fcb-refresh-button" variant="secondary" :loading="isLoading" @click="refreshFileList">
|
||||
<template #icon>
|
||||
<RefreshCwIcon class="mr-2 h-4 w-4" />
|
||||
</template>
|
||||
@@ -567,7 +567,7 @@
|
||||
<p class="font-medium" :class="[primaryTextClass]">
|
||||
{{ t('fileManage.loadError') }}
|
||||
</p>
|
||||
<BaseButton class="mt-4" variant="secondary" @click="refreshFileList">
|
||||
<BaseButton class="fcb-refresh-button mt-4" variant="secondary" @click="refreshFileList">
|
||||
<template #icon>
|
||||
<RefreshCwIcon class="mr-2 h-4 w-4" />
|
||||
</template>
|
||||
@@ -801,7 +801,7 @@
|
||||
<h3 class="text-lg font-semibold" :class="[primaryTextClass]">历史文件</h3>
|
||||
<p class="text-sm" :class="[mutedTextClass]">包含已删除、已过期和现存文件的下载统计</p>
|
||||
</div>
|
||||
<BaseButton variant="secondary" :loading="isHistoryLoading" @click="loadHistoryFiles">
|
||||
<BaseButton class="fcb-refresh-button fcb-secondary-card" variant="secondary" :loading="isHistoryLoading" @click="loadHistoryFiles">
|
||||
<template #icon>
|
||||
<RefreshCwIcon class="mr-2 h-4 w-4" />
|
||||
</template>
|
||||
|
||||
Reference in new issue
Block a user