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 @@ + + + + + \ 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 }} - - - - -