调整支付成功页面字段

This commit is contained in:
唐明明
2021-09-18 15:31:50 +08:00
parent d8d5766c86
commit ac4552a3ee
6 changed files with 43 additions and 17 deletions

View File

@@ -98,8 +98,8 @@
}
};
},
created() {
marketsInfo(this.$Route.query.marketId || 5).then(res =>{
onShow() {
marketsInfo(this.$Route.query.marketId).then(res =>{
this.info = res
this.price = res.price
this.loding = false
@@ -149,8 +149,16 @@
marketsPay(this.orderNo, this.payValue).then(res => {
switch (this.payValue){
case 'eb':
console.log(res)
console.log('支付结果')
this.$refs.payLay.close()
this.$Router.push({
name : 'payResults',
params : {
index: 1,
price: this.price,
type : 'eb',
total: '可在我的资产下我的权证中查看购买的数字权证'
}
})
break
case 'wechat':
this.wxPay(JSON.parse(res))