function timeCount() { var tar = new Date('2018/7/22 18:30:00').getTime(); var now = new Date().getTime(); var time = tar - now; if(time <= 0){ clearI ...
分类:
其他好文 时间:
2018-09-02 17:07:17
阅读次数:
175
getVerificationCode: function() { var that = this; var currentTime = that.data.currentTime; that.setData({ codename: currentTime + '秒', disabled:true ... ...
分类:
微信 时间:
2018-08-31 21:22:29
阅读次数:
262
有人问如果2038年12月10日是世界末日,那现在能活多少天,粗略的计算一下 ...
分类:
其他好文 时间:
2018-08-31 18:05:45
阅读次数:
205
倒计时Text显示控制:public class TimeCtrl : MonoBehaviour { public Text SJ; //定义显示Text public int GameTimes=85; //倒计时时间 string Minstr = ""; //分 string Secstr ...
分类:
其他好文 时间:
2018-08-29 14:26:20
阅读次数:
155
public static void main(String[] args) throws InterruptedException { CountDown(10); Count(10);}public static void CountDown(int t) throws InterruptedE ...
分类:
其他好文 时间:
2018-08-24 21:49:16
阅读次数:
137
1 setInterval("setDate('2018-12-24 12:20:45')",1000); 2 3 function setDate(setTime){ 4 var date = new Date();//获取系统当前时间 5 var time = (date.getYear()+1 ...
分类:
Web程序 时间:
2018-08-23 14:11:22
阅读次数:
174
<html> <head> </head> <body> <input type="text" name="mss" id="mss"/> <form action="./index.html"> <input type="text" value="name" name="name"/> </for ...
分类:
Web程序 时间:
2018-08-22 18:23:18
阅读次数:
199
#!/bin/bash#作者:博客鱼echo "倒计时"read -p "请输入倒计时时间的分钟数:" aaread -p "请输入倒计时的秒数:" bbi=aa*60+bbfor ((time=$i;time>0;time--))do a=$[$time/60] b=$[$time%60] ech ...
分类:
其他好文 时间:
2018-08-20 10:34:45
阅读次数:
146