From 14fa4452749b2693409659000014446022eb760a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TOP=E7=B3=AF=E7=B1=B3?= <1130395124@qq.com> Date: Sun, 26 Mar 2023 21:18:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=AC=E5=91=8A=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/apis.js | 3 +- src/pages.json | 6 +++ src/pages/detail/detail.vue | 89 +++++++++++++++++++++++++++++++++++ src/pages/message/message.vue | 26 +++------- 4 files changed, 104 insertions(+), 20 deletions(-) create mode 100644 src/pages/detail/detail.vue diff --git a/src/core/apis.js b/src/core/apis.js index 34c31f2..101cbcc 100644 --- a/src/core/apis.js +++ b/src/core/apis.js @@ -24,7 +24,8 @@ const apis = { showLoading: true, }, detail: { - url: "" + url: "/wxapp/index/newinfobyid", + showLoading: true, } } }, diff --git a/src/pages.json b/src/pages.json index 2c70ba7..a6285f8 100644 --- a/src/pages.json +++ b/src/pages.json @@ -85,6 +85,12 @@ "style": { "navigationBarTitleText": "订单详情" } + }, + { + "path": "pages/detail/detail", + "style": { + "navigationBarTitleText": "详情" + } } ], "globalStyle": { diff --git a/src/pages/detail/detail.vue b/src/pages/detail/detail.vue new file mode 100644 index 0000000..3150623 --- /dev/null +++ b/src/pages/detail/detail.vue @@ -0,0 +1,89 @@ + + + + + {{ info.title }} + {{ info.date }} + + + + + + + + + + + \ No newline at end of file diff --git a/src/pages/message/message.vue b/src/pages/message/message.vue index 8bf55cb..7894213 100644 --- a/src/pages/message/message.vue +++ b/src/pages/message/message.vue @@ -19,25 +19,19 @@ > - - {{ v.title }} + + {{ v.title }} {{ v.date }} - - - - -