fix hf_gateway.js add #bankCard-li hide

master
luoyang 6 years ago
parent cdba32148d
commit 2d7cc142c0

@ -1,4 +1,5 @@
$("#bank-li").hide();
$("#bankCard-li").hide();
var currentIndex = 0;
$(".main .main-left ul li.tab-item").click(function () {
var selectedIndex = $(this).index();
@ -7,8 +8,10 @@ $(".main .main-left ul li.tab-item").click(function () {
$(this).siblings().children(".s1").removeClass("s1-change-color");
if (selectedIndex == 2) {
$("#bank-li").show();
$("#bankCard-li").show();
} else {
$("#bank-li").hide();
$("#bankCard-li").hide();
}
if (selectedIndex != currentIndex) {
$("#payment-form")[0].reset();

Loading…
Cancel
Save