From 354aa5b041c64f973c3b977d087f0f11fa933b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Fri, 12 Sep 2025 15:41:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=A8=E8=88=AA=E4=BF=AE=E6=94=B9img?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 8 +- .../image-preview/image-preview.vue | 10 +- .../image-preview/video-preview.vue | 3 +- src/pages/learningTasks/details.vue | 5 +- src/pages/learningTasks/index - 副本.vue | 226 ------------------ src/pages/learningTasks/index.vue | 6 +- 6 files changed, 18 insertions(+), 240 deletions(-) delete mode 100644 src/pages/learningTasks/index - 副本.vue diff --git a/.env.development b/.env.development index cb4f14c0..b5885673 100644 --- a/.env.development +++ b/.env.development @@ -20,11 +20,11 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.21:9786' -VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7002' +VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7001' # 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' @@ -33,11 +33,11 @@ VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7002' # 任东 # 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_TRASTUDY = 'http://25.64.16.130:9602' # VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.140:9604' # 张建成 -VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.16.144:9605' +#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/components/image-preview/image-preview.vue b/src/components/image-preview/image-preview.vue index e5e31246..295a0b21 100644 --- a/src/components/image-preview/image-preview.vue +++ b/src/components/image-preview/image-preview.vue @@ -2,7 +2,7 @@ - + @@ -159,9 +159,13 @@ \ No newline at end of file diff --git a/src/pages/learningTasks/details.vue b/src/pages/learningTasks/details.vue index ee6bf15e..25881ab4 100644 --- a/src/pages/learningTasks/details.vue +++ b/src/pages/learningTasks/details.vue @@ -163,7 +163,6 @@ const queryList = async (pageNo, pageSize, from) => { const requests = [queryAllTraTaskCrsInfo({ taskId: taskId.value })]; // 如果不是第一次请求,才添加第二个请求 - if (total.value === -1 && detailData.taskName !== '') { status.value = 'loading'; } else { @@ -283,7 +282,7 @@ Object.assign(detailData, { ...learning_tasks_details }); - collectId.value = learning_tasks_details.collectionId || ''; + collectId.value = learning_tasks_details.collectionId || null; const updateFun = () => { setTimeout(() => { console.log('监听考试获取结果事件,执行更新函数'); @@ -300,6 +299,8 @@ uni.$off('refresh_course_list'); uni.$off('get_result_completed'); // 如果收藏变了,并且上一页是收藏页,更新收藏列表 + console.log('detailData.collectionId', detailData.collectionId); + console.log('collectId', collectId.value); if (detailData.collectionId !== collectId.value) { const pages = getCurrentPages(); if (pages.length >= 2) { diff --git a/src/pages/learningTasks/index - 副本.vue b/src/pages/learningTasks/index - 副本.vue deleted file mode 100644 index 18e406f0..00000000 --- a/src/pages/learningTasks/index - 副本.vue +++ /dev/null @@ -1,226 +0,0 @@ - - - - - diff --git a/src/pages/learningTasks/index.vue b/src/pages/learningTasks/index.vue index 36189556..48027fe3 100644 --- a/src/pages/learningTasks/index.vue +++ b/src/pages/learningTasks/index.vue @@ -41,6 +41,7 @@