From e3fb970fa34a86a68112f8b51777792814f8c37c Mon Sep 17 00:00:00 2001 From: xiaobao <854914462@qq.com> Date: Wed, 28 Jan 2026 16:47:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BF=AE=E6=94=B9=20loading?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 43 ++++++++++++++++++++++++++++++++++++++++++- middle.html | 2 +- 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 15cfe5d..615ab95 100755 --- a/index.html +++ b/index.html @@ -1316,6 +1316,42 @@ } } + + .loading-dots { + display: flex; + justify-content: flex-start; + align-items: center; + font-size: 20px; + } + + .dot { + width: 8px; + height: 8px; + margin: 0 5px; + border-radius: 50%; + background-color: #ccc; + animation: dot-blink 1s infinite alternate; + } + + .dot:nth-child(1) { + animation-delay: 0s; + } + + .dot:nth-child(2) { + animation-delay: 0.5s; + } + + @keyframes dot-blink { + 0% { + background-color: #ccc; + } + 50% { + background-color: #333; /* 高亮颜色 */ + } + 100% { + background-color: #ccc; + } + } @@ -2491,7 +2527,12 @@ const getAiResponse = async (img) => { // ========================= const loadingDiv = document.createElement("div"); loadingDiv.className = "thinking-loading"; - loadingDiv.textContent = "深度思考中"; + let thinkinghtml=`