Commit 2117c132 authored by 罗超's avatar 罗超

1

parent 8121013f
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
font-size: 32rpx; font-size: 32rpx;
font-weight: bold; font-weight: bold;
width: 70%; width: 70%;
height: 24px; height: 40rpx;
overflow: hidden; overflow: hidden;
} }
......
...@@ -688,7 +688,14 @@ export default { ...@@ -688,7 +688,14 @@ export default {
data.CoverImg = this.currentPriceInfo.CoverImg; data.CoverImg = this.currentPriceInfo.CoverImg;
let myData = JSON.stringify(data); let myData = JSON.stringify(data);
this.orderData = encodeURIComponent(myData); this.orderData = encodeURIComponent(myData);
this.queren(data.OrderId); // this.queren(data.OrderId);
let obj = {
TradeNo: "2021101322001457051451455636",
OrderNo: data.OrderNo,
OrderId: data.OrderId,
preferPrice: data.PreferPrice,
};
this.payAliCallback(obj)
} else { } else {
} }
this.submit = false; this.submit = false;
...@@ -715,6 +722,7 @@ export default { ...@@ -715,6 +722,7 @@ export default {
}, },
(res) => { (res) => {
this.orderInfo = JSON.parse(res.data); this.orderInfo = JSON.parse(res.data);
console.log(718, res.data);
this.Pay(OrderId); this.Pay(OrderId);
} }
); );
...@@ -907,6 +915,7 @@ export default { ...@@ -907,6 +915,7 @@ export default {
}, },
}); });
}, },
// #endif
payAliCallback(obj) { payAliCallback(obj) {
this.request2( this.request2(
{ {
...@@ -942,7 +951,6 @@ export default { ...@@ -942,7 +951,6 @@ export default {
} }
); );
}, },
// #endif
}, },
}; };
</script> </script>
...@@ -648,9 +648,7 @@ export default { ...@@ -648,9 +648,7 @@ export default {
}, },
methods: { methods: {
goback() { goback() {
uni.navigateBack({ uni.navigateBack();
delta: 1,
});
}, },
goCancel() { goCancel() {
if (this.submit || this.submitCancel) return; if (this.submit || this.submitCancel) return;
......
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