From 45b0259fc4dfae75ebce51d50e48d97a9d50d44e Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 24 Feb 2026 15:14:21 +0800
Subject: [PATCH] feat:样式调整
---
applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue | 30 ++++++++++++++----------------
1 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue b/applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue
index 3cddfa1..52e2e4e 100644
--- a/applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue
+++ b/applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue
@@ -46,7 +46,7 @@
const WS_BASE = 'ws://218.202.104.82:38201/ws/chat'
const newUserInfo = ref(null)
const uid = ref('')
-const peerUid = ref('2021474568497131521')
+const peerUid = ref('')
// 联系人名称
const contactName = ref('')
@@ -639,6 +639,9 @@
font-family: Arial, sans-serif;
background-color: #f5f5f5;
transition: all 0.3s ease;
+ display: flex;
+ align-items: center;
+ justify-content: center;
}
/* 来电时的全屏样式 */
@@ -665,12 +668,11 @@
.content-wrapper {
display: flex;
flex-direction: column;
- gap: 20px;
+ gap: 30px;
max-width: 600px;
- margin: 0 auto;
- height: 100%;
- justify-content: center;
+ width: 100%;
align-items: center;
+ padding: 20px;
}
.input-group {
@@ -703,7 +705,7 @@
gap: 50px;
flex-wrap: wrap;
justify-content: center;
- margin-top: 80px;
+ margin-top: 40px;
}
.btn {
@@ -785,18 +787,16 @@
font-size: 18px;
color: #333;
text-align: center;
- margin-bottom: 20px;
+ margin-bottom: 10px;
}
/* 联系人名称样式 */
.contactName {
- font-size: 18px;
+ font-size: 20px;
font-weight: bold;
color: #333;
text-align: center;
- margin-top: 10px;
- margin-bottom: 40px;
-
+ margin: 15px 0;
}
/* 来电状态样式 */
@@ -870,7 +870,6 @@
/* 头像样式 */
.contactAvatar {
- margin-top: 150px;
width: 180px;
height: 180px;
display: flex;
@@ -888,10 +887,9 @@
}
}
-/* 来电时的头像放大效果 */
+/* 来电时的头像样式 */
.call-container.incoming-call .contactAvatar {
- width: 220px;
- height: 220px;
- margin-bottom: 60px;
+ width: 180px;
+ height: 180px;
}
</style>
--
Gitblit v1.9.3