From e6ee42c3d17577022cd0851847270b93839b3d36 Mon Sep 17 00:00:00 2001 From: Jafeng <2998840497@qq.com> Date: Wed, 4 Feb 2026 19:07:58 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=9B=B4?= =?UTF-8?q?=E5=A4=9A=E6=96=87=E7=AB=A0=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=8F=8A=E7=9B=B8=E5=85=B3=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 + pages/article/article-cate-list.vue | 410 ++++++++++++++++++++++++++++ pages/home/article-list.vue | 100 +++++-- routes/index.js | 4 + 4 files changed, 491 insertions(+), 29 deletions(-) create mode 100644 pages/article/article-cate-list.vue diff --git a/pages.json b/pages.json index 427334c..641d9dc 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": { 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/routes/index.js b/routes/index.js index 48f6c8d..05fd767 100644 --- a/routes/index.js +++ b/routes/index.js @@ -28,6 +28,10 @@ export default [ path: 'pages/article/article-list', meta: { title: '健康宣教', login: true } }, + { + path: 'pages/article/article-cate-list', + meta: { title: '健康宣教', login: true } + }, { path: 'pages/health/list', meta: { title: '健康信息', login: true } From c1a0090279f17158728df0f16d3860436867b47c Mon Sep 17 00:00:00 2001 From: Jafeng <2998840497@qq.com> Date: Thu, 5 Feb 2026 09:35:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E6=A1=A3=E6=A1=88=E9=A1=B5=E9=9D=A2=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E6=80=A7=E5=88=AB=E5=92=8C=E5=B9=B4=E9=BE=84=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/customer-archive.vue | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pages/home/customer-archive.vue b/pages/home/customer-archive.vue index 4acdb0b..5da5684 100644 --- a/pages/home/customer-archive.vue +++ b/pages/home/customer-archive.vue @@ -27,13 +27,6 @@ :class="current && i._id === current._id ? 'text-primary' : 'text-dark'"> {{ i.name }} - - - - {{ i.age > 0 ? i.age + '岁' : '' }} - - @@ -299,10 +292,6 @@ watch(() => props.corpId, n => { margin-top: -8rpx; } -.customer-age { - color: #999999; -} - .mr-15 { margin-right: 20rpx; }