From 92470013de3586b695cb94db4766e552275d6293 Mon Sep 17 00:00:00 2001 From: YI FANG Date: Mon, 1 Dec 2025 10:32:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E6=AD=A2=E5=8F=8C=E5=87=BB=E6=94=BE?= =?UTF-8?q?=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- src/components/exam/ExamModal.tsx | 25 +++++++++++++++++++++++-- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 9179919..a9310ad 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + yuanhe-ipad diff --git a/src/components/exam/ExamModal.tsx b/src/components/exam/ExamModal.tsx index c27673f..654dd42 100644 --- a/src/components/exam/ExamModal.tsx +++ b/src/components/exam/ExamModal.tsx @@ -29,9 +29,30 @@ export const ExamModal = ({ client, tab, onTabChange, onClose }: ExamModalProps) print: printDone, }; + const handleDoubleClick = (e: React.MouseEvent) => { + e.preventDefault(); + e.stopPropagation(); + }; + + const handleTouchStart = (e: React.TouchEvent) => { + if (e.touches.length > 1) { + e.preventDefault(); + } + }; + return ( -
-
+
+
{/* Header 区域:增加了内边距 padding */}