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=`