🐛 修复移动端批量删除点击
This commit is contained in:
1 parent
ff768ea152
commit
53bcaeae8a
1 file changed
+9
-11
@@ -385,14 +385,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Transition name="fcb-expand-120">
|
<aside
|
||||||
<aside
|
v-if="hasSelectedFiles"
|
||||||
v-if="hasSelectedFiles"
|
class="pointer-events-auto fixed inset-x-0 bottom-0 z-[60] border-t px-3 pt-3 shadow-2xl backdrop-blur-xl md:hidden"
|
||||||
class="fixed inset-x-0 bottom-0 z-40 border-t px-3 pt-3 shadow-2xl backdrop-blur-xl md:hidden"
|
:class="isDarkMode ? 'border-[#40545c] bg-[#17252b]/95' : 'border-[#c8d7da] bg-[#f2f6f5]/95'"
|
||||||
:class="isDarkMode ? 'border-[#40545c] bg-[#17252b]/95' : 'border-[#c8d7da] bg-[#f2f6f5]/95'"
|
:style="{ paddingBottom: 'max(0.75rem, env(safe-area-inset-bottom))', touchAction: 'manipulation' }"
|
||||||
:style="{ paddingBottom: 'max(0.75rem, env(safe-area-inset-bottom))' }"
|
:aria-label="t('fileManage.mobileBatchActions')"
|
||||||
:aria-label="t('fileManage.mobileBatchActions')"
|
>
|
||||||
>
|
|
||||||
<div class="mx-auto max-w-lg space-y-2">
|
<div class="mx-auto max-w-lg space-y-2">
|
||||||
<div
|
<div
|
||||||
v-if="showMobilePolicyActions"
|
v-if="showMobilePolicyActions"
|
||||||
@@ -453,7 +452,7 @@
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="flex min-h-12 items-center justify-center rounded-xl bg-red-600 px-2 text-sm font-medium text-white shadow-sm disabled:opacity-50"
|
class="flex min-h-12 items-center justify-center rounded-xl bg-red-600 px-2 text-sm font-medium text-white shadow-sm disabled:opacity-50"
|
||||||
:disabled="isBatchUpdating || isBatchPolicyActionRunning"
|
:disabled="isBatchUpdating || isBatchPolicyActionRunning || isBatchDeleting"
|
||||||
@click="deleteSelectedFilesAndRefreshHistory"
|
@click="deleteSelectedFilesAndRefreshHistory"
|
||||||
>
|
>
|
||||||
<TrashIcon class="mr-1.5 h-4 w-4" aria-hidden="true" />
|
<TrashIcon class="mr-1.5 h-4 w-4" aria-hidden="true" />
|
||||||
@@ -461,8 +460,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
</Transition>
|
|
||||||
|
|
||||||
<div v-if="!isMobileViewport" class="hidden md:block">
|
<div v-if="!isMobileViewport" class="hidden md:block">
|
||||||
<DataTable :title="t('fileManage.allFiles')" :headers="fileTableHeaders" table-class="min-w-[1120px]">
|
<DataTable :title="t('fileManage.allFiles')" :headers="fileTableHeaders" table-class="min-w-[1120px]">
|
||||||
|
|||||||
Reference in new issue
Block a user