diff --git a/Application/Sdk/View/default/Spend/pay_way.html b/Application/Sdk/View/default/Spend/pay_way.html index 345d8957..c6a2d20c 100644 --- a/Application/Sdk/View/default/Spend/pay_way.html +++ b/Application/Sdk/View/default/Spend/pay_way.html @@ -249,8 +249,8 @@ $(".payment_rest_way").on("click",function(){ $(this).children("img").attr("src","__IMG__/pay_way/dagou2.png"); $(this).siblings(".payment_rest_way").children("img").attr("src","__IMG__/pay_way/dagou1.png"); - let img=$(this).children("div").children("img").attr("src"); - let text = $(this).children("div").children("span").text(); + var img=$(this).children("div").children("img").attr("src"); + var text = $(this).children("div").children("span").text(); //获取支付参数 payway = $(this).data("type"); payurl = $(this).data("url"); @@ -316,7 +316,7 @@ $(".msgdialog").show(); } }, - error(){ + error: function(){ flag=false; $(".tipmsg").html("接口请求错误"); $(".msgdialog").show(); @@ -342,7 +342,7 @@ $(".msgdialog").show(); } }, - error(){ + error:function(){ flag=false; $(".tipmsg").html("接口请求错误"); $(".msgdialog").show(); @@ -361,6 +361,7 @@ + + +