From 6156c88429e61b62643d575d7f28074c48403ff1 Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Tue, 30 Dec 2025 14:51:19 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Workshop/profile.vue | 977 ++++++++++--------- src/views/asistant/components/InputArea.vue | 14 +- src/views/asistant/components/NoticeItem.vue | 8 +- src/views/login/ResetPage.vue | 8 +- src/views/login/SignupPage.vue | 8 +- src/views/login/customer.vue | 4 +- 6 files changed, 515 insertions(+), 504 deletions(-) diff --git a/src/views/Workshop/profile.vue b/src/views/Workshop/profile.vue index ea6f451..c00a2f7 100644 --- a/src/views/Workshop/profile.vue +++ b/src/views/Workshop/profile.vue @@ -1,523 +1,530 @@ diff --git a/src/views/asistant/components/InputArea.vue b/src/views/asistant/components/InputArea.vue index 670ca10..fb3b385 100644 --- a/src/views/asistant/components/InputArea.vue +++ b/src/views/asistant/components/InputArea.vue @@ -197,7 +197,9 @@ const startRecording = () => { // 检查浏览器支持 if (!('webkitSpeechRecognition' in window) && !('SpeechRecognition' in window)) { // alert('您的浏览器不支持语音识别功能') - showToast('Your browser does not support speech recognition, please try again with another browser') + showToast( + 'Your browser does not support speech recognition, please try again with another browser' + ) isRecording.value = false return } @@ -296,7 +298,7 @@ const stopRecording = () => { .shortcut-item { font-size: 4.2rem; width: fit-content; - font-family: 'robotoRegular'; + font-family: 'satoshiMedium'; white-space: nowrap; height: 8.1rem; line-height: 8.1rem; @@ -351,8 +353,8 @@ const stopRecording = () => { outline: none; background: transparent; font-size: 4rem; - font-family: 'robotoRegular'; - font-weight: 400; + font-family: 'satoshiMedium'; + font-weight: 500; line-height: 4.8rem; /* 设置行高等于实际渲染高度,实现垂直居中 */ padding: 0; color: #000; @@ -361,8 +363,8 @@ const stopRecording = () => { &::placeholder { color: #888; letter-spacing: -0.01em; - font-weight: 400; - font-family: 'robotoRegular'; + font-weight: 500; + font-family: 'satoshiMedium'; word-spacing: -5px; line-height: 4.8rem; } diff --git a/src/views/asistant/components/NoticeItem.vue b/src/views/asistant/components/NoticeItem.vue index 5151ede..100f2d2 100644 --- a/src/views/asistant/components/NoticeItem.vue +++ b/src/views/asistant/components/NoticeItem.vue @@ -103,13 +103,15 @@ const actionList: ActionItem[] = [ display: flex; margin-bottom: 16px; align-items: flex-start; + color: #000; .message-text { - font-size: 4.2rem; - font-family: 'robotoRegular'; + font-size: 4rem; + font-family: 'satoshiMedium'; line-height: 121%; - font-weight: 400; + font-weight: 500; background-color: #efefef; padding: 3.43rem 4.35rem; + letter-spacing: -0.01em; } &.user-message { diff --git a/src/views/login/ResetPage.vue b/src/views/login/ResetPage.vue index 5419c94..9332d95 100644 --- a/src/views/login/ResetPage.vue +++ b/src/views/login/ResetPage.vue @@ -4,7 +4,7 @@
- +
@@ -133,9 +133,9 @@ const handleSuccess = (data: any) => { cursor: pointer; z-index: 3; font-size: 3.4rem; - .back-icon { - width: 2.83rem; - height: 3.47rem; + .c-svg { + width: initial; + height: initial; } } diff --git a/src/views/login/SignupPage.vue b/src/views/login/SignupPage.vue index 7b8fa83..b9f6737 100644 --- a/src/views/login/SignupPage.vue +++ b/src/views/login/SignupPage.vue @@ -2,7 +2,7 @@