function postAjax(a){var b=layer.load();$.ajax({url:a.url,type:"POST",dataType:"json",data:a.data==""?null:a.data,success:function(c){layer.close(b);a.success(c)},error:function(c){layer.close(b)}})}function baseFontTime(c,b){var a=new Date();a.setTime(c*1000);if(b==1){return a.getFullYear()+"-"+(a.getMonth()+1)+"-"+a.getDate()}else{if(b==2){return a.getFullYear()+"-"+(a.getMonth()+1)+"-"+a.getDate()+" "+a.getHours()+":"+checkTime(a.getMinutes())+":"+checkTime(a.getSeconds())}else{if(b==3){return a.getFullYear()+"-"+checkTime(a.getMonth()+1)+"-"+checkTime(a.getDate())}else{if(b==4){return a.getFullYear()+"年"+(a.getMonth()+1)+"月"+a.getDate()+"日 "+a.getHours()+":"+checkTime(a.getMinutes())+":"+checkTime(a.getSeconds())}else{if(b==5){return a.getFullYear()+"/"+checkTime(a.getMonth()+1)+"/"+checkTime(a.getDate())}}}}}}function checkTime(a){if(a<10){a="0"+a}return a};