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 */}