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 @@