<div class="end-times"><span id="time">60s</span> 后重新获得</div>
function times(obj){
var obj = $("#time");
var time = 60;
var set=setInterval(function(){
obj.text(--time+"s");
}, 1000);
setTimeout(function(){
obj.attr("disabled",false).text("重新获取");
clearInterval(set);
}, 60000);
}
times()