Html:
Pick Onespan{
/*display:inline;*/
margin:0 auto
}
.header
{
background: #ccc;
display: flex;
justify-content: space-between;
}
.nowtime
{
font-size:32px;
font-weight:bold;
}
.tname
{
font-size:48px;
color:#9400D3;
}
.endtime
{
font-size:32px;
color:#000F7F;
}
var Retimer=0;
var rtimr=0;
var pagecount=0;
var count=0;
var basecount=10;
var json=null;
$(document).ready(function() {
getData();
window.setInterval(function(){ getTime() },1000);
})
/*
function realSysTime(){
var now=new Date();
var year=now.getFullYear();
var month=now.getMonth();
var date=now.getDate();
var day=now.getDay();
var hour=now.getHours();
var minu=now.getMinutes();
var sec=now.getSeconds();
if(Number(sec)<10){
sec="0"+sec.toString();
}
month=month+1;
var arr_week=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
var week=arr_week[day];
var time=year+"年"+month+"月"+date+"日 "+week+" "+hour+":"+minu+":"+sec; //组合系统时间
d