diff --git a/dsLightRag/static/RecognizeEduQuestionOcr.html b/dsLightRag/static/RecognizeEduQuestionOcr.html index 3cd177d1..09ffaa36 100644 --- a/dsLightRag/static/RecognizeEduQuestionOcr.html +++ b/dsLightRag/static/RecognizeEduQuestionOcr.html @@ -230,12 +230,44 @@ } @keyframes spin { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(360deg); - } + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } + } + + /* 图片模态框样式 */ + .modal { + display: none; /* 默认隐藏 */ + position: fixed; + z-index: 1001; /* 确保在加载动画之上 */ + padding-top: 50px; + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: auto; + background-color: rgba(0,0,0,0.9); + } + + .modal-content { + margin: auto; + display: block; + max-width: 80%; + max-height: 80%; + } + + .close-btn { + position: absolute; + top: 20px; + right: 35px; + color: white; + font-size: 40px; + font-weight: bold; + cursor: pointer; + transition: 0.3s; + } + + .close-btn:hover { + color: #bbb; } @@ -254,7 +286,7 @@