From 0730f6936103d094302c3e86dd491210a59ea4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Fri, 5 Sep 2025 08:53:07 +0800 Subject: [PATCH 1/3] fix: bug --- .env.development | 6 +++--- src/pages/course/components/touchBtn.vue | 1 + src/pages/course/study.vue | 8 ++++++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index 0b7218c4..b092e389 100644 --- a/.env.development +++ b/.env.development @@ -19,15 +19,15 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' # VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7002' # dev -# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' +VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' # sit -VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' +# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' # UAT # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786' # 任东 -VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' +# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602' # VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.140:9604' diff --git a/src/pages/course/components/touchBtn.vue b/src/pages/course/components/touchBtn.vue index 69f2381e..b1ac4d71 100644 --- a/src/pages/course/components/touchBtn.vue +++ b/src/pages/course/components/touchBtn.vue @@ -277,6 +277,7 @@ const activeNum = ref(1) const getRecordPermission = (obj) => { + if(isDisabled.value) return if (isTalking.value) { common.msg('操作频繁,请稍后重试!') setTimeout(() => { diff --git a/src/pages/course/study.vue b/src/pages/course/study.vue index 888961a1..bab2a422 100644 --- a/src/pages/course/study.vue +++ b/src/pages/course/study.vue @@ -81,8 +81,8 @@ :onlyVoice="answerOnlyVoice" :canAnswer="testAnswer" :adjustPosition="true" - :canAnswerText="'每个问题最多连续发送五次答案!'" - :isDisabled="(lastTalkingInfo.type || 0) !== 4" /> + :canAnswerText="canAnswerText" + :isDisabled="(lastTalkingInfo.type || 0) !== 4 || ['SN','MU','JD'].includes(lastTalkingInfo.qnsTyp)"/> @@ -357,6 +357,10 @@ const answerOnlyVoice = computed(() => { return lastTalkingInfo.value.answerWay === 'V' }) +const canAnswerText = computed(() => { + return '每个问题最多连续发送五次答案!' +}) + // 获取段落 const getGraphInfoUnStudy = (flag = 0) => { let _id = new Date().getTime() + 'id' From f482e6d208e8008d89d9ee35e17fd94cae0c0288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Fri, 5 Sep 2025 15:41:41 +0800 Subject: [PATCH 2/3] fix: bug --- src/pages/index/dialog.vue | 44 ++++++++++++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/src/pages/index/dialog.vue b/src/pages/index/dialog.vue index aff3e114..f9ba70ce 100644 --- a/src/pages/index/dialog.vue +++ b/src/pages/index/dialog.vue @@ -11,7 +11,12 @@ - + + + 历史 + 消息 + 我的 + @@ -463,9 +468,19 @@ }) } const historyRef = ref(null) + const showMenuList = ref(false) const showHistory = () => { + showMenuList.value = false historyRef.value.open() } + const toMessage = () => { + showMenuList.value = false + common.navigateTo('/pages/messageNotification/index') + } + const toMePage = () => { + showMenuList.value = false + common.switchTab('/pages/me/index') + } const showHistoryDetail = (item) => { queryAskHisByBatchIdPaging({ @@ -787,18 +802,39 @@ .seek-setting { position: absolute; - z-index: 3; + z-index: 13; right: 45rpx; top: 8rpx; font-size: 26rpx; width: 140rpx; height: 52rpx; padding: 10rpx 0; - overflow: hidden; + // overflow: hidden; line-height: 32rpx; text-align: right; padding-right: 48rpx; - + .more-list{ + position: absolute; + top: 100%; + right: 0; + width: 100rpx; + text-align: center; + background-color: #fff; + border-radius: 12rpx; + padding: 16rpx 0; + display: none; + z-index: 21; + &.show{ + display: block; + } + .more-item{ + line-height: 60rpx; + font-size: 29rpx; + color: #333; + position: relative; + z-index: 22; + } + } .image-icon { width: 30rpx; height: 32rpx; From 889c25e03ba819b0d534232049da438adcbea054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Fri, 5 Sep 2025 15:56:06 +0800 Subject: [PATCH 3/3] fix: bug --- src/pages/index/components/answer.vue | 7 ++++++- src/pages/index/dialog.vue | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pages/index/components/answer.vue b/src/pages/index/components/answer.vue index 7f5c7413..8af4d290 100644 --- a/src/pages/index/components/answer.vue +++ b/src/pages/index/components/answer.vue @@ -20,6 +20,7 @@ {{index+1}}. {{item.docName}} + 本次回答参考资料来源于网络 @@ -236,7 +237,11 @@ } } } - + .link-cont-desc{ + margin-bottom: 12rpx; + font-size: 24rpx; + color: #999; + } .link-cont { margin-bottom: 12rpx; font-size: 28rpx; diff --git a/src/pages/index/dialog.vue b/src/pages/index/dialog.vue index f9ba70ce..72cd412d 100644 --- a/src/pages/index/dialog.vue +++ b/src/pages/index/dialog.vue @@ -200,8 +200,8 @@ const createNewDialog = () => { + common.msg('已经是最新对话') common.redirectTo(`/pages/index/dialog`) - // talkingList.value = [] } const showModelComfirm = ref(false) const reconcatNum = ref(1)