This commit is contained in:
2026-04-01 23:44:58 +08:00
parent 0af8a57c64
commit 7b395994f9
@@ -378,12 +378,14 @@ onMounted(() => {
<!-- 日历容器占满视口高度减去顶部导航高度 -->
<div class="flex w-full flex-col relative">
<!-- 事件编辑模态框 -->
<div
<div
v-if="showModal"
class="fixed inset-0 z-50 flex items-center justify-center bg-gray-800/20"
>
>
<!-- 👇 最关键给外层加最大高度 + 溢出隐藏 -->
<div class="modal-content bg-white rounded-lg shadow-lg w-full max-w-2xl max-h-[95vh] flex flex-col">
<div
class="modal-content bg-white rounded-lg shadow-lg w-full max-w-2xl max-h-[95vh] flex flex-col"
>
<!-- 模态框头部 -->
<div
class="modal-header border-b p-4 flex justify-between items-center flex-shrink-0"
@@ -514,7 +516,7 @@ onMounted(() => {
</div>
</div>
</div>
</div>
</div>
<!-- 日历主体区域带边框和阴影 -->
<div