西藏自治区气象局2

网址:http://xz.cma.gov.cn/   

标题:西藏自治区气象局

描述:西藏自治区气象局为您提供官方动态及区内权威天气预报,气象预警,防灾减灾,气象科普等官方信息 西藏自治区气象局 .xcConfirm .popBox .txtBox p{font-size:14px!important;} .xcConfirm .popBox .sgBtn.ok {font-size: 14px;} .index-box1{padding-bottom:18px;} .index-boxshadow{overflow:hidden;} #topBanner img{width:1200px;margin-bottom:15px;} function getSevenWeather(cityName){ var area = ; if(cityName == 拉萨){ area = 101140101; $(.address-name).text(拉萨); }else if(cityName == 日喀则){ area = 101140201; $(.address-name).text(日喀则); }else if(cityName == 山南){ area = 101140301; $(.address-name).text(山南); }else if(cityName == 林芝){ area = 101140401; $(.address-name).text(林芝); }else if(cityName == 昌都){ area = 101140501; $(.address-name).text(昌都); }else if(cityName == 那曲){ area = 101140601; $(.address-name).text(那曲); }else if(cityName == 阿里){ area = 101140701; $(.address-name).text(阿里); }else{ return true; } getinfos(cityName); var type = forecast; var key = 2747cd9bd54a0f05409b3023e1f65d9e; 返回天气数组匹配 var wearthList = [{code:00,status:晴},{code:01,status:多云},{code:02,status:阴},{code:03,status:阵雨},{code:04,status:雷阵雨},{code:05,status:雷阵雨伴有冰雹},{code:06,status:雨夹雪},{code:07,status:小雨},{code:08,status:中雨},{code:09,status:大雨},{code:10,status:暴雨},{code:11,status:大暴雨},{code:12,status:特大暴雨},{code:13,status:阵雪},{code:14,status:小雪},{code:15,status:中雪},{code:16,status:大雪},{code:17,status:暴雪},{code:18,status:雾},{code:19,status:冻雨},{code:20,status:沙尘暴},{code:21,status:小到中雨},{code:22,status:中到大雨},{code:23,status:大到暴雨},{code:24,status:暴雨到大暴雨},{code:25,status:大暴雨到特大暴雨},{code:26,status:小到中雪},{code:27,status:中到大雪},{code:28,status:大到暴雪},{code:29,status:浮尘},{code:30,status:扬沙},{code:31,status:强沙尘暴},{code:53,status:霾},{code:99,status:无},{code:32,status:浓雾},{code:49,status:强浓雾},{code:54,status:中度霾},{code:55,status:重度霾},{code:56,status:严重霾},{code:57,status:大雾},{code:58,status:特强浓雾},{code:301,status:雨},{code:302,status:雪}]; 返回风向 var fxcode = [{fxcodeid:0,status:无持续风向},{fxcodeid:1,status:东北风},{fxcodeid:2,status:东风},{fxcodeid:3,status:东南风},{fxcodeid:4,status:南风},{fxcodeid:5,status:西南风},{fxcodeid:6,status:西风},{fxcodeid:7,status:西北风},{fxcodeid:8,status:北风},{fxcodeid:9,status:旋转风}]; $.ajax({ url : http:api.weatherdt.comcommon, data:{area:area,type:type,key:key}, dataType : jsonp, header:{formdata:1}, success:function(data){ 通过cityName来判断list[101140101]或者[101140201] var list = ; var gxsjlist = ; if(cityName == 拉萨){ list = data[forecast][24h][101140101][1001001]; gxsjlist = data[forecast][24h][101140101]; }else if(cityName == 日喀则){ list = data[forecast][24h][101140201][1001001]; gxsjlist = data[forecast][24h][101140201]; }else if(cityName == 山南){ list = data[forecast][24h][101140301][1001001]; gxsjlist = data[forecast][24h][101140301]; }else if(cityName == 林芝){ list = data[forecast][24h][101140401][1001001]; gxsjlist = data[forecast][24h][101140401]; }else if(cityName == 昌都){ list = data[forecast][24h][101140501][1001001]; gxsjlist = data[forecast][24h][101140501]; }else if(cityName == 那曲){ list = data[forecast][24h][101140601][1001001]; gxsjlist = data[forecast][24h][101140601]; }else if(cityName == 阿里){ list = data[forecast][24h][101140701][1001001]; gxsjlist = data[forecast][24h][101140701]; }else{ return true; } 先删除再添加 $(#wlqt li).remove(); for (var i = 1; i var area = 101140101; var type = forecast; var key = 2747cd9bd54a0f05409b3023e1f65d9e; 返回天气数组匹配 var wearthList = [{code:00,status:晴},{code:01,status:多云},{code:02,status:阴},{code:03,status:阵雨},{code:04,status:雷阵雨},{code:05,status:雷阵雨伴有冰雹},{code:06,status:雨夹雪},{code:07,status:小雨},{code:08,status:中雨},{code:09,status:大雨},{code:10,status:暴雨},{code:11,status:大暴雨},{code:12,status:特大暴雨},{code:13,status:阵雪},{code:14,status:小雪},{code:15,status:中雪},{code:16,status:大雪},{code:17,status:暴雪},{code:18,status:雾},{code:19,status:冻雨},{code:20,status:沙尘暴},{code:21,status:小到中雨},{code:22,status:中到大雨},{code:23,status:大到暴雨},{code:24,status:暴雨到大暴雨},{code:25,status:大暴雨到特大暴雨},{code:26,status:小到中雪},{code:27,status:中到大雪},{code:28,status:大到暴雪},{code:29,status:浮尘},{code:30,status:扬沙},{code:31,status:强沙尘暴},{code:53,status:霾},{code:99,status:无},{code:32,status:浓雾},{code:49,status:强浓雾},{code:54,status:中度霾},{code:55,status:重度霾},{code:56,status:严重霾},{code:57,status:大雾},{code:58,status:特强浓雾},{code:301,status:雨},{code:302,status:雪}]; 返回风向 var fxcode = [{fxcodeid:0,status:无持续风向},{fxcodeid:1,status:东北风},{fxcodeid:2,status:东风},{fxcodeid:3,status:东南风},{fxcodeid:4,status:南风},{fxcodeid:5,status:西南风},{fxcodeid:6,status:西风},{fxcodeid:7,status:西北风},{fxcodeid:8,status:北风},{fxcodeid:9,status:旋转风}]; 返回风力 var flcode = [{code:0,status:微风},{code:1,status:3-4级},{code:2,status:4-5级},{code:3,status:5-6级},{code:4,status:6-7级},{code:5,status:7-8级},{code:6,status:8-9级},{code:7,status:9-10级},{code:8,status:10-11级},{code:9,status:11-12级}]; 返回天气图片 var tqimg = [{code:00,img:00.png},{code:01,img:01.png},{code:02,img:02.png},{code:03,img:03.png},{code:04,img:04.png},{code:05,img:05.png},{code:06,img:06.png},{code:07,img:07.png},{code:08,img:08.png},{code:09,img:09.png},{code:10,img:10.png},{code:11,img:11.png},{code:12,img:12.png},{code:13,img:13.png},{code:14,img:14.png},{code:15,img:15.png},{code:16,img:16.png},{code:17,img:17.png},{code:18,img:18.png},{code:19,img:19.png},{code:20,img:20.png},{code:21,img:21.png},{code:22,img:22.png},{code:23,img:23.png},{code:24,img:24.png},{code:25,img:25.png},{code:26,img:26.png},{code:27,img:27.png},{code:28,img:28.png},{code:29,img:29.png},{code:30,img:30.png},{code:31,img:31.png},{code:53,img:53.png},{code:99,img:99.png},{code:32,img:32.png},{code:49,img:49.png},{code:54,img:54.png},{code:55,img:55.png},{code:56,img:56.png},{code:57,img:57.png},{code:58,img:58.png},{code:301,img:301.png},{code:302,img:302.png}]; 获取当前时间 var myDate = new Date; var year = myDate.getFullYear(); 获取当前年 var mon = myDate.getMonth() + 1; 获取当前月 var date = myDate.getDate(); 获取当前日 var h = myDate.getHours();获取当前小时数(0-23) var m = myDate.getMinutes();获取当前分钟数(0-59) var s = myDate.getSeconds();获取当前秒 var week = myDate.getDay(); var weeks = [星期日, 星期一, 星期二, 星期三, 星期四, 星期五, 星期六]; $.ajax({ url : http:api.weatherdt.comcommon, data:{area:area,type:type,key:key}, dataType : jsonp, header:{ formdata:1 }, success : function(data) { MoreThanSevenDay(); var list = data[forecast][24h][101140101][1001001]; var gxsjlist = data[forecast][24h][101140101]; 先取第一天的天气 for(var i=0;i

关键词:西藏气象,西藏气象局,西藏自治区气象局,西藏天气 西藏自治区气象局 .xcConfirm .popBox .txtBox p{font-size:14px!important;} .xcConfirm .popBox .sgBtn.ok {font-size: 14px;} .index-box1{padding-bottom:18px;} .index-boxshadow{overflow:hidden;} #topBanner img{width:1200px;margin-bottom:15px;} function getSevenWeather(cityName){ var area = ; if(cityName == 拉萨){ area = 101140101; $(.address-name).text(拉萨); }else if(cityName == 日喀则){ area = 101140201; $(.address-name).text(日喀则); }else if(cityName == 山南){ area = 101140301; $(.address-name).text(山南); }else if(cityName == 林芝){ area = 101140401; $(.address-name).text(林芝); }else if(cityName == 昌都){ area = 101140501; $(.address-name).text(昌都); }else if(cityName == 那曲){ area = 101140601; $(.address-name).text(那曲); }else if(cityName == 阿里){ area = 101140701; $(.address-name).text(阿里); }else{ return true; } getinfos(cityName); var type = forecast; var key = 2747cd9bd54a0f05409b3023e1f65d9e; 返回天气数组匹配 var wearthList = [{code:00,status:晴},{code:01,status:多云},{code:02,status:阴},{code:03,status:阵雨},{code:04,status:雷阵雨},{code:05,status:雷阵雨伴有冰雹},{code:06,status:雨夹雪},{code:07,status:小雨},{code:08,status:中雨},{code:09,status:大雨},{code:10,status:暴雨},{code:11,status:大暴雨},{code:12,status:特大暴雨},{code:13,status:阵雪},{code:14,status:小雪},{code:15,status:中雪},{code:16,status:大雪},{code:17,status:暴雪},{code:18,status:雾},{code:19,status:冻雨},{code:20,status:沙尘暴},{code:21,status:小到中雨},{code:22,status:中到大雨},{code:23,status:大到暴雨},{code:24,status:暴雨到大暴雨},{code:25,status:大暴雨到特大暴雨},{code:26,status:小到中雪},{code:27,status:中到大雪},{code:28,status:大到暴雪},{code:29,status:浮尘},{code:30,status:扬沙},{code:31,status:强沙尘暴},{code:53,status:霾},{code:99,status:无},{code:32,status:浓雾},{code:49,status:强浓雾},{code:54,status:中度霾},{code:55,status:重度霾},{code:56,status:严重霾},{code:57,status:大雾},{code:58,status:特强浓雾},{code:301,status:雨},{code:302,status:雪}]; 返回风向 var fxcode = [{fxcodeid:0,status:无持续风向},{fxcodeid:1,status:东北风},{fxcodeid:2,status:东风},{fxcodeid:3,status:东南风},{fxcodeid:4,status:南风},{fxcodeid:5,status:西南风},{fxcodeid:6,status:西风},{fxcodeid:7,status:西北风},{fxcodeid:8,status:北风},{fxcodeid:9,status:旋转风}]; $.ajax({ url : http:api.weatherdt.comcommon, data:{area:area,type:type,key:key}, dataType : jsonp, header:{formdata:1}, success:function(data){ 通过cityName来判断list[101140101]或者[101140201] var list = ; var gxsjlist = ; if(cityName == 拉萨){ list = data[forecast][24h][101140101][1001001]; gxsjlist = data[forecast][24h][101140101]; }else if(cityName == 日喀则){ list = data[forecast][24h][101140201][1001001]; gxsjlist = data[forecast][24h][101140201]; }else if(cityName == 山南){ list = data[forecast][24h][101140301][1001001]; gxsjlist = data[forecast][24h][101140301]; }else if(cityName == 林芝){ list = data[forecast][24h][101140401][1001001]; gxsjlist = data[forecast][24h][101140401]; }else if(cityName == 昌都){ list = data[forecast][24h][101140501][1001001]; gxsjlist = data[forecast][24h][101140501]; }else if(cityName == 那曲){ list = data[forecast][24h][101140601][1001001]; gxsjlist = data[forecast][24h][101140601]; }else if(cityName == 阿里){ list = data[forecast][24h][101140701][1001001]; gxsjlist = data[forecast][24h][101140701]; }else{ return true; } 先删除再添加 $(#wlqt li).remove(); for (var i = 1; i var area = 101140101; var type = forecast; var key = 2747cd9bd54a0f05409b3023e1f65d9e; 返回天气数组匹配 var wearthList = [{code:00,status:晴},{code:01,status:多云},{code:02,status:阴},{code:03,status:阵雨},{code:04,status:雷阵雨},{code:05,status:雷阵雨伴有冰雹},{code:06,status:雨夹雪},{code:07,status:小雨},{code:08,status:中雨},{code:09,status:大雨},{code:10,status:暴雨},{code:11,status:大暴雨},{code:12,status:特大暴雨},{code:13,status:阵雪},{code:14,status:小雪},{code:15,status:中雪},{code:16,status:大雪},{code:17,status:暴雪},{code:18,status:雾},{code:19,status:冻雨},{code:20,status:沙尘暴},{code:21,status:小到中雨},{code:22,status:中到大雨},{code:23,status:大到暴雨},{code:24,status:暴雨到大暴雨},{code:25,status:大暴雨到特大暴雨},{code:26,status:小到中雪},{code:27,status:中到大雪},{code:28,status:大到暴雪},{code:29,status:浮尘},{code:30,status:扬沙},{code:31,status:强沙尘暴},{code:53,status:霾},{code:99,status:无},{code:32,status:浓雾},{code:49,status:强浓雾},{code:54,status:中度霾},{code:55,status:重度霾},{code:56,status:严重霾},{code:57,status:大雾},{code:58,status:特强浓雾},{code:301,status:雨},{code:302,status:雪}]; 返回风向 var fxcode = [{fxcodeid:0,status:无持续风向},{fxcodeid:1,status:东北风},{fxcodeid:2,status:东风},{fxcodeid:3,status:东南风},{fxcodeid:4,status:南风},{fxcodeid:5,status:西南风},{fxcodeid:6,status:西风},{fxcodeid:7,status:西北风},{fxcodeid:8,status:北风},{fxcodeid:9,status:旋转风}]; 返回风力 var flcode = [{code:0,status:微风},{code:1,status:3-4级},{code:2,status:4-5级},{code:3,status:5-6级},{code:4,status:6-7级},{code:5,status:7-8级},{code:6,status:8-9级},{code:7,status:9-10级},{code:8,status:10-11级},{code:9,status:11-12级}]; 返回天气图片 var tqimg = [{code:00,img:00.png},{code:01,img:01.png},{code:02,img:02.png},{code:03,img:03.png},{code:04,img:04.png},{code:05,img:05.png},{code:06,img:06.png},{code:07,img:07.png},{code:08,img:08.png},{code:09,img:09.png},{code:10,img:10.png},{code:11,img:11.png},{code:12,img:12.png},{code:13,img:13.png},{code:14,img:14.png},{code:15,img:15.png},{code:16,img:16.png},{code:17,img:17.png},{code:18,img:18.png},{code:19,img:19.png},{code:20,img:20.png},{code:21,img:21.png},{code:22,img:22.png},{code:23,img:23.png},{code:24,img:24.png},{code:25,img:25.png},{code:26,img:26.png},{code:27,img:27.png},{code:28,img:28.png},{code:29,img:29.png},{code:30,img:30.png},{code:31,img:31.png},{code:53,img:53.png},{code:99,img:99.png},{code:32,img:32.png},{code:49,img:49.png},{code:54,img:54.png},{code:55,img:55.png},{code:56,img:56.png},{code:57,img:57.png},{code:58,img:58.png},{code:301,img:301.png},{code:302,img:302.png}]; 获取当前时间 var myDate = new Date; var year = myDate.getFullYear(); 获取当前年 var mon = myDate.getMonth() + 1; 获取当前月 var date = myDate.getDate(); 获取当前日 var h = myDate.getHours();获取当前小时数(0-23) var m = myDate.getMinutes();获取当前分钟数(0-59) var s = myDate.getSeconds();获取当前秒 var week = myDate.getDay(); var weeks = [星期日, 星期一, 星期二, 星期三, 星期四, 星期五, 星期六]; $.ajax({ url : http:api.weatherdt.comcommon, data:{area:area,type:type,key:key}, dataType : jsonp, header:{ formdata:1 }, success : function(data) { MoreThanSevenDay(); var list = data[forecast][24h][101140101][1001001]; var gxsjlist = data[forecast][24h][101140101]; 先取第一天的天气 for(var i=0;i

大小:54.9892578125 KB

耗时:0.298109 秒(DNS:0.117088秒,连接:0.146764秒)

服务器IP:111.205.114.131

端口:80

百度来路:55 ~ 82

百度PC权重:0 (IP:8 ~ 12)

百度移动权重:1 (IP:47 ~ 70)

最后更新时间:2022-05-02 05:26:54

By None By None 发布于:2022-05-02 地区:未知地区

本页面网站信息由AI程序/用户上传完成收录,有侵权或违规信息请联系QQ543896726处理!


上一个:太原装修设计公司-太原装修报价-太原室内装修-土拨鼠阳泉装修网

下一个:漳州网_漳州新闻网_福建漳州门户网-闽南网