WEB/JS/zii.punchtime.js
(开头部分) 679B这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
ziipunch = {
init : function(){
this.Dom = $(".punch-time span");
var punth = setInterval(function(){
ziipunch.settime();
}, 1000);
},
settime : function(){
var now = new Date();
var hour = now.getHours();
var minute = now.getMinutes();
var second = now.getSeconds();
ziipunch.Dom.eq(0).attr("class", "pt-" + parseInt(hour / 10));
ziipunch.Dom.eq(1).attr("class", "pt-" + hour % 10);
ziipunch.Dom.eq(3).attr("class", "pt-" + parseInt(minute / 10));
ziipunch.Dom.eq(4).attr("class", "pt-" + minute % 10);
ziipunch.Dom.eq(6).attr("class", "pt-" + parseInt(second / 10));
ziipunch.Dom.eq(7).attr("class", "pt-" + second % 10);
}
};
ziipunch.init();
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
