From 770d0786a04f4a133c9564e5b4f07fcba85c8d36 Mon Sep 17 00:00:00 2001 From: wujingling0908 <2.com> Date: Wed, 30 Sep 2026 10:48:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/style/chat.css | 30 +-- src/assets/style/reset.css | 2 +- src/components/appraise-popup.vue | 55 ++---- src/components/business-handle.vue | 5 +- src/components/edit-address.vue | 4 +- src/components/geriatric-discourse.vue | 253 +++++++++++++------------ src/components/gmNetwork-address.vue | 2 +- src/components/hot-question.vue | 31 +-- src/components/network-address.vue | 2 +- src/components/problem-feedback.vue | 2 +- src/components/transfer-accounts.vue | 2 +- src/utils/https.js | 3 - src/views/chat.vue | 1 + 13 files changed, 182 insertions(+), 210 deletions(-) diff --git a/src/assets/style/chat.css b/src/assets/style/chat.css index 7686f84..f95fee5 100644 --- a/src/assets/style/chat.css +++ b/src/assets/style/chat.css @@ -14,7 +14,7 @@ button:disabled, .historicRecords button.answer-items:active { background: transparent; - color: #5a9cff; + color: #025cea; } .historicRecords button.answer-items:disabled { @@ -88,7 +88,7 @@ button:disabled, /* background-color: #dadada; */ padding: 5rem 5rem; border-radius: 5rem; - color: #7E849F; + color: #7e849f; white-space: nowrap; } @@ -219,7 +219,7 @@ img.avatarUrl-img[lazy="loading"] { .enter-service-link { font-family: NotoSansHans-Regular; font-size: 14rem; - color: #5a9cff; + color: #025cea; line-height: 21rem; background-color: transparent; display: inline-block; @@ -261,7 +261,7 @@ img.avatarUrl-img[lazy="loading"] { background-color: #fff; font-family: NotoSansHans-Regular; font-size: 14rem; - color: #5a9cff; + color: #025cea; position: relative; border: 0; } @@ -324,7 +324,7 @@ img.avatarUrl-img[lazy="loading"] { font-family: NotoSansHans-Regular; font-size: 13rem; line-height: 20rem; - color: #5a9cff; + color: #025cea; text-align: left; position: relative; box-sizing: border-box; @@ -343,7 +343,7 @@ img.avatarUrl-img[lazy="loading"] { top: 8rem; width: 4rem; height: 4rem; - background-color: #5a9cff; + background-color: #025cea; border-radius: 4rem; } @@ -362,7 +362,7 @@ img.avatarUrl-img[lazy="loading"] { .answer-help-btn { font-family: NotoSansHans-Regular; font-size: 14rem; - color: #5a9cff; + color: #025cea; line-height: 21rem; text-decoration: underline; background-color: transparent; @@ -381,7 +381,7 @@ img.avatarUrl-img[lazy="loading"] { } .question-answer-con button { - color: #5a9cff; + color: #025cea; background-color: transparent; text-decoration: underline; } @@ -456,7 +456,7 @@ img.avatarUrl-img[lazy="loading"] { /* box-shadow: 1rem 2rem 5rem 0 rgba(10, 75, 173, 0.42), inset 0 -4rem 15rem 0 rgba(164, 203, 255, 0.25); */ - border-radius: 100px; + border-radius: 100px; } .question-answer-con p .jump-web-button-disable, @@ -476,7 +476,7 @@ img.avatarUrl-img[lazy="loading"] { /* box-shadow: 1rem 2rem 5rem 0 rgba(45, 54, 67, 0.42), inset 0 -4rem 15rem 0 rgba(204, 225, 251, 0.25); */ - border-radius: 100px; + border-radius: 100px; pointer-events: none; margin: 16rem 0; } @@ -592,7 +592,7 @@ img.avatarUrl-img[lazy="loading"] { text-align: center; font-family: NotoSansHans-Regular; font-size: 13rem; - color: #5a9cff; + color: #025cea; line-height: 20rem; vertical-align: middle; outline: 0; @@ -606,7 +606,6 @@ img.avatarUrl-img[lazy="loading"] { .help-button-item:first-child { position: relative; - height: 100%; overflow: hidden; margin-right: 8rem; } @@ -639,7 +638,7 @@ img.avatarUrl-img[lazy="loading"] { } .help-button-item:not(.active):disabled { - color: #5a9cff !important; + color: #025cea !important; } .help-button-item.active:disabled { @@ -698,7 +697,6 @@ img.avatarUrl-img[lazy="loading"] { font-size: 14rem; line-height: 21rem; color: #333333; - padding-left: 12rem; word-break: break-all; } @@ -712,7 +710,9 @@ img.avatarUrl-img[lazy="loading"] { word-wrap: break-word; white-space: pre-wrap; } - +a { + color: #025cea; +} .chat-left-txt.red-txt { font-family: NotoSansHans-Medium; color: #fc5454; diff --git a/src/assets/style/reset.css b/src/assets/style/reset.css index cfab0c1..01dbca8 100644 --- a/src/assets/style/reset.css +++ b/src/assets/style/reset.css @@ -38,7 +38,7 @@ textarea::-webkit-input-placeholder { color: #999; opacity: 0.5; } -a{ text-decoration:none;color: #5A9CFF;} +a{ text-decoration:none;color: #025cea;} .hide{ display:none !important;} html,body{width: 100%;height: 100%;touch-action: none;overflow: hidden;} body{background: #fff;} diff --git a/src/components/appraise-popup.vue b/src/components/appraise-popup.vue index 1ab08a3..8326140 100644 --- a/src/components/appraise-popup.vue +++ b/src/components/appraise-popup.vue @@ -2,14 +2,12 @@
- 关闭
意见反馈
您的反馈对我们完善服务十分重要
@@ -259,7 +257,7 @@ const submitForm = (type) => { getReasonList() - \ No newline at end of file diff --git a/src/components/gmNetwork-address.vue b/src/components/gmNetwork-address.vue index d74aa50..86b02d1 100644 --- a/src/components/gmNetwork-address.vue +++ b/src/components/gmNetwork-address.vue @@ -35,7 +35,7 @@
4 - } - // 当isQA=true且在第一页时,如果数据超过4条也要显示展开收起 - if (props.isQA && active.value === 0) { - footerMore.value = len > 4 - } - // 其他页签如果数据超过4条也要显示展开收起 - if (active.value > 0) { - footerMore.value = len > 4 - } + footerMore.value = len > 4 updateTabHeight() } @@ -519,6 +505,7 @@ function initTabList() { nextTick(() => { activeChange(active.value) updateTabHeight() + scrollTopBody() }) } if (res.data && Array.isArray(res.data)) { @@ -547,10 +534,11 @@ function initTabList() { // 人工去掉第一个页签 tabsList.value.shift() } - // 数据加载完成后更新高度 + // 数据加载完成后更新高度,渲染完成滚到底部 nextTick(() => { activeChange(active.value) updateTabHeight() + scrollTopBody() }) } else { console.log('[hot-question] res.data 不是数组,无法生成页签:', res.data) @@ -687,7 +675,6 @@ onMounted(() => { min-height: 180rem; .van-tabs__nav1 { - font-weight: bold; & :deep(.van-tabs__line) { width: 24rem !important; @@ -786,7 +773,6 @@ onMounted(() => { span { font-size: 14rem; color: #17204d; - font-weight: 700; } .go { @@ -811,7 +797,7 @@ onMounted(() => { display: flex; align-items: center; justify-content: center; - font-size: 14rem; + font-size: 12rem; transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; z-index: 1; @@ -833,8 +819,7 @@ onMounted(() => { } span { - font-size: 15rem; - font-weight: 700; + font-size: 12rem; margin-right: 4rem; line-height: 15rem; } diff --git a/src/components/network-address.vue b/src/components/network-address.vue index 29dddfd..6c60cb7 100644 --- a/src/components/network-address.vue +++ b/src/components/network-address.vue @@ -30,7 +30,7 @@
diff --git a/src/components/transfer-accounts.vue b/src/components/transfer-accounts.vue index 0053e8b..5378002 100644 --- a/src/components/transfer-accounts.vue +++ b/src/components/transfer-accounts.vue @@ -44,7 +44,7 @@ { - if (res?.data?.code === 10022) { - toast(res.data.msg || '接口连接错误') - } resolve(res.data) }) .catch((err) => { diff --git a/src/views/chat.vue b/src/views/chat.vue index c3b72cc..2bfe019 100644 --- a/src/views/chat.vue +++ b/src/views/chat.vue @@ -197,6 +197,7 @@ const initToken = async () => { const res = await getToken() const data = res?.data if (!data) { + showToast(res?.msg || '获取用户信息失败:接口未返回 data') throw new Error('获取用户信息失败:接口未返回 data') }