From a4311e3f9ebd0f1ab7764ad0cf8911c534392f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=87=E6=B6=9B?= <1909118034@qq.com> Date: Wed, 23 Oct 2024 22:24:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/zx-video/zx-video.vue | 199 +++++++++++++++++++++++++++++++ manifest.json | 4 +- pages.json | 9 ++ pages/home/cpns/info-list.vue | 2 + pages/news/course.vue | 178 +++++++++++++++++++++++++++ 5 files changed, 391 insertions(+), 1 deletion(-) create mode 100644 components/zx-video/zx-video.vue create mode 100644 pages/news/course.vue 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 @@ + + + + +