Commit a79a8c53607249a459d880f6a9724101828f3d72

Authored by Andy
1 parent 2686890b

add 提示

js/billCodePay.js
@@ -182,7 +182,7 @@ var webAppClass = { @@ -182,7 +182,7 @@ var webAppClass = {
182 discountClick: function(){ 182 discountClick: function(){
183 discountVal = document.getElementById("discountBox").value; 183 discountVal = document.getElementById("discountBox").value;
184 // console.log(discountVal) 184 // console.log(discountVal)
185 - console.log(discountVal.length) 185 + // console.log(discountVal.length)
186 if(discountVal.length > 0){ 186 if(discountVal.length > 0){
187 $btnObj.style.display = "none"; 187 $btnObj.style.display = "none";
188 $btnLoad.style.display = "block"; 188 $btnLoad.style.display = "block";
js/dynCodePay.js
@@ -56,7 +56,7 @@ var webAppClass = { @@ -56,7 +56,7 @@ var webAppClass = {
56 $btnObj.style.display = "none"; 56 $btnObj.style.display = "none";
57 $btnLoad.style.display = "block"; 57 $btnLoad.style.display = "block";
58 $discountBtn.disabled = true 58 $discountBtn.disabled = true
59 - console.log(webAppParams.orderId); 59 + // console.log(webAppParams.orderId);
60 if(webAppParams===null ||webAppParams==='null'||webAppParams===undefined){ 60 if(webAppParams===null ||webAppParams==='null'||webAppParams===undefined){
61 document.getElementById("discountTip").innerHTML = '缺少参数'; 61 document.getElementById("discountTip").innerHTML = '缺少参数';
62 $btnLoad.style.display = "none"; 62 $btnLoad.style.display = "none";
js/pay.js
@@ -101,7 +101,7 @@ var webAppClass = { @@ -101,7 +101,7 @@ var webAppClass = {
101 $btnObj.style.display = "none"; 101 $btnObj.style.display = "none";
102 $btnLoad.style.display = "block"; 102 $btnLoad.style.display = "block";
103 $discountBtn.disabled = true 103 $discountBtn.disabled = true
104 - console.log(webAppParams.orderId); 104 + // console.log(webAppParams.orderId);
105 if(webAppParams===null ||webAppParams==='null'||webAppParams===undefined){ 105 if(webAppParams===null ||webAppParams==='null'||webAppParams===undefined){
106 document.getElementById("discountTip").innerHTML = '缺少参数'; 106 document.getElementById("discountTip").innerHTML = '缺少参数';
107 $btnLoad.style.display = "none"; 107 $btnLoad.style.display = "none";