diff --git a/common/api.js b/common/api.js index f28f032..a5d7a46 100644 --- a/common/api.js +++ b/common/api.js @@ -40,7 +40,7 @@ export const API_CREATEORDER = '/api/order/create'; //创建订单并支付 export const API_ORDERPAY = '/api/order/pay'; //订单立即支付 - +export const API_WECHAT_SETPHONE = '/api/user/profile'; //手机绑定 export const API_CONFIRM_CODE = '/api/verification/verify'; //核销订单 diff --git a/pages.json b/pages.json index a19c931..e1cae29 100644 --- a/pages.json +++ b/pages.json @@ -102,6 +102,12 @@ "enablePullDownRefresh": true } }, + { + "path": "pages/verification/index", + "style": { + "navigationBarTitleText": "核销权限" + } + }, { "path": "pages/recommList/index", "style": { diff --git a/pages/index/index.vue b/pages/index/index.vue index b5bc568..d0ba929 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -35,7 +35,7 @@ - 您还未添加频道哦~ + 您还未添加频道哦~ @@ -138,15 +138,6 @@ this.getIndexData() this.getFavourite() }, - onLoad(options) { - if (options.scene) { - // 单个参数 - let str = decodeURIComponent(options.scene); - this.$http(this.API.API_CONFIRM_CODE, {verify_code: str}).then(res => { - this.$msg('核销成功!'); - }); - } - }, methods: { //获取猜你喜欢 getFavourite() { diff --git a/pages/order/order_details.vue b/pages/order/order_details.vue index f617bc7..59a3f38 100644 --- a/pages/order/order_details.vue +++ b/pages/order/order_details.vue @@ -71,22 +71,23 @@ foreground="#000" pdground="#000" :onval="true" :loadMake="true" /> --> - + - {{checkArea}} - 复制 + {{checkArea}} + 复制 + - - + + 待使用 {{orderDetails.status_text}} - - + -->