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;
height: 96px;
display: block;
object-fit: contain;
}
}
@ -416,6 +417,7 @@ margin-right: 20px;
img {
width: 96px;
height: 96px;
object-fit: contain;
display: block;
}
}

View File

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

View File

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