From 12f15fbc623b03be32aa1b48cb4de58b02827f55 Mon Sep 17 00:00:00 2001 From: Gao xiaosong <704041637@qq.com> Date: Mon, 10 Aug 2020 07:12:36 +0800 Subject: [PATCH] a --- libs/order.js | 2 + manifest.json | 12 +- pages/order/OrderDetails/index.vue | 316 +++++++++++++------------- pages/order/OrderSubmission/index.vue | 131 ++++++----- utils/request.js | 4 + 5 files changed, 237 insertions(+), 228 deletions(-) diff --git a/libs/order.js b/libs/order.js index 57db3e9..3082833 100644 --- a/libs/order.js +++ b/libs/order.js @@ -76,6 +76,8 @@ export function payOrderHandle(orderId, type, from) { uni.showLoading({ title: '加载中' }) payOrder(orderId, type, from) .then(res => { + console.log(res) + console.log('微信支付参数') const data = res.data; uni.hideLoading() switch (data.status) { diff --git a/manifest.json b/manifest.json index f1a422f..599c5b4 100644 --- a/manifest.json +++ b/manifest.json @@ -11,7 +11,7 @@ "nvueCompiler" : "uni-app", "compilerVersion" : 3, "splashscreen" : { - "alwaysShowBeforeRender" : false, + "alwaysShowBeforeRender" : true, "waiting" : false, "autoclose" : true, "delay" : 0 @@ -59,22 +59,24 @@ "weixin" : { "appid" : "wx7c84ede33062d1e4", "appsecret" : "c47ef66d3311194da44e60387d5c1abd", - "UniversalLinks" : "" + "UniversalLinks" : "https://yixiang.co/app/" } }, "payment" : { "weixin" : { "appid" : "wx7c84ede33062d1e4", - "UniversalLinks" : "" + "UniversalLinks" : "https://yixiang.co/app/" } }, "share" : { "weixin" : { "appid" : "wx7c84ede33062d1e4", - "UniversalLinks" : "" + "UniversalLinks" : "https://yixiang.co/app/" } }, - "ad" : {} + "ad" : { + "csj" : {} + } }, "splashscreen" : { "ios" : { diff --git a/pages/order/OrderDetails/index.vue b/pages/order/OrderDetails/index.vue index 37dc9d0..eb38893 100644 --- a/pages/order/OrderDetails/index.vue +++ b/pages/order/OrderDetails/index.vue @@ -4,9 +4,7 @@ {{ orderInfo._status._msg }} - - {{ orderInfo.createTime }} - + {{ orderInfo.createTime }}