diff --git a/pages.json b/pages.json index a3d165a..9cfcb68 100644 --- a/pages.json +++ b/pages.json @@ -13,6 +13,12 @@ "navigationBarTitleText": "我的宣教" } }, + { + "path": "pages/article/article-cate-list", + "style": { + "navigationBarTitleText": "健康宣教" + } + }, { "path": "pages/survey/survey-list", "style": { @@ -135,12 +141,12 @@ "navigationBarTitleText": "宣教文章" } }, - { - "path": "pages/article/send-article", - "style": { - "navigationBarTitleText": "选择宣教文章" - } - } + { + "path": "pages/article/send-article", + "style": { + "navigationBarTitleText": "选择宣教文章" + } + } ], "globalStyle": { "navigationBarTextStyle": "white", diff --git a/pages/article/article-cate-list.vue b/pages/article/article-cate-list.vue new file mode 100644 index 0000000..97ed96b --- /dev/null +++ b/pages/article/article-cate-list.vue @@ -0,0 +1,410 @@ + + + + + diff --git a/pages/home/article-list.vue b/pages/home/article-list.vue index 8ee522a..a7acf0d 100644 --- a/pages/home/article-list.vue +++ b/pages/home/article-list.vue @@ -2,16 +2,25 @@ 健康宣教 - + 更多 + - - + :class="{ 'mb-15': index < articles.length - 1 }" + @click="goToDetail(article)" + > + {{ article.title }} @@ -25,7 +34,7 @@ \ No newline at end of file + diff --git a/pages/home/customer-archive.vue b/pages/home/customer-archive.vue index 087bbda..59e700e 100644 --- a/pages/home/customer-archive.vue +++ b/pages/home/customer-archive.vue @@ -47,20 +47,6 @@ > {{ i.name }} - - - - {{ i.age > 0 ? i.age + "岁" : "" }} - -