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