diff --git a/dsLightRag/static/RecognizeEduQuestionOcr.html b/dsLightRag/static/RecognizeEduQuestionOcr.html index 2c5f9e7f..6bda9644 100644 --- a/dsLightRag/static/RecognizeEduQuestionOcr.html +++ b/dsLightRag/static/RecognizeEduQuestionOcr.html @@ -113,6 +113,7 @@ height: 150px; object-fit: contain; background-color: #f9f9f9; + cursor: pointer; /* 添加鼠标悬停小手效果 */ } .example-image-card .description { @@ -181,6 +182,7 @@ background-color: #f9f9f9; line-height: 1.8; /* 优化行高 */ } + .option-item { margin: 8px 0; /* 为选项添加上下间距 */ background-color: #f9f9f9; @@ -224,14 +226,19 @@ position: relative; /* 关键:作为动画容器的定位基准 */ overflow: hidden; /* 防止动画溢出 */ } + .option-item { margin: 8px 0; /* 为选项添加上下间距 */ background-color: #f9f9f9; } @keyframes spin { - 0% { transform: rotate(0deg); } - 100% { transform: rotate(360deg); } + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } } /* 图片模态框样式 */ @@ -245,7 +252,7 @@ width: 100%; height: 100%; overflow: auto; - background-color: rgba(0,0,0,0.9); + background-color: rgba(0, 0, 0, 0.9); } .modal-content { @@ -278,6 +285,7 @@
+
@@ -285,8 +293,11 @@

示例公式图片

+
- 公式示例1 + 公式示例1
数学公式示例
@@ -296,7 +307,8 @@

公式识别

- +
@@ -312,7 +324,9 @@

示例试题图片

- 试题示例1 + 试题示例1
试题示例
@@ -322,7 +336,8 @@

试题识别

- +
@@ -330,6 +345,7 @@
+
@@ -350,13 +366,13 @@ processEscapes: true, packages: {'[+]': ['ams']} }, - svg: { fontCache: 'global' }, - startup: { pageReady: pageReady } + svg: {fontCache: 'global'}, + startup: {pageReady: pageReady} }; // MathJax 加载完成后执行 function pageReady() { - return MathJax.startup.defaultPageReady().then(function() { + return MathJax.startup.defaultPageReady().then(function () { console.log('MathJax 3 加载完成'); }); } @@ -367,15 +383,19 @@ \ No newline at end of file + + // 识别手写(仅显示提示信息) + function recognizeHandwriting() { + alert("功能尚未实现,敬请期待!"); + } + + + +
+
+

示例手写图片

+
+
+ 手写示例1 +
手写示例1
+
+
+ 手写示例2 +
手写示例2
+
+
+ 手写示例3 +
手写示例3
+
+
+ 手写示例4 +
手写示例4
+
+
+
+ +
+

手写识别

+
+
+ + + +
+
+
识别结果将在此处显示
+
+
+
+
+ + + \ No newline at end of file