diff --git a/.env.development b/.env.development
index 0554b570..224e7ca9 100644
--- a/.env.development
+++ b/.env.development
@@ -6,7 +6,7 @@ ENV = 'development'
# VITE_APP_BASE_API_Url = 'http://25.18.122.78:9786'
# DEV
-VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
+# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
# app入口
#VITE_APP_BASE_API_Url = 'http://25.16.122.65:7001'
@@ -15,23 +15,18 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
# h5专用地址
-# 王洋洋
-# VITE_APP_BASE_H5_API_Url = 'http://25.64.16.140:9604'
-# 岳世凯
-# VITE_APP_BASE_H5_API_Url = 'http://25.64.16.141:9701'
-# 任东
-# VITE_APP_BASE_H5_API_Url = 'http://25.64.16.130:9602'
-# 线上
-
-VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7002'
-#VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
+# VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7002'
+# VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7002'
+VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
#VITE_APP_BASE_H5_API_Url = 'http://25.18.122.116:7001'
# 任东
# 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.130:9604'
# 张建成
# VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.16.144:9605'
+VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.144:9602'
# 王洋洋
# VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.140:9604'
# 于嘉文
diff --git a/src/pages/course/components/talkingItem.vue b/src/pages/course/components/talkingItem.vue
index eb4a6429..f93874d6 100644
--- a/src/pages/course/components/talkingItem.vue
+++ b/src/pages/course/components/talkingItem.vue
@@ -414,6 +414,7 @@ const audioCacheObj = computed(() => storageStore.audioObj)
}
const playVoice = (readType = 'pgth') =>{
let _content = showContent.value
+ console.log(_content)
if(!_content){
common.msg('没有可以播放的文字信息!')
return
diff --git a/src/pages/course/components/touchBtn.vue b/src/pages/course/components/touchBtn.vue
index 0e295099..64a6608e 100644
--- a/src/pages/course/components/touchBtn.vue
+++ b/src/pages/course/components/touchBtn.vue
@@ -276,6 +276,9 @@
const getRecordPermission = (obj) => {
if (isTalking.value) {
common.msg('操作频繁,请稍后重试!')
+ setTimeout(() => {
+ isTalking.value = false
+ }, 500)
return
}
showOverlayTalking(obj)
diff --git a/src/pages/course/index.vue b/src/pages/course/index.vue
index 52af9596..bf86c119 100644
--- a/src/pages/course/index.vue
+++ b/src/pages/course/index.vue
@@ -345,6 +345,9 @@ import { onShow } from "@dcloudio/uni-app"
})
changeTab({name:activeTab.value || '全部'})
});
+ onShow(()=>{
+ changeTab({name:activeTab.value || '全部'})
+ })
diff --git a/src/pages/course/study.vue b/src/pages/course/study.vue
index 550f73b4..7f4f777c 100644
--- a/src/pages/course/study.vue
+++ b/src/pages/course/study.vue
@@ -768,6 +768,7 @@ const uploadRecordNow = voicePath => {
})
.then(res => {
let _res = JSON.parse(res.data)
+ console.log(_res)
if (_res.rtnCode === '0000') {
talkingList.value = talkingList.value.map(t => {
if (t.id === _id) {
@@ -778,7 +779,9 @@ const uploadRecordNow = voicePath => {
qnsId: _data.qnsId,
talkingContent: '',
talkingVoice: voicePath,
- intrctId: _res.body.chatBody,
+ recordId: _res.body.chatBody.recordId,
+ asrStartTm: unref(lastTalkingInfo).asrStartTm,
+ stdyPgrphId: _res.body.chatBody.stdyPgrphId,
type: 1,
userInfo: {
...choiceTeacherInfo.value
@@ -789,12 +792,14 @@ const uploadRecordNow = voicePath => {
return t
}
})
+ console.log(11111,_res.body.chatBody)
scrollToBottomNow()
} else {
}
setIsUploadingVoice()
})
.catch(err => {
+ console.log('err',err)
setIsUploadingVoice()
talkingList.value = talkingList.value.filter(t => t.id !== _id)
uni.showToast({
diff --git a/src/pages/examination/components/dialog.vue b/src/pages/examination/components/dialog.vue
index 7c3ee26f..a93a99c0 100644
--- a/src/pages/examination/components/dialog.vue
+++ b/src/pages/examination/components/dialog.vue
@@ -5,13 +5,13 @@
-
+
{{ title }}
- {{item?.name || ''}}
+ {{ item?.name || '' }}
@@ -19,35 +19,32 @@
\ No newline at end of file
+
diff --git a/src/pages/examination/index.vue b/src/pages/examination/index.vue
index c070b7c7..1c3fb12d 100644
--- a/src/pages/examination/index.vue
+++ b/src/pages/examination/index.vue
@@ -318,6 +318,7 @@
});
const result_click = ({ key }) => {
+ console.log('杀杀杀', key);
if (key === 'hand_in_paper') {
// 现在交卷
hand_in_paper('弹窗确认交卷');
@@ -332,13 +333,13 @@
console.log('点击交卷', paperData);
// 判断是否完成所有题目
const completeList = topicList
- .filter((res) => !!(Array.isArray(res.my_answer) ? res.my_answer.length : res.my_answer))
+ .filter((res) => !!(Array.isArray(res.my_answer) ? res.my_answer.length>0 : res.my_answer?.anserResult !==''))
.map((res) => ({
a: res.qnsId,
b: res.my_answer,
c: !!res.my_answer
}));
- dialogConfiguration.title = '确认现在交卷吗?';
+
const style_button_1 = {
color: '#FFFFFF',
fontSize: '30rpx',
@@ -352,10 +353,12 @@
borderRadius: '8rpx'
};
const incompleteNumber = topicList.length - completeList.length;
+ console.log('completeList', completeList);
+ console.log('incompleteNumber', incompleteNumber);
if (incompleteNumber === 0) {
// 完成
- dialogConfiguration.type = 'complete';
dialogConfiguration.title = '确认现在交卷吗?';
+ dialogConfiguration.html = '';
dialogConfiguration.buttonList = [
{
key: 'hand_in_paper',
@@ -369,7 +372,7 @@
}
];
} else {
- dialogConfiguration.type = 'incomplete'; // 未完成
+ dialogConfiguration.title = '';
dialogConfiguration.html = `当前考试进度:${completeList.length}/${topicList.length} 题 还有${incompleteNumber}道题未作答,确认交卷吗?`;
dialogConfiguration.buttonList = [
{
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 533c7783..7e60aa5c 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -406,10 +406,10 @@
}
});
};
-
+
// 进入搜索页
const goto_search_page = () => {
- common.navigateTo('/pages/search/search');
+ common.navigateTo('/pages/search/search?from=index');
};
// 进入课程详情页
const goto_course_detail = (crsId) => {
diff --git a/src/pages/mascot/mascot_select_list.vue b/src/pages/mascot/mascot_select_list.vue
index b9c5a757..f9170c86 100644
--- a/src/pages/mascot/mascot_select_list.vue
+++ b/src/pages/mascot/mascot_select_list.vue
@@ -1,6 +1,9 @@
+
+
+
@@ -88,7 +91,7 @@
const swiperCount = computed(() => mascotList.length)
let swiperIndex = ref(0); // 当前显示第1个(索引0)
const isAnimating = ref(false); // 标记动画是否进行中
-
+
const animationfinish = ({
detail
}) => {
@@ -130,7 +133,9 @@
common.hideLoading()
})
}
- onLoad(() => {
+ const from = ref('')
+ onLoad((e) => {
+ from.value = e.from ?? ''
common.loading()
queryValidTraMascotInfo().then(({
body
@@ -153,6 +158,38 @@
\ No newline at end of file
+
diff --git a/src/pages/search/search.vue b/src/pages/search/search.vue
index cc475f89..b794fd22 100644
--- a/src/pages/search/search.vue
+++ b/src/pages/search/search.vue
@@ -14,6 +14,7 @@
placeholderStyle="color:#999999;font-size:26rpx"
placeholder="请输入关键字"
:focus="true"
+ :maxlength="60"
:adjust-position="false"
@confirm="search"
>
@@ -54,6 +55,7 @@