diff --git a/.env.development.yh b/.env.development.yh
index 193ce295..3930e2a8 100644
--- a/.env.development.yh
+++ b/.env.development.yh
@@ -2,14 +2,14 @@
ENV = 'development.yh'
# 'development.yh'
-# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
+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_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'
+VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.154:9601'
# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.158:9601'
# VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.32.154:9602'
diff --git a/src/pages/course/components/talkingItem.vue b/src/pages/course/components/talkingItem.vue
index b5899afa..e44e1bfd 100644
--- a/src/pages/course/components/talkingItem.vue
+++ b/src/pages/course/components/talkingItem.vue
@@ -67,6 +67,11 @@
:fileId="dataInfo.vidoAddrs[0].vidAddr"
:picId="dataInfo.vidoAddrs[0].vidImgAddr" @click="previewVideo(dataInfo.vidoAddrs[0])">
+
+
+ {{item.fileName.replace(/.docx|.doc|.txt/g, '.pdf')}}
+
+
@@ -245,6 +250,10 @@
import Subject from '@/components/examination/subject.vue';
// import RadioSubjectRequest from '@/pages/wrong_question_record/components/radio-subject.vue'
+ import {
+ previewFileFnc
+ } from '@/common/common'
+
const storageStore = useStorageStore();
const audioCacheObj = computed(() => storageStore.audioObj);
@@ -320,6 +329,13 @@
});
const mode = ref('study'); // 考试 examination 练习practice 学习study
+ const previewFile = info => {
+ previewFileFnc({
+ fileId: info.fileId,
+ getFileSrc: '/traapp/traFilePreview/',
+ fileName: info.fileName + '.pdf'
+ })
+ }
const showWithdraw = computed(() => {
let _isMe = unref(lastQuestionInfo).qstLogId === unref(dataInfo).qstLogId;
let _isQuestion = unref(lastQuestionInfo).isQuestion;
@@ -895,6 +911,15 @@
// min-height: 36px;
}
}
+
+ .file-items{
+ .file-item {
+ line-height: 36rpx;
+ font-size: 28rpx;
+ margin-bottom: 8rpx;
+ color: #06f;
+ }
+ }
.cont-img-box {
width: 433rpx;
diff --git a/src/pages/sparring/tip.vue b/src/pages/sparring/tip.vue
index 68bde947..df2c954a 100644
--- a/src/pages/sparring/tip.vue
+++ b/src/pages/sparring/tip.vue
@@ -545,6 +545,7 @@ onHide(() => {
})
// #endif
onLoad(params => {
+ execId.value = ''
traId.value = params.traId
chaId.value = params.chaId
talkingType.value = params.type