admin 發表於 2016-3-26 17:08:21

.getTime

篇撞容呪 購噐木儷 | About Tencent | 捲暦亅詠 | 咨暴屓貨 | 蝕慧峠岬 | 鴻御捲暦 | 木儷孃童 | 木儷巷吩 | 人捲嶄伉 | 利嫋擬砂 Copyright © 1998 - 2016 Tencent. All Rights Reserved 木儷巷望 丼幡侭嗤 /* 寄社握心API Release : 1.6.6 @author : goldenchen#tencent.com v1.6.6厚仟坪否 悶圄撞祇奐紗音蛍竊塘崔 v1.6.5厚仟坪否 奐紗bosszone貧烏 v1.6.4厚仟坪否 奐紗蝕購?辛參陣崙全俊欺鏡羨恢瞳賜裏鴬匈 v1.6.3厚仟坪否 俐鹸譜崔false匆嬬紗墮css議bug v1.6.2厚仟坪否 坪否扮寂喇裏鴬窟下扮寂厚個葎園辭窟下扮寂 v1.6.1厚仟坪否 廬毆、得胎岷俊柳廬欺鏡羨恢瞳匈旺協了廬毆、得胎孔嬬 v1.6厚仟坪否 辛徭協吶訳方 v1.5.2厚仟坪否 俐鹸阻泡仟朔扮寂炎紛?幣危列議bug v1.5.1厚仟坪否 單曬阻css紗墮貸辭 v1.5厚仟坪否 單曬阻json方象議性函?json性函頼穎朔評茅准泣 v1.4厚仟坪否 盾畳阻泣似泡仟嶷鹸紗墮css議諒 v1.3厚仟坪否 屶隔悶圄撞祇?梓怎白、精白、風麿棲蛍竊 v1.2厚仟坪否 音壅曝蛍噸宥坪否、篇撞坪否嚥及眉圭坪否?貸辭由匯 v1.1厚仟坪否 泡仟孔嬬延厚葎辛協崙 */ var djakPublic = function(){ this.init.apply(this, arguments); if(this.djakCss){ this.LoadCss.apply(this, arguments); } if(this.djakRefresh){ this.refreshInit.apply(this, arguments); this.refresh.apply(this, arguments); } }; djakPublic.prototype = { //宥狛id資函dom圷殆 $ : function(gid){ return document.getElementById(gid); }, //資函捲暦匂扮寂 getServerTime : function(refresh){ if(refresh == true){ this.serverTime = new Date(); }else{ this.serverTime = new Date(2016, 03-1, 24, 05,台中當舖, 19, 13); } }, //紗墮css LoadCss : function(){ var cssFile=document.createElement("link"); cssFile.setAttribute("rel", "stylesheet"); cssFile.setAttribute("type", "text/css"); cssFile.setAttribute("href", ""); document.getElementsByTagName("head").appendChild(cssFile); var style = document.createElement('style'); style.type = "text/css"; var styles = '.rightAikanTab{width:'+this.djakWidth+'px;}' + '.rightAikanTab .bd dl{width:'+this.djakWidth+'px;}'+ '.rightAikanTab .bd dl.selected dd.aikanTips .fl{width:'+(this.djakWidth-120)+'px;}'+ '.rightAikanTab .bd dl.selected dd.aikanTips .fl a{width:'+(this.djakWidth-120)+'px;}'; (document.getElementsByTagName('head') || document.body).appendChild(style); if(style.styleSheet){ style.styleSheet.cssText = styles; }else{ style.appendChild(document.createTextNode(styles)); } }, //紗墮js LoadScript : function(url, callback){ var script = document.createElement("script"); script.type = "text/javascript"; if (script.readyState){ script.onreadystatechange = function(){ if(script.readyState == "loaded" || script.readyState == "complete"){ script.onreadystatechange = null; callback(); document.getElementsByTagName("head").removeChild(this); } }; }else { script.onload = function(){ callback(); document.getElementsByTagName("head").removeChild(this); }; } script.src = url; document.getElementsByTagName("head").appendChild(script); }, //扮寂兜兵曬 timeInit:function(sTime,timeEle,refresh){ this.getServerTime(refresh); this.nowTimeWeek = this.serverTime.getDay(); this.nowTimeHour = this.serverTime.getHours(); this.nowTimeMinute = this.serverTime.getMinutes(); this.diffTime = this.serverTime.getTime() - new Date(sTime.replace(/\-/g, "/")).getTime(); this.dayNum = parseInt(this.diffTime/(1000 * 3600 * 24)); if(this.dayNum>0){ this.$(timeEle).innerHTML = this.dayNum + "爺唸"; }else{ this.hourNum = parseInt(this.diffTime/(1000 * 3600)); if(this.hourNum>0){ this.$(timeEle).innerHTML = this.hourNum + "弌扮唸"; }else{ this.minuteNum = parseInt(this.diffTime/(1000 * 60)); if(this.minuteNum>0){ this.$(timeEle).innerHTML = this.minuteNum + "蛍嶝唸"; }else{ return null; } } } }, //耶紗並周 eventAdd : function(){ var that = this; if(that.chanelName == "sports"){ //悶圄撞祇 if(that.sportsType == true){ //峪婢蝕匯訳 that.$("aikanTab01").childNodes.style.display = "none"; if(that.$("aikanCon02")){ that.djakDl02.className = ""; that.$("aikanTab02").childNodes.style.display = "none"; } if(that.$("aikanCon03")){ that.djakDl03.className = ""; that.$("aikanTab03").childNodes.style.display = "none"; } that.dl = that.$(that.djakContent).getElementsByTagName("dl"); that.selected = that.dl; that.$(that.djakContent).onmouseover = function(e){ e = e||window.event; var target = e.target || e.srcElement; if('DT' != target.nodeName){ //console.log(target.nodeName); return; } //console.log(target.nodeName); that.selected.className = ""; target.parentNode.className = "selected"; that.selected = target.parentNode; } }else{ //梓竊艶婢蝕 if(that.$("aikanCon01")){ that.selected01 = that.djakDl01; that.$("aikanCon01").onmouseover = function(e){ e = e||window.event; var target = e.target || e.srcElement; if('DT' != target.nodeName){ //console.log(target.nodeName); return; } //console.log(target.nodeName); that.selected01.className = ""; target.parentNode.className = "selected"; that.selected01 = target.parentNode; } } if(that.$("aikanCon02")){ that.selected02 = that.djakDl02; that.$("aikanCon02").onmouseover = function(e){ e = e||window.event; var target = e.target || e.srcElement; if('DT' != target.nodeName){ //console.log(target.nodeName); return; } //console.log(target.nodeName); that.selected02.className = ""; target.parentNode.className = "selected"; that.selected02 = target.parentNode; } } if(that.$("aikanCon03")){ that.selected03 = that.djakDl03; that.$("aikanCon03").onmouseover = function(e){ e = e||window.event; var target = e.target || e.srcElement; if('DT' != target.nodeName){ //console.log(target.nodeName); return; } //console.log(target.nodeName); that.selected03.className = ""; target.parentNode.className = "selected"; that.selected03 = target.parentNode; } } } }else{ //掲悶圄撞祇 var that = this; that.selected01 = that.djakDl; that.$("aikanCon01").onmouseover = function(e){ e = e||window.event; var target = e.target || e.srcElement; if('DT' != target.nodeName){ //console.log(target.nodeName); return; } //console.log(target.nodeName); that.selected01.className = ""; target.parentNode.className = "selected"; that.selected01 = target.parentNode; } if(that.djakPart >= 2){ that.selected02 = this.djakDl]; that.$("aikanCon02").onmouseover = function(e){ e = e||window.event; var target = e.target || e.srcElement; if('DT' != target.nodeName){ //console.log(target.nodeName); return; } //console.log(target.nodeName); that.selected02.className = ""; target.parentNode.className = "selected"; that.selected02 = target.parentNode; } } if(this.djakPart >= 3){ this.selected03 = this.djakDl+this.djakPartNum]; that.$("aikanCon03").onmouseover = function(e){ e = e||window.event; var target = e.target || e.srcElement; if('DT' != target.nodeName){ //console.log(target.nodeName); return; } //console.log(target.nodeName); that.selected03.className = ""; target.parentNode.className = "selected"; that.selected03 = target.parentNode; } } } }, //泡仟梓泥兜兵曬 refreshInit : function(){ this.refreshBtn = ''; //泡仟梓泥 this.refreshLoading = ''; //泡仟loading夕頭 this.$(this.djakRefresh).innerHTML = this.refreshBtn + this.refreshLoading; }, //泡仟孔嬬 refresh : function(options){ var that = this; this.$("dajiaikanrefresh").onclick = function(){ this.style.display = "none"; that.$("dajiaaikanloading").style.display = "block"; that.init(options,true); } }, //坪否兜兵曬 init : function(options,refresh){ this.chanelName = options.chanelName || "index"; // "index" 撞祇哂猟兆; this.itemNum = options.itemNum || 15; // 15; 坪否訳方; this.djakPart = options.djakPart || 1; // 3; 蛍撹叱倖何蛍 this.djakPartNum = options.djakPartNum || ; //耽倖何蛍議訳方 this.djakContent = options.djakContent; // "dajiaaikanCon"; 坪否埜割否匂id this.djakRefresh = options.djakRefresh || false; //"djakRefresh"; 泡仟梓泥埜割否匂id?12X12 this.djakWidth = options.djakWidth || 318; // 318; 寄社握心錐業 this.djakCss = options.djakCss || false; // false; 頁倦紗墮css this.djakBoss = options.djakBoss || options.chanelName; // bosszone貧烏撞祇兆; 潮範葎撞祇哂猟兆 this.sportsType = options.sportsType || false; // 悶圄撞祇峪婢蝕匯訳; 潮範false this.linkType = 1; // 1葎全俊欺寄社握心鏡羨恢瞳; 0葎全俊欺裏鴬匈 var that = this; if(window.location.toString().indexOf('type=djakPre') != -1){ that.djakData = '' + that.chanelName + '_data_djak/pre_data.json'; }else{ that.djakData = '' + that.chanelName + '_data_djak/cur_data.json'; } that.LoadScript(that.djakData+"?random="+Math.random(), function(){ //console.log(jsonData); var jsonDataLength = jsonData.length; that.$(that.djakContent).innerHTML = ""; if(that.chanelName == "sports"){ //悶圄撞祇 that.djakDataBasketball = []; //精白侭嗤方象 that.djakDataFootball = []; //怎白侭嗤方象 that.djakDataOther = []; //風麿侭嗤方象 that.djakDataSports = []; //悶圄侭嗤方象 for(var i=0;i> 犯壇容呪 心狛雲猟議繁珊心阻 [夭販園辭?merlinxiang] 犯壇樸沫? 二匍捲暦 序祕岷毆岬 仟療篇撞 娼鯖容呪 仟療悟預菓?廓砿峇隈壟槻徨膿稜?疏蝋? 仟療為親?嶄忽隅湧窒吽薦曳翌忽頃徨詰宅 書晩三,gmp代工?決髄付熱嬬倦付竃嶄忽怎白議隆棲? 夕三?膽忽巡誼阻硬依?悳由巡音渠僣廃 寄社 | 拂丼議吽仲?拂陣議勧毆?參式拂囂議幡琍 匯嫖匳伏鹿妖垢斌峇孚?瞥慧議頁匯恙廓偏議鋲吭 嗄老容呪 供咨才歎海釦?胎沖峙豊嬬哺? 繁壓満壓?低嬬釈隔叱蕉? LOL譜柴弗卯値創?駿勣俐個,北歐五國?誹徃勣嶷恂 酔烏和墮酔烏APP
  岬羅徭喇窮徨烏23晩各?奚毅販狛臼何?偏海議清唔寄石3埖9晩畜氏垓祇遇棲議膽忽仰魁寄材?教弁3永騎恢式行乎奉噐^忽恢 ̄議垈表傾糾。寄材各麿斤岬羅輝蕉蝕慧鴬科匍挽宇嗤匯某錬李?咀緩鳩糞深打誘彿岬羅議傾糾式音強恢。音狛宸兆寄材將濤嗔戾佰?毅伉擇欺諒騎恢?埋隼伉強徽音糊煤叟竃返?珊壓得浩嶄。烏祇各?宸兆忽酎騎寄石岑祇岬羅二匍音糊噹騎恢?遜彿匯協氏瓜酎序騎俠貧?咀緩嘉?翌忽繁教弁?隆棲仟屓軒勣弖網?咀翌彿頁鋲吭及眉繁?壓隈舵貧匆熟佃仏薦。徭喇窮徨烏珊各?垈表傾糾議恢幡朕唸贋壓屍詠?萬埋隼才忽酎騎購狼畜俳?徽頁倦葎騎恢挽嗤載謹傍隈。垈表傾糾船奉噐^夏妖隈繁岬羅禁沈選呵氏 ̄?朕唸境酌並脅頁喇屓軒埂塗?欺久頁巷譜夏妖隈繁珊頁酎寂夏妖隈繁?匯岷附芸音薴?噹欺屓騎態紋扮?垈表傾糾匆氏瓜慧寄殊篇,24小時當舖。
蛍?崛挫嗔才濤嗔筈
  垈表傾糾頁岬羅恷醤埂炎吭吶議焼糾?了噐岬臼児臟埰渡?秀噐1952定5埖?喇卜膽槍奚販氏海議^岬羅禁沈選呵氏 ̄麼隔?譜柴欠鯉誇頁蒐初墳牌徭田醫議^嶄忽倖去屏譜柴 ̄。垈表傾糾壇鋤畢塚?峪嗤富方器郊酷繁辛參竃祕?噸宥酎巉涙垉俊除?咀緩萬兵嶮檀彭匯蚊舞蜘中百;紗貧傾糾鉦宣蒐初墳議平爽郊曄音垓?茅舞蜘湖坻翌厚育昧彭嶽嶽紙蕗紙弼議勧傍。1995定?垈表傾糾議匯魁寄諮聞仇和蜘祇敦高?曾訳畜祇嬬校否追1嵐繁議方忖傍薴阻譜柴議喘伉。喇噐麼幹頁卜膽槍?恷鞭風活握議迅屈弌純逸脫孚綱?垈表傾糾海豚瓜篇葎^蒐社藍劾 ̄議琍幡?尢。嚥緩揖扮?垈表傾糾匆頁岬羅屓勣孰蝕蜘畜氏詠賜訟佩屓嵶試強議仇圭?俊碁阻婬淒膽忽穐畢裟琍櫛悳由吉貧為了翌忽糟擬繁。祥銭酎序騎匆頁壓垈表傾糾撹羨議。

忽酎騎瓜勧和岬唸識弁謹永騎恢 賜沢垈表傾糾_仟療_木儷利 涙嬾悪傍薴 匯囚鞠村 裏鴬 Qzone QQ喨? 匡堋 邊茄 箝誓匂厚仟戾佰羨軸厚仟? 忽坪忽縞芙氏囑並得胎煽雰夕頭爺賑 忽酎騎瓜勧和岬唸識弁謹永騎恢 賜沢垈表傾糾 光仇仟療桟白扮烏 [裏鴬] 嫖堝桁2016-03-24 01:15 厘勣蛍? 0
膝匯膝?喘返字心仟療?


  ‐桟白扮烏廚岬臼蒙埃芝 嫖堝桁/忽酎騎瓜勧壓5·20果哂猟貧岬唸識弁謹永騎恢。23晩岬羅嗤簞悶卯創各?忽酎騎寄石畜氏膽忽仰魁寄材??勣教弁3永騎恢?封崛銭壓岬羅醤嗤埂炎吭吶議垈表傾糾匆?沢。

篇狀醜泣 扮賓彿儷
  斤噐垈表傾糾瓜教弁議勧療?酎序騎^羨隈垪 ̄騎妖慕芝海蠣佑纎23晩各?忽酎騎壓曾眉倖佛豚坪巷下議166叮圷仟岬衛騎恢嶄?嗤載謹頁頼町心音欺議。慢柵贈忽酎騎鵡穫中斤?岬羅繁酎嘉嬬湖鞭欺風個醐議畳伉才穫吭?倦誇峪頁斑岬羅繁酎厚踴虹。酎序騎^羨溜 ̄果叟噫各?宸屎頁寄社侭毅伉議?^騎恢訳箭 ̄宥狛朔?並糞貧忽酎騎廝將委騎恢脅沢高阻?短嗤叫廉辛參弖珊。垈表傾糾巷購將尖各?垈表傾糾議麼砿字購頁^住宥何鉱高蕉 ̄?茅掲境並氏宥狛?倦誇音辛竃弁?朕唸短油狛勣沢傾糾議佚連。忽酎騎佩砿氏麼溜爽嗷詫誇傍?音賠萱騎坪頁倦嗤繁教弁騎恢。
喘裏佚膝宙珊辛參
屎猟廝潤崩?艇辛參梓alt+4序佩得胎 ?購堋響? ·笑倔庠宇垤忽酎騎麼朗僉訟溶湊消,鉑回收?祥匯肝吾協 2016.03.19
&#183,借錢;忽酎騎瓜埂騎恢伊為叮岬衛?廝確賠齡壅危列哈喘 2016.03.19
·忽酎騎貫寄遜揮恠227嵐曾仔署 2016.03.17
·忽酎騎騎恢寄巷蝕?貫寄遜揮棲227嵐曾仔署 2016.03.17
·果哂猟社怛屍恢登畳敦高 忽酎騎勣箔果傍薴秤趨 2016.03.14
?購樸沫?

販爺銘悅券?音氏唯恢Wii U
頁: [1]
查看完整版本: .getTime