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 @@