| @@ -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") | ||||