Commit 4892d9f7 by xnn

修复已知问题

parent 9bd1cf79
......@@ -84,6 +84,7 @@
this.nowStatus = option.status;
},
onShow() {
this.btnFlag = false
this.pageType()
},
methods: {
......@@ -99,7 +100,7 @@
this.btnFlag = true
setTimeout(() => {
this.btnFlag = false
}, 3000)
}, 10000)
this.$utils.payOrder(order_id)
},
pageType() {
......
......@@ -106,6 +106,7 @@
this.id = option.id;
},
onShow() {
this.btnFlag = false
this.getOrder()
},
methods: {
......@@ -121,7 +122,7 @@
this.btnFlag = true
setTimeout(() => {
this.btnFlag = false
}, 4000)
}, 10000)
this.$utils.payOrder(order_id)
},
gotoHere(address, lat, lng) {
......
......@@ -182,6 +182,7 @@
}
},
onShow() {
this.flag = false
this.getUserInfo();
let getGoodsWayIndex = uni.getStorageSync('getGoodsWayIndex');
this.getGoodsWayIndex = getGoodsWayIndex | 1;
......@@ -486,10 +487,9 @@
pramra.buycode = this.userInfo.buycode;
setTimeout(() => {
this.flag = false
}, 4000)
}, 10000)
this.$request('/create-buy-order', 'POST', pramra).then(res => {
console.log(res.data);
this.flag = false;
this.$utils.payOrder(res.data.order_id, _this.payType)
}).catch(err => {
this.flag = false;
......@@ -504,10 +504,9 @@
pramra.buycode = this.userInfo.buycode;
setTimeout(() => {
this.flag = false
}, 4000)
}, 10000)
this.$request('/create-order', 'POST', pramra).then(res => {
console.log(res.data);
this.flag = false;
this.$utils.payOrder(res.data.order_id, _this.payType)
}).catch(err => {
this.flag = false;
......
{
"component": true,
"usingComponents": {
"u-icon": "/node-modules/uview-ui/components/u-icon/u-icon",
"u-badge": "/node-modules/uview-ui/components/u-badge/u-badge"
},
"component": true
}
}
\ No newline at end of file
......@@ -266,6 +266,7 @@ var _default = {
this.nowStatus = option.status;
},
onShow: function onShow() {
this.btnFlag = false;
this.pageType();
},
methods: {
......@@ -282,7 +283,7 @@ var _default = {
this.btnFlag = true;
setTimeout(function () {
_this.btnFlag = false;
}, 3000);
}, 10000);
this.$utils.payOrder(order_id);
},
pageType: function pageType() {
......
......@@ -293,6 +293,7 @@ var _default = {
this.id = option.id;
},
onShow: function onShow() {
this.btnFlag = false;
this.getOrder();
},
methods: {
......@@ -309,7 +310,7 @@ var _default = {
this.btnFlag = true;
setTimeout(function () {
_this.btnFlag = false;
}, 4000);
}, 10000);
this.$utils.payOrder(order_id);
},
gotoHere: function gotoHere(address, lat, lng) {
......
......@@ -389,6 +389,7 @@ var _default = {
};
},
onShow: function onShow() {
this.flag = false;
this.getUserInfo();
var getGoodsWayIndex = uni.getStorageSync('getGoodsWayIndex');
this.getGoodsWayIndex = getGoodsWayIndex | 1;
......@@ -693,10 +694,9 @@ var _default = {
pramra.buycode = this.userInfo.buycode;
setTimeout(function () {
_this7.flag = false;
}, 4000);
}, 10000);
this.$request('/create-buy-order', 'POST', pramra).then(function (res) {
console.log(res.data);
_this7.flag = false;
_this7.$utils.payOrder(res.data.order_id, _this.payType);
}).catch(function (err) {
_this7.flag = false;
......@@ -712,10 +712,9 @@ var _default = {
pramra.buycode = this.userInfo.buycode;
setTimeout(function () {
_this8.flag = false;
}, 4000);
}, 10000);
this.$request('/create-order', 'POST', pramra).then(function (res) {
console.log(res.data);
_this8.flag = false;
_this8.$utils.payOrder(res.data.order_id, _this.payType);
}).catch(function (err) {
_this8.flag = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment