Browse Source

优化跳转支付弹窗

master
Enzo 4 years ago
parent
commit
25abf7e990
  1. 4
      App.vue
  2. 2
      manifest.json
  3. 2
      pages/order/confirm_atonce.vue

4
App.vue

@ -24,6 +24,10 @@
} }
},500) },500)
setTimeout(() => {
uni.$emit('test99');
},4000)
}, },
methods: { methods: {
// //

2
manifest.json

@ -50,7 +50,7 @@
"quickapp" : {}, "quickapp" : {},
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"appid" : "wx5bd5789ad8f89524",
"appid" : "wx27c51a989127de12",
"setting" : { "setting" : {
"urlCheck" : true, "urlCheck" : true,
"es6" : false, "es6" : false,

2
pages/order/confirm_atonce.vue

@ -16,7 +16,7 @@
onShow(e) { onShow(e) {
// this.order_id = uni.getStorageSync('order_id') // this.order_id = uni.getStorageSync('order_id')
let that = this let that = this
uni.$on('order_id',function(data){
uni.$once('order_id',function(data){
that.order_id = data.msg that.order_id = data.msg
if (that.order_id) { if (that.order_id) {
that.getUserProfile() that.getUserProfile()

Loading…
Cancel
Save