(资料图片仅供参考)
1、中国天气网新闻 2023年2月28日16时45分,北京市气象台发布大风蓝色预警信号:预计3月1日08时至18时,全市大部分地区将有3个、4级偏北风,阵风7级左右,请注意防范。
2、var kind_arr = {"01":“台风预警” ,"02":暴雨预警 ,"03":暴雪预警 ,"04": 寒潮预警 ,"05": “大风预警” ,"06": “沙尘暴预警” ,"07": “高温预警” ,"08": “干旱预警” ,"09": “雷电预警” ,"10": 冰雹预警 ,"11": “霜冻预警” ,"12": ‘大雾预警’ ,"13": "霾预警" ,"14": “道路结冰预警” ,"51": ‘海雾预警’ ,"52": 雷暴大风预警 ,"53": 持续低温预警 ,"54": “浓浮尘预警” ,"55": “龙卷风预警” ,"56": 低温冻害预警 ,"57": “海上大风预警” ,"58": 低温雨雪冰冻预警 ,"59": “强对流预警” ,"60": 臭氧预警 ,"61": ‘大雪预警’ ,"62": “强降雨预警” ,"63": “强降温预警” ,"64": ‘雪灾预警’ ,"65": 森林(草原)火险预警 ,"66": 雷暴预警 ,"67": “严寒预警” ,"68": “沙尘预警” ,"69": ‘海上雷雨大风预警’ ,"70": ‘海上雷电预警’ ,"71": “海上台风预警” ,"72": “低温预警” ,"91": “寒冷预警” ,"92": “烟雾预警” ,"93": 雷暴大风预警 ,"94": 森林火险预警 ,"95": “降温预警” ,"96": “道路冰雪预警” ,"97": "干热风预警" ,"98": “空气污染预警” ,"99": “冰冻预警” };var grade_arr={"01":"蓝色","02":"黄色","03":"橙色","04":"红色"}function getKey(name,arr) { for (var key in arr) { if (name == arr[key]) { return key; } }}var kind_id=getKey(大风预警,kind_arr);var grade_id=getKey(蓝色,grade_arr);var $img=kind_id+""+grade_id;if (kind_id > 50) $img = "0000";if ($img != "0000") { $.ajax({ type: "GET", url: "http://www.weather.com.cn/data/alarminfo/" + $img + ".html", dataType: "script", cache: false, async: false, success: function() { if (typeof(alarmfyzn) != "undefined") { var strTable = "图例标准防御指南" + "" + "" + alarmfyzn[2] + "" + "" + alarmfyzn[3] + "
本文[高级伪原创标题]到此分享完毕,希望对大家有所帮助。