From 1415828114a77d54007ac26daaff655972bedbc2 Mon Sep 17 00:00:00 2001
From: Enzo <1284707383@qq.com>
Date: Mon, 30 Aug 2021 14:48:12 +0800
Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=BB=91=E5=AE=9A=20?=
=?UTF-8?q?=E9=83=A8=E5=88=86=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
common/api.js | 2 +-
pages.json | 6 ++++
pages/index/index.vue | 11 +-----
pages/order/order_details.vue | 15 ++++----
pages/verification/index.vue | 64 +++++++++++++++++++++++++++++++++++
5 files changed, 80 insertions(+), 18 deletions(-)
create mode 100644 pages/verification/index.vue
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}}
-
-
+ -->