From 177d2ec07a2303aceccd61e938e2d2ba9052b36b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Mon, 25 Aug 2025 17:30:49 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9B=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/pages/course/components/touchBtn.vue | 11 +++++--- src/pages/search/result.vue | 33 ++++++++++-------------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.env.development b/.env.development index 944ebd06..1c623adf 100644 --- a/.env.development +++ b/.env.development @@ -24,7 +24,7 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' # 线上 # VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7001' -VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7001' +VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' # VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' diff --git a/src/pages/course/components/touchBtn.vue b/src/pages/course/components/touchBtn.vue index 435ba539..0e295099 100644 --- a/src/pages/course/components/touchBtn.vue +++ b/src/pages/course/components/touchBtn.vue @@ -5,7 +5,7 @@ + :adjustPosition="adjustPosition" placeholderStyle='color:#999999;font-size:26rpx' placeholder="请输入文字"> @@ -86,11 +86,16 @@ textValueLength: { type: Number, default: 500 - } + }, + adjustPosition: { + default: false, + type: Boolean + }, }) const { isDisabled, - onlyVoice + onlyVoice, + adjustPosition } = toRefs(props) const isLoadingState = computed(() => props.isLoading) diff --git a/src/pages/search/result.vue b/src/pages/search/result.vue index 02d80ee4..7cb352ec 100644 --- a/src/pages/search/result.vue +++ b/src/pages/search/result.vue @@ -19,7 +19,7 @@ line-color="#06f"> - + 功能 @@ -49,39 +49,25 @@ - + 课程 - 暂无数据 - + 任务 + 暂无数据 @@ -98,12 +84,13 @@ 暂无数据 - + 考试 + 暂无数据 @@ -127,7 +114,15 @@ import { onShow } from '@dcloudio/uni-app'; + import TaskItem from '@/pages/learningTasks/components/content-item.vue'; + import ExamItem from '@/pages/testingHall/components/content-item.vue'; + import { onLoad } from '@dcloudio/uni-app'; + + const fromType = ref('') + onLoad((params) => { + fromType.value = params.from; + }); // 静态样式配置 const fixedCustomStyles = { backgroundColor: "#ffffff",