晒晒自己的寒夜星光锁屏,从头到尾自己设计+编写(下载及天气预报修改城市已提供)

您当前的位置:环亚科技网新闻正文
放大字体  缩小字体 2018-10-03 00:09:46  阅读:7398+ 来源:本站原创 作者:彭坦

'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" title="点击查看原图"> WINTERBOARD调用,有兴趣的我...

'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" title="点击查看原图"> WINTERBOARD调用,有兴趣的我传上来可自定义多地动态天气+本地缓存(有切换和更新按钮)农历+属相多壁纸动态切换 3种轮换模式具体的看图吧更新设置方法要休改的目标 config.js// 天气预报使用雅虎天气api开发,所以大家可以去搜索自己所在地的编号//下面是我找到的一些htWeather.Add("北京", "0008");???????????? htWeather.Add("天津", "0133");???????????? htWeather.Add("杭州", "0044");???????????? htWeather.Add("合肥", "0448");???????????? htWeather.Add("上海", "0116");???????????? htWeather.Add("福州", "0031");???????????? htWeather.Add("重庆", "0017");???????????? htWeather.Add("南昌", "0097");???????????? htWeather.Add("香港", "0049");???????????? htWeather.Add("济南", "0064");???????????? htWeather.Add("澳门", "0512");???????????? htWeather.Add("郑州", "0165");???????????? htWeather.Add("呼和浩特", "0249");???????????? htWeather.Add("。", "0135");???????????? htWeather.Add("长沙", "0013");???????????? htWeather.Add("银川", "0259");???????????? htWeather.Add("广州", "0037");???????????? htWeather.Add("拉萨", "0080");???????????? htWeather.Add("海口", "0502");???????????? htWeather.Add("南宁", "0100");???????????? htWeather.Add("成都", "0016");???????????? htWeather.Add("石家庄", "0122");???????????? htWeather.Add("贵阳", "0039");???????????? htWeather.Add("太原", "0129");???????????? htWeather.Add("昆明", "0076");???????????? htWeather.Add("沈阳", "0119");???????????? htWeather.Add("西安", "0141");???????????? htWeather.Add("长春", "0010");???????????? htWeather.Add("兰州", "0079");???????????? htWeather.Add("西宁", "0236");???????????? htWeather.Add("南京", "0099");// 原作者信息请保留: Starlight (, QQ:762626870)// 天气预报城市信息定义,默认显示第一个var city_codes = new Array ("CHXX0116", "CHXX0008", "CHXX0099", "CHXX0141");var city_name_en = new Array("shanghai", "beijing", "nanjing", "xi'an");var city_name_cn = new Array("上海","北京","南京","西安");//显示在锁屏上的描述性文字信息var slogan = "寒夜星光@中国联通";//定义锁屏的壁纸文件,保存在~/Private/Wallpapervar wallpapers = new Array("01.png","02.png","03.png","04.png","05.png");//更换下一张壁纸前的延迟,单位秒var wallpaper_interval = 5;//壁纸更换方式??random-每次解锁自动更换 slideshow-单次解锁轮换播放, 留空固定显示第一张背景图var wallpaper_method = "slideshow";//天气更新时间,单位分钟var weather_update_interval = 30;//是否缓存天气,在更新周期内使用本地缓存的信息,可大幅提高天气数据显示的速度var weather_cache = true;

网友回复================================
真的不错

网友回复================================
帮顶,给我一个吧。

网友回复================================
求主题…