From becfd187df52ee19d3cc057ed60820d4a9dc77d2 Mon Sep 17 00:00:00 2001 From: songjvcheng Date: Wed, 6 Aug 2025 12:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=AD=89=E5=BE=85=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.html | 27 +++++++++++++++++++++++++++ src/index.js | 37 ++++++++++++++++++++++++++++++++++++- 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index d2a3976..df81ae5 100644 --- a/src/index.html +++ b/src/index.html @@ -119,6 +119,27 @@ opacity: 1; } + /* 等待连接提示样式 */ + .connection-waiting { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + z-index: 20; + color: white; + font-size: 18px; + text-align: center; + background: rgba(0, 0, 0, 0.7); + padding: 30px; + border-radius: 15px; + backdrop-filter: blur(10px); + transition: opacity 0.3s ease; + } + + .connection-waiting.show { + opacity: 1; + } + /* 加载动画 */ .loading-spinner { width: 40px; @@ -451,6 +472,12 @@
+ + +