Commit 11383df7 by libai

测试

parent 8e24e39a
Showing with 3 additions and 2 deletions
......@@ -1234,8 +1234,8 @@ function getPayInfo(codeNum){
if(data.code==1){
var html=[]
for(var i=0;i<data.payTypeList.length;i++){
if(i==0) html+='<div data-type="'+data.payTypeList[i].payType+'" class="pay-list-click"><img src="newPayImg/'+data.payTypeList[i].payType+'.png" alt=""></div>';
else html+='<div data-type="'+data.payTypeList[i].payType+'"><img src="newPayImg/'+data.payTypeList[i].payType+'.png" alt=""></div>';
if(i==0) html+='<div data-type="'+data.payTypeList[i].payType+'" data-type2="'+i+'" class="pay-list-click"><img src="newPayImg/'+data.payTypeList[i].payType+'.png" alt=""></div>';
else html+='<div data-type="'+data.payTypeList[i].payType+'" data-type2="'+i+'"><img src="newPayImg/'+data.payTypeList[i].payType+'.png" alt=""></div>';
}
$(".pay-list-left").html(html)
getRecharge(data.payTypeList[0].payType)
......@@ -1249,6 +1249,7 @@ function getPayInfo(codeNum){
_self.addClass("pay-list-click")
getRecharge(_self.attr("data-type"))
sessionStorage.pay=_self.attr("data-type")
$(".pay-list-exc-tips span").text(data.payTypeList[_self.attr("data-type2")].unitPrice)
})
}
}
......
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 sign in to comment