🎨 收紧移动端详情弹窗布局

This commit is contained in:
orion committed 2026-08-07 22:26:21 +08:00
1 parent cc93163f59
commit 7a8ff7bff6
5 files changed
+32 -32

No files matched your search

@@ -2,26 +2,26 @@
<transition name="fade">
<div
v-if="record"
class="fixed inset-0 bg-black/60 backdrop-blur-sm flex items-center justify-center z-50 p-3 sm:p-4 overflow-y-auto"
class="fixed inset-0 z-50 flex items-center justify-center overflow-y-auto bg-black/60 p-3 backdrop-blur-sm sm:p-4"
>
<div
class="w-full max-w-2xl rounded-2xl shadow-2xl transform transition-all duration-300 ease-out overflow-hidden"
class="w-full max-w-2xl overflow-hidden rounded-[24px] shadow-2xl transform transition-all duration-200 ease-out sm:rounded-[30px]"
:class="[isDarkMode ? 'bg-gray-900 bg-opacity-70' : 'bg-white bg-opacity-95']"
>
<div
class="px-4 sm:px-6 py-3 sm:py-4 border-b"
class="border-b px-3 py-3 sm:px-6 sm:py-4"
:class="[isDarkMode ? 'border-gray-800' : 'border-gray-100']"
>
<div class="flex items-center justify-between">
<h3
class="text-lg sm:text-xl font-semibold"
class="text-base font-semibold sm:text-xl"
:class="[isDarkMode ? 'text-white' : 'text-gray-900']"
>
{{ t('send.fileDetails') }}
</h3>
<button
@click="$emit('close')"
class="p-1.5 sm:p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"
class="rounded-[30px] p-1.5 transition-colors hover:bg-gray-100 dark:hover:bg-gray-800 sm:p-2"
>
<XIcon
class="w-4 h-4 sm:w-5 sm:h-5"
@@ -31,13 +31,13 @@
</div>
</div>
<div class="p-4 sm:p-6">
<div class="p-3 sm:p-5 lg:p-6">
<div
class="rounded-xl p-3 sm:p-4 mb-4 sm:mb-6"
class="mb-3 rounded-[20px] p-3 sm:mb-5 sm:rounded-[24px] sm:p-4"
:class="[isDarkMode ? 'bg-gray-800 bg-opacity-50' : 'bg-gray-50 bg-opacity-95']"
>
<div class="flex items-center mb-3 sm:mb-4">
<div class="p-2 sm:p-3 rounded-lg" :class="[isDarkMode ? 'bg-gray-800' : 'bg-white']">
<div class="rounded-[20px] p-2 sm:rounded-[24px] sm:p-3" :class="[isDarkMode ? 'bg-gray-800' : 'bg-white']">
<FileIcon
class="w-5 h-5 sm:w-6 sm:h-6"
:class="[isDarkMode ? 'text-indigo-400' : 'text-indigo-600']"