From eaaf3fb346beb2618e312f9a769826af4051e9ca Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Tue, 3 Dec 2024 14:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api.js | 25 ++++++++ components/base/navbar.vue | 48 ++++++++++----- config.js | 2 +- mixins/list.js | 70 +++++++++++++++++++++ mixins/share.js | 29 +++++++++ pages.json | 11 +++- pages/index/cancelArticle.vue | 75 +++++++++++++++++++++++ pages/index/index.vue | 11 +++- pages/index/order.vue | 124 +++++++++----------------------------- pages_order/info/appoint.vue | 75 ++++++++++++++++++++--- pages_order/order/orderDetail.vue | 2 - 11 files changed, 349 insertions(+), 123 deletions(-) create mode 100644 mixins/list.js create mode 100644 mixins/share.js create mode 100644 pages/index/cancelArticle.vue diff --git a/api/api.js b/api/api.js index 1dee580..ad3008f 100644 --- a/api/api.js +++ b/api/api.js @@ -77,6 +77,31 @@ const config = { auth: true, showLoading : true, }, + //查询预约记录 + queryReservation: { + url: '/applet_post/queryReservation', + method: 'GET', + auth: true, + }, + //查询预约详情 + queryReservationDetail: { + url: '/applet_post/queryReservationDetail', + method: 'GET', + auth: true, + }, + //查询预约详情 + queryReservationDetail: { + url: '/applet_post/queryReservationDetail', + method: 'GET', + auth: true, + }, + //取消预约 + cancelReservation: { + url: '/applet_post/cancelReservation', + method: 'GET', + auth: true, + showLoading : true, + }, } diff --git a/components/base/navbar.vue b/components/base/navbar.vue index a7526b9..49636c4 100644 --- a/components/base/navbar.vue +++ b/components/base/navbar.vue @@ -1,28 +1,34 @@ \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 9853519..4f6bf73 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -25,6 +25,10 @@ 点击进入 + + 预约记录 + @@ -53,5 +57,10 @@ \ No newline at end of file diff --git a/pages/index/order.vue b/pages/index/order.vue index 7a53962..cfacaec 100644 --- a/pages/index/order.vue +++ b/pages/index/order.vue @@ -1,36 +1,34 @@