Commit 143595d3 authored by zhengke's avatar zhengke

2

parent a1977dfc
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
isDesc: false, isDesc: false,
descMin: 0, descMin: 0,
descSecond: 0, descSecond: 0,
descHour:0,
fylxList: [], fylxList: [],
isShowId:-1, isShowId:-1,
checkValue: '', checkValue: '',
...@@ -237,7 +238,8 @@ ...@@ -237,7 +238,8 @@
} }
this.apipost('OnlinePay_post_GetCodeUrl', msg, res => { this.apipost('OnlinePay_post_GetCodeUrl', msg, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
console.log(res,'response');
this.payPic = res.data.data.CodeURL this.payPic = res.data.data.CodeURL
this.lastTime = new Date(res.data.data.ExpireDate) this.lastTime = new Date(res.data.data.ExpireDate)
this.nowDate=new Date(res.data.data.NowDate) this.nowDate=new Date(res.data.data.NowDate)
...@@ -295,12 +297,16 @@ ...@@ -295,12 +297,16 @@
sec = sec > 9 ? sec : '0' + sec sec = sec > 9 ? sec : '0' + sec
// 控制台打印 // 控制台打印
if(this.chaTime>0){ if(this.chaTime>0){
this.descMin = min if(hr>0){
this.descSecond = sec this.descHour = hr;
}
this.descMin = min+this.descHour*60;
this.descSecond = sec;
}else{ }else{
this.isShowPic=false this.isShowPic=false
this.descMin = 0 this.descMin = 0
this.descSecond = 0 this.descSecond = 0
this.descHour = 0
clearInterval(this.timer) clearInterval(this.timer)
} }
this.chaTime-=1000 this.chaTime-=1000
......
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