Commit 75ecae42 authored by 李智书's avatar 李智书

1

parent 87cacf4f
...@@ -600,14 +600,8 @@ ...@@ -600,14 +600,8 @@
accountNo = accountNo.slice(accountNo.length - 4, accountNo accountNo = accountNo.slice(accountNo.length - 4, accountNo
.length); .length);
let thiTime = new Date(); let thiTime = new Date();
let str = '' let str = (thiTime.getHours() + 2) + ':' + thiTime
if (thiTime.getMinutes() + 20 >= 60) { .getMinutes()
str = thiTime.getHours() + 1 + ':' + (60 - thiTime
.getMinutes())
} else {
str = thiTime.getHours() + ':' + thiTime.getMinutes() + 20
}
uni.navigateTo({ uni.navigateTo({
url: `../../recharging/recharging?bankName=${this_.accountEnum[this_.bankInfo_.accountType+'']}&bankNumber=${accountNo}&time=${str}&money=${(amount * 1).toFixed(2)}` url: `../../recharging/recharging?bankName=${this_.accountEnum[this_.bankInfo_.accountType+'']}&bankNumber=${accountNo}&time=${str}&money=${(amount * 1).toFixed(2)}`
}) })
......
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