From 44eef4e0ede84d23c1935c5be28ba2a0be1ffd35 Mon Sep 17 00:00:00 2001 From: chenghuan Date: Tue, 10 Feb 2026 13:05:45 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E9=9F=B3=E9=A2=91=E6=92=AD=E6=94=BE=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 edu-core 依赖从本地文件改为 git 仓库引用 (v1.0.3) - 在“我的”页面为特定列表项添加 Android 平台条件渲染 - 将应用版本号从 1.0.06 (1006) 更新至 1.0.07 (1007) - 将开发环境的基础 API URL 从本地测试地址切换为线上正式地址 - 全局注册 CommonCourseVideo 组件,并在课程详情页用它替换原有视频组件 --- config/baseUrl.js | 4 ++-- main.js | 4 ++++ manifest.json | 4 ++-- package.json | 2 +- pages/curriculum/detail.vue | 11 ++--------- pages/my/index.vue | 1 + 6 files changed, 12 insertions(+), 14 deletions(-) diff --git a/config/baseUrl.js b/config/baseUrl.js index e460a939..3cb7ad14 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -3,8 +3,8 @@ let baseUrl = ""; let socketUrl = ""; if (process.env.NODE_ENV === 'development') { // 开发环境 - baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 - // baseUrl = "https://api.nuttyreading.com/"; //线上正式 + // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 + baseUrl = "https://api.nuttyreading.com/"; // 线上正式 } else if (process.env.NODE_ENV === 'production') { // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 baseUrl = "https://api.nuttyreading.com/"; //线上正式 diff --git a/main.js b/main.js index b996e1a0..463559eb 100644 --- a/main.js +++ b/main.js @@ -60,6 +60,10 @@ Vue.component('common-anchor-link', commonAnchorLink); import commonVideo from '@/pages/component/commonComponents/video.vue' Vue.component('common-video', commonVideo); + +import CommonCourseVideo from 'edu-core/components/course-video' +Vue.component('CommonCourseVideo', CommonCourseVideo); + import commonCurriculumVideo from '@/pages/component/commonComponents/curriculumVideo.vue' Vue.component('common-curriculum-video', commonCurriculumVideo); import commonRichDetail from '@/pages/component/commonComponents/richDetail.vue' diff --git a/manifest.json b/manifest.json index 486b68f5..63122259 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "太湖云医", "appid" : "__UNI__1B1584A", "description" : "太湖云医", - "versionName" : "1.0.06", - "versionCode" : 1006, + "versionName" : "1.0.07", + "versionCode" : 1007, "transformPx" : false, "sassImplementationName" : "node-sass", /* 5+App特有相关 */ diff --git a/package.json b/package.json index 81c5cdbe..9651d00e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "dependencies": { - "edu-core": "file:../edu-core", + "edu-core": "git+https://git.nuttyreading.com/chenghuan/edu-core.git#v1.0.3", "jquery": "^3.7.1", "lodash": "^4.17.21", "qs": "^6.14.0", diff --git a/pages/curriculum/detail.vue b/pages/curriculum/detail.vue index 7743f080..e61e931f 100644 --- a/pages/curriculum/detail.vue +++ b/pages/curriculum/detail.vue @@ -3,10 +3,11 @@