This commit is contained in:
952108534@qq.com 2022-01-23 21:35:49 +08:00
parent 74f4cc1a5f
commit 5b52ef02d4
3 changed files with 15 additions and 12 deletions

View File

@ -127,6 +127,7 @@ margin-right: 20px;
width: 96px; width: 96px;
height: 96px; height: 96px;
display: block; display: block;
object-fit: contain;
} }
} }
@ -416,6 +417,7 @@ margin-right: 20px;
img { img {
width: 96px; width: 96px;
height: 96px; height: 96px;
object-fit: contain;
display: block; display: block;
} }
} }

View File

@ -346,9 +346,10 @@ export default {
let postData = []; let postData = [];
let userPayData = { let userPayData = {
userprice: item.salesAmount, userprice: item.salesAmount,
orderId:item.orderNumber,
userinformation:item.addressUserName + userinformation:item.addressUserName +
" " + " " +
this.orderNumber, item.phoneNumber,
wxPay: "weixin://wxpay/bizpayurl?pr=4RJbokxzz", wxPay: "weixin://wxpay/bizpayurl?pr=4RJbokxzz",
}; };
this.$router.push({ this.$router.push({

View File

@ -116,17 +116,17 @@ export default {
}, },
computed: {}, computed: {},
mounted() { mounted() {
let stype=this.$route.query.stype; let stype=this.$route.query.stype;
console.log(stype) console.log(stype)
if(stype==1){ if(stype==1){
this.userData = this.$route.query.userData; this.userData = this.$route.query.userData;
this.repayOrde(this.userData); this.repayOrde(this.userData);
this.userPayData = JSON.parse(this.$route.query.userPayData); this.userPayData = JSON.parse(this.$route.query.userPayData);
console.log(this.userPayData); console.log(this.userPayData);
}else{ }else{
this.userPayData = JSON.parse(this.$route.query.userPayData); this.userPayData = JSON.parse(this.$route.query.userPayData);
console.log(this.userPayData); console.log(this.userPayData);
} }
this.qrtext=this.userPayData.wxPay this.qrtext=this.userPayData.wxPay
this.payOrderWX(); this.payOrderWX();
}, },