diff --git a/components/zx-video/zx-video.vue b/components/zx-video/zx-video.vue new file mode 100644 index 0000000..e023599 --- /dev/null +++ b/components/zx-video/zx-video.vue @@ -0,0 +1,199 @@ + + + + + + \ No newline at end of file diff --git a/manifest.json b/manifest.json index 91f1742..e199b2a 100644 --- a/manifest.json +++ b/manifest.json @@ -15,7 +15,9 @@ "autoclose" : true, "delay" : 0 }, - "modules" : {}, + "modules" : { + "VideoPlayer" : {} + }, "distribute" : { "android" : { "permissions" : [ diff --git a/pages.json b/pages.json index 5683f97..d366b6d 100644 --- a/pages.json +++ b/pages.json @@ -139,6 +139,15 @@ } } }, + { // 新鲜事 + "path": "pages/news/course", + "style": { + "navigationBarTitleText": "课程", + "app-plus": { + "bounce": "none" + } + } + }, { // 新鲜事/话题/分类 "path": "pages/news/news-topic-cate", "style": { diff --git a/pages/home/cpns/info-list.vue b/pages/home/cpns/info-list.vue index 99803cd..bc94b1a 100644 --- a/pages/home/cpns/info-list.vue +++ b/pages/home/cpns/info-list.vue @@ -152,6 +152,8 @@ }, // 进入详情页 goDetail() { + this.$u.route('pages/news/course') + return if (this.isDetail) return // 详情页,不跳转 this.$u.route('pages/home/detail', { data: JSON.stringify({ diff --git a/pages/news/course.vue b/pages/news/course.vue new file mode 100644 index 0000000..d481474 --- /dev/null +++ b/pages/news/course.vue @@ -0,0 +1,178 @@ + + + + +