diff --git a/src/index.html b/src/index.html
index dbb1c2f..ad30c66 100644
--- a/src/index.html
+++ b/src/index.html
@@ -188,11 +188,21 @@
left: 50%;
transform: translateX(-50%);
z-index: 10;
- display: flex;
+ display: flex !important;
+ flex-direction: row !important;
justify-content: center;
+ align-items: center;
gap: 20px;
}
+ /* 确保移动端也保持同一行 */
+ @media (max-width: 768px) {
+ .controls {
+ flex-direction: row !important;
+ gap: 15px;
+ }
+ }
+
#startButton {
width: 60px;
height: 60px;
@@ -291,10 +301,32 @@
cursor: not-allowed;
}
+ #stopButton {
+ width: 60px;
+ height: 60px;
+ border-radius: 50%;
+ background: rgba(220, 53, 69, 0.9);
+ backdrop-filter: blur(10px);
+ border: none;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ transition: all 0.3s ease;
+ box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
+ padding: 0; /* 确保没有内边距影响居中 */
+ }
+
+ #stopButton:hover:not(:disabled) {
+ background: rgba(200, 35, 51, 0.95);
+ transform: scale(1.1);
+ }
+
#stopButton svg {
width: 24px;
height: 24px;
- fill: white;
+ display: block; /* 确保SVG作为块级元素 */
+ margin: auto; /* 额外的居中保证 */
}
#stopButton:disabled {
@@ -312,8 +344,8 @@
-
-
+
+
未连接
@@ -353,18 +385,8 @@
-
-
+
+
正在通话中