From 3b94de9d5ae4f445fef9d5fe8dc7e85ff8e6c8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E5=A4=AA=E8=8F=9C=E4=BA=86=E3=80=82?= Date: Sun, 7 May 2023 21:31:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=96=E5=AD=90=E8=AF=A6=E6=83=85=E5=89=8D?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E4=BA=A4=E4=BA=92=EF=BC=8C=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E8=AF=84=E8=AE=BA=E5=92=8C=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=B8=96=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- teamwork/manifest.json | 6 +- teamwork/pages.json | 2 +- .../post/{post-detial.vue => post-detail.vue} | 224 ++++++++++++++---- teamwork/pages/post/post.vue | 31 ++- 4 files changed, 204 insertions(+), 59 deletions(-) rename teamwork/pages/post/{post-detial.vue => post-detail.vue} (53%) diff --git a/teamwork/manifest.json b/teamwork/manifest.json index 13bcfa4..a4ffe43 100644 --- a/teamwork/manifest.json +++ b/teamwork/manifest.json @@ -61,6 +61,9 @@ } } } + }, + "uniStatistics" : { + "enable" : true } }, /* 快应用特有相关 */ @@ -83,7 +86,8 @@ "usingComponents" : true }, "uniStatistics" : { - "enable" : false + "enable" : false, + "version" : "2" }, "vueVersion" : "2" } diff --git a/teamwork/pages.json b/teamwork/pages.json index b30d7cd..5dbdb2b 100644 --- a/teamwork/pages.json +++ b/teamwork/pages.json @@ -121,7 +121,7 @@ "navigationStyle": "custom" } }, { - "path": "pages/post/post-detial", + "path": "pages/post/post-detail", "style": { "navigationStyle": "custom" } diff --git a/teamwork/pages/post/post-detial.vue b/teamwork/pages/post/post-detail.vue similarity index 53% rename from teamwork/pages/post/post-detial.vue rename to teamwork/pages/post/post-detail.vue index 4dc2f81..7cea128 100644 --- a/teamwork/pages/post/post-detial.vue +++ b/teamwork/pages/post/post-detail.vue @@ -9,16 +9,16 @@ - - {{name}}
- {{time}} + + {{postDetail.ownerName}}
+ {{postDetail.datetime}}
- {{textContent}} + {{postDetail.content}} - - + + @@ -27,14 +27,15 @@ @@ -46,7 +47,7 @@ - 评论 120 + 评论 {{postDetail.comments}} 写评论 + - - - {{name}}
- 11111111111111111111111111111111111111111111111111111111
- -