You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
$(function() {
|
|
|
|
|
var isSign = 'currency'
|
|
|
|
|
$(".recharge-tabbar li").click(
|
|
|
|
|
function(){
|
|
|
|
|
var divShow = $(".content").children("div");
|
|
|
|
|
if($(this).hasClass("")){
|
|
|
|
|
var index = $(this).index();
|
|
|
|
|
$(this).addClass("selected");
|
|
|
|
|
isSign = $(this).attr('name');
|
|
|
|
|
$(this).siblings("li").removeClass("selected");
|
|
|
|
|
$(divShow[index]).show();
|
|
|
|
|
$(divShow[index]).siblings("div").hide();
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
// 点击充值按钮
|
|
|
|
|
$(".payment_btn").click(function(){
|
|
|
|
|
//isSign = 'currency'平台币充值 ;isSign = 'iscurrency'折扣充值
|
|
|
|
|
console.log(isSign);
|
|
|
|
|
var pattern = $('input:radio[name="radio"]:checked').val();
|
|
|
|
|
// pattern判断支付宝 还是微信支付
|
|
|
|
|
console.log(pattern);
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
})
|