diff --git a/pages.json b/pages.json index 002e910..315edc7 100644 --- a/pages.json +++ b/pages.json @@ -118,6 +118,11 @@ "style": { "navigationBarTitleText": "填写备注" } + },{ + "path": "pages/order/insurance", + "style": { + "navigationBarTitleText": "保险下单" + } }, { "path": "pages/me/index", diff --git a/pages/order/add.vue b/pages/order/add.vue index 85c2cdb..da8b152 100644 --- a/pages/order/add.vue +++ b/pages/order/add.vue @@ -134,6 +134,13 @@ + + + + + @@ -509,6 +516,9 @@ export default { }; uni.navigateTo({ url: `/pages/common/webview?url=${url}&query=${JSON.stringify(params)}` }); }, + buyInsurance() { + uni.navigateTo({ url: `/pages/order/insurance` }); + }, computedDistance() { if (this.form.waypoints[0].lng && this.form.waypoints[1].lng) { uni.$u.api.freightOrder diff --git a/pages/order/insurance.vue b/pages/order/insurance.vue new file mode 100644 index 0000000..e9f8a3d --- /dev/null +++ b/pages/order/insurance.vue @@ -0,0 +1,237 @@ + + + -- libgit2 0.21.0