From 47ace709048815dd39ad3f1eb91608c95c108c49 Mon Sep 17 00:00:00 2001
From: yanghao <781521347@qq.com>
Date: Tue, 15 Jun 2021 08:23:40 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 20 +++-
pages/course/detail.vue | 0
pages/course/index.vue | 225 ++++++++++++++++++++++++++++++++++++++
pages/home/index-copy.vue | 18 +--
pages/knowledge/index.vue | 2 +-
pages/study/detail.vue | 8 ++
6 files changed, 262 insertions(+), 11 deletions(-)
create mode 100644 pages/course/detail.vue
create mode 100644 pages/course/index.vue
create mode 100644 pages/study/detail.vue
diff --git a/pages.json b/pages.json
index 18ebe0a..55500fd 100644
--- a/pages.json
+++ b/pages.json
@@ -42,6 +42,24 @@
"navigationBarTitleText": "禪易"
}
},
+ {
+ "path": "pages/course/index",
+ "style": {
+ "navigationBarTitleText": "学习"
+ }
+ },
+ {
+ "path": "pages/course/detail",
+ "style": {
+ "navigationBarTitleText": "课程详情"
+ }
+ },
+ {
+ "path": "pages/study/detail",
+ "style": {
+ "navigationBarTitleText": "打榜详情"
+ }
+ },
{
"path": "pages/knowledge/index",
"style": {
@@ -462,7 +480,7 @@
"text": "禪易"
},
{
- "pagePath": "pages/home/index",
+ "pagePath": "pages/course/index",
"iconPath": "static/tab2.png",
"selectedIconPath": "static/tab2.png",
"text": "学习"
diff --git a/pages/course/detail.vue b/pages/course/detail.vue
new file mode 100644
index 0000000..e69de29
diff --git a/pages/course/index.vue b/pages/course/index.vue
new file mode 100644
index 0000000..bb1a2d5
--- /dev/null
+++ b/pages/course/index.vue
@@ -0,0 +1,225 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+ {{item.synopsis}}
+
+ {{item.chargeType == 0 ? '免费' : item.articleCharge}}
+ {{item.addTime}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/home/index-copy.vue b/pages/home/index-copy.vue
index 7931680..1844cae 100644
--- a/pages/home/index-copy.vue
+++ b/pages/home/index-copy.vue
@@ -1,15 +1,15 @@