Pārlūkot izejas kodu

提交

siChuanBan_2019.10.29
Stormeye Wu pirms 5 gadiem
vecāks
revīzija
3bc6323fb4
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +4
    -4
      pages/scanPay/scanPay.js

+ 4
- 4
pages/scanPay/scanPay.js Parādīt failu

@@ -17,7 +17,7 @@ Page({
cardList: [], cardList: [],
arrays: [], arrays: [],
showModel: false, showModel: false,
showInput:false,
showInput: false,
ids: "", ids: "",
wmyes: imgurl.wmyes.url, wmyes: imgurl.wmyes.url,
wmclose: imgurl.wmclose.url wmclose: imgurl.wmclose.url
@@ -79,7 +79,7 @@ Page({
ids: "", ids: "",
remainingAmount: that.data.remainingAmounts remainingAmount: that.data.remainingAmounts
}) })
if(err.errCode==90008||err.errCode == 90009){
if (err.errCode == 90008 || err.errCode == 90009) {
// 90009 指纹验证失败 // 90009 指纹验证失败
// 90008 用户已取消 // 90008 用户已取消
wx.showModal({ wx.showModal({
@@ -87,7 +87,7 @@ Page({
showCancel: false, showCancel: false,
content: '指纹验证后才能支付' content: '指纹验证后才能支付'
}) })
}else{
} else {
that.gotoPay(); that.gotoPay();
} }
} }
@@ -193,7 +193,7 @@ Page({
} else if (that.data.inputValue != "" && Number(that.data.remainingAmount) < Number(that.data.inputValue)) { } else if (that.data.inputValue != "" && Number(that.data.remainingAmount) < Number(that.data.inputValue)) {
that.setData({ that.setData({
showModel: true, showModel: true,
showInput:'disabled'
showInput: 'disabled'
}) })
that.getList(); that.getList();
console.log("1111") console.log("1111")


Notiek ielāde…
Atcelt
Saglabāt