diff --git a/pages.json b/pages.json index 720100e..f7cedda 100644 --- a/pages.json +++ b/pages.json @@ -133,7 +133,7 @@ "path" : "pages/order/activityorder", "style" : { - "navigationBarTitleText": "活动预约订单", + "navigationBarTitleText": "活动预约", "enablePullDownRefresh": false } @@ -142,7 +142,7 @@ "path" : "pages/order/activityorderinfo", "style" : { - "navigationBarTitleText": "活动预约订单详情", + "navigationBarTitleText": "活动预约详情", "enablePullDownRefresh": false } @@ -192,6 +192,15 @@ } } + ,{ + "path" : "pages/order/shareQR", + "style" : + { + "navigationBarTitleText": "分享二维码", + "enablePullDownRefresh": false + } + + } ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/activity/book.vue b/pages/activity/book.vue index ca6f802..066995a 100644 --- a/pages/activity/book.vue +++ b/pages/activity/book.vue @@ -32,7 +32,7 @@ 人数限制:{{list.total==0?'不限':list.total}} - + 距离:{{list.distance}}km @@ -258,7 +258,15 @@ that.form.mobile = r.mobile; }, true); }, - methods: { + methods: { + tothere() { + uni.openLocation({ + latitude: parseFloat(this.list.latitude), + longitude: parseFloat(this.list.longitude), + name: this.list.name, + address: this.list.address + }) + }, closeAdd() { this.showAdd = false }, diff --git a/pages/activity/index.vue b/pages/activity/index.vue index 5fd69f2..0a71e62 100644 --- a/pages/activity/index.vue +++ b/pages/activity/index.vue @@ -1,7 +1,7 @@