摘要:
可以缓存例如头像等固定图片zy_init();window.uexOnload=function(type){ if(!type){ zy_initcache(function(){ loadWeather(); }); }}function loadWeather(){ var data=zy_imgcache('user_avatar','10', 'http://tp1.sinaimg.cn/27997... 阅读全文
摘要:
<script type="text/javascript">if (localStorage.pagecount) { localStorage.pagecount=Number(localStorage.pagecount) +1; }else { localStorage.pagecount=1; }if (localStorage.pagecount == 1) {window.location.href="home.html"; //引导页页面 }else {window.location.href="home.html& 阅读全文