From 844306a02c7c02cdcdbde2fa592eafb8fde515bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Fri, 13 Mar 2026 09:12:32 +0800 Subject: [PATCH 1/4] =?UTF-8?q?JLBA202505130001=5F=E5=85=B3=E4=BA=8E?= =?UTF-8?q?=E5=90=89=E6=9E=97=E9=93=B6=E8=A1=8C=E6=96=B0=E5=BB=BAAI?= =?UTF-8?q?=E6=99=BA=E8=83=BD=E5=9F=B9=E8=AE=AD=E7=B3=BB=E7=BB=9F=E7=9A=84?= =?UTF-8?q?=E9=9C=80=E6=B1=82=5Ffix=EF=BC=9A=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/course/study.vue | 50 ++++++++++++++++++++++++++------------ 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/src/pages/course/study.vue b/src/pages/course/study.vue index 6123e793..43e5966a 100644 --- a/src/pages/course/study.vue +++ b/src/pages/course/study.vue @@ -957,7 +957,7 @@ pgrphId: unref(lastTalkingInfo).pgrphId, qnsId: unref(lastTalkingInfo).qnsId, talkingContent: '', - talkingVoice: voicePath, + talkingVoice: '', type: 1, userInfo: { ...choiceTeacherInfo.value @@ -965,9 +965,25 @@ id: _id }) setIsUploadingVoice() - scrollToBottomNow() // #endif + //#ifdef APP-PLUS + talkingList.value.push({ + crsId: crsId.value, + pgrphId: unref(lastTalkingInfo).pgrphId, + qnsId: unref(lastTalkingInfo).qnsId, + talkingContent: '', + talkingVoice: '', + intrctId: '', + isLoading: true, + type: 1, + userInfo: { + ...choiceTeacherInfo.value + }, + id: _id + }) + // #endif + scrollToBottomNow() } // 新录音组件语音提交 const submitVoice = ({ @@ -1019,11 +1035,13 @@ id: _id, voiceTime: 0 } + talkingList.value.pop() talkingList.value.push(_obj) scrollToBottomNow() setIsUploadingVoice() }) .catch((err) => { + talkingList.value.pop() setIsUploadingVoice() }) } @@ -1063,20 +1081,20 @@ scrollToBottomNow() // #endif //#ifdef APP-PLUS - talkingList.value.push({ - crsId: crsId.value, - pgrphId: unref(lastTalkingInfo).pgrphId, - qnsId: unref(lastTalkingInfo).qnsId, - talkingContent: '', - talkingVoice: voicePath, - intrctId: '', - isLoading: true, - type: 1, - userInfo: { - ...choiceTeacherInfo.value - }, - id: _id - }) + // talkingList.value.push({ + // crsId: crsId.value, + // pgrphId: unref(lastTalkingInfo).pgrphId, + // qnsId: unref(lastTalkingInfo).qnsId, + // talkingContent: '', + // talkingVoice: voicePath, + // intrctId: '', + // isLoading: true, + // type: 1, + // userInfo: { + // ...choiceTeacherInfo.value + // }, + // id: _id + // }) scrollToBottomNow() let _path = isPreview.value ? '/trastudy/traStdychat/previewVoiceChart' : '/trastudy/traStdychat/voiceChart' commonUploadVoiceFile(voicePath, _path, { From 9655fedd6ebd61d6e79b0fd3eddf5435c9945627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Fri, 13 Mar 2026 14:57:13 +0800 Subject: [PATCH 2/4] =?UTF-8?q?JLBA202505130001=5F=E5=85=B3=E4=BA=8E?= =?UTF-8?q?=E5=90=89=E6=9E=97=E9=93=B6=E8=A1=8C=E6=96=B0=E5=BB=BAAI?= =?UTF-8?q?=E6=99=BA=E8=83=BD=E5=9F=B9=E8=AE=AD=E7=B3=BB=E7=BB=9F=E7=9A=84?= =?UTF-8?q?=E9=9C=80=E6=B1=82=5Ffix:=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development.yh | 4 ++-- src/pages/sparring/components/answer.vue | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.development.yh b/.env.development.yh index 670788c2..e5b3101e 100644 --- a/.env.development.yh +++ b/.env.development.yh @@ -4,9 +4,9 @@ ENV = 'development.yh' # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' -# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' +VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786' -VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' +# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' # VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.32.154:9604' # VITE_APP_BASE_H5_API_Url_TRAPRACTICE = 'http://25.64.32.156:9603' # VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.154:9601' diff --git a/src/pages/sparring/components/answer.vue b/src/pages/sparring/components/answer.vue index bb349093..1847c578 100644 --- a/src/pages/sparring/components/answer.vue +++ b/src/pages/sparring/components/answer.vue @@ -145,6 +145,7 @@ talkVoiceObj.value.play(); }, 100); } else { + emit('changePlay', unref(dataInfo)?.id); playVoice(); } }; From 146440027548b2f86f341cee1dc231cb4d60724a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Fri, 13 Mar 2026 17:28:46 +0800 Subject: [PATCH 3/4] =?UTF-8?q?JLBA202505130001=5F=E5=85=B3=E4=BA=8E?= =?UTF-8?q?=E5=90=89=E6=9E=97=E9=93=B6=E8=A1=8C=E6=96=B0=E5=BB=BAAI?= =?UTF-8?q?=E6=99=BA=E8=83=BD=E5=9F=B9=E8=AE=AD=E7=B3=BB=E7=BB=9F=E7=9A=84?= =?UTF-8?q?=E9=9C=80=E6=B1=82=5F=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E7=A0=B4=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- src/components/touch-btn/touch-btn.vue | 2 +- src/manifest.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.production b/.env.production index 1c638276..5104dc93 100644 --- a/.env.production +++ b/.env.production @@ -3,4 +3,4 @@ ENV = 'production' # base api #VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001' -VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' \ No newline at end of file +VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003' \ No newline at end of file diff --git a/src/components/touch-btn/touch-btn.vue b/src/components/touch-btn/touch-btn.vue index 662049e4..68d26c0e 100644 --- a/src/components/touch-btn/touch-btn.vue +++ b/src/components/touch-btn/touch-btn.vue @@ -51,7 +51,7 @@ border="none" placeholder="" :autoHeight="true" - + :adjustPosition="false" > diff --git a/src/manifest.json b/src/manifest.json index 611ad3b4..1d7fecd7 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,8 +2,8 @@ "name" : "吉AI学", "appid" : "__UNI__EDE0E52", "description" : "", - "versionName" : "0.3.1", - "versionCode" : 271, + "versionName" : "0.2.1", + "versionCode" : 277, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { From cc35254347398df24695b74c9fa966d7ef8f6eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Fri, 13 Mar 2026 17:29:53 +0800 Subject: [PATCH 4/4] =?UTF-8?q?JLBA202505130001=5F=E5=85=B3=E4=BA=8E?= =?UTF-8?q?=E5=90=89=E6=9E=97=E9=93=B6=E8=A1=8C=E6=96=B0=E5=BB=BAAI?= =?UTF-8?q?=E6=99=BA=E8=83=BD=E5=9F=B9=E8=AE=AD=E7=B3=BB=E7=BB=9F=E7=9A=84?= =?UTF-8?q?=E9=9C=80=E6=B1=82=5F=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.env.production b/.env.production index 5104dc93..143ff549 100644 --- a/.env.production +++ b/.env.production @@ -2,5 +2,4 @@ ENV = 'production' # base api -#VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001' -VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003' \ No newline at end of file +VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001' \ No newline at end of file