台湾十二月十八号至十二月二十五号台湾天气预报10天是多少度


实况排行
逐小时24小时
气温
降水
风速
数据来源于2569个国家级气象观测站
//
${element.city}
//
${element.province}
//
${fun(element.value)}
//
// `
var url = ''
if (element.sid) {
url = 'href="http://www.weather.com.cn/weather1d/'+ element.sid + '.shtml"'
}
html += '' +
'' + (index + 1) + '' +
'' + element.city + '' +
'' + element.province + '' +
'' + fun(element.value) + '' +
''
}
} else {
$('#' + domId + '_date_desc span').html(result[hour][type]['tips']);
var array = result[hour][type].info;
// console.log(type, result[hour])
for (var index = 0; index
//
${index + 1}
//
${element.city}
//
${element.province}
//
${fun(element.value)}
//
// `
var url = ''
if (element.sid) {
url = 'href="http://www.weather.com.cn/weather1d/'+ element.sid + '.shtml"'
}
html += '' +
'' + (index + 1) + '' +
'' + element.city + '' +
'' + element.province + '' +
'' + fun(element.value) + '' +
''
}
}
$('#' + domId + ' #data_detail').html(html);
}
function loadRankData(domId, type, hour, ymdh, list) {
$.ajax({
curType: 'GET',
url: 'http://d1.weather.com.cn/dataset/todayRank.html',
dataType: "jsonp",
jsonpCallback: "todayRank",
success: function (result) {
console.log('调用排行接口==', result)
if (hour == 'H1') {
var html2 = '', keyValue = '', count = 0
Object.keys(result.H1).map(function(key,index,arr){
// html2 += `${key.substr(6, 2)}日${key.substr(8, 2)}时`
html2 += '' + key.substr(6, 2) +'日' + key.substr(8, 2) +'时'
if (count == 0) {
keyValue = key;
}
count++;
})
// console.log(html2)
if (list != 'list2') {
$('#1h_list').html(html2);
}
if (ymdh == undefined) {
ymdh = keyValue;
}
handleData(result, '1h_qw', 'temp1H', 'H1', ymdh, function (v) {
return v >= 9999 ? '-' : (v.toFixed(1) + ' ℃');
});
handleData(result, '1h_js', 'rain1H', 'H1', ymdh, function (v) {
return v >= 9999 ? '-' : (v.toFixed(1) + ' mm');
});
handleData(result, '1h_fs', 'winS1H', 'H1', ymdh, function (v) {
return v >= 9999 ? '-' : (v.toFixed(1) + ' m/s');
});
} else {
handleData(result, 'r08_js', 'rain1D08', 'D1', $('#r08_js_ymdh').val(),
function (v) {
return v >= 9999 ? '-' : (v.toFixed(1) + ' mm');
});
handleData(result, 'r20_js', 'rain1D20', 'D1', $('#r20_js_ymdh').val(),
function (v) {
return v >= 9999 ? '-' : (v.toFixed(1) + ' mm');
});
handleData(result, 'ht_qw', 'tMax1D02', 'D1', $('#ht_qw_ymdh').val(),
function (v) {
return v >= 9999 ? '-' : (v.toFixed(1) + ' ℃');
});
handleData(result, 'lt_qw', 'tMin1D14', 'D1', $('#lt_qw_ymdh').val(),
function (v) {
return v >= 9999 ? '-' : (v.toFixed(1) + ' ℃');
});
}
}
})
}
// 最新实况排名,时间选择改变事件
$('#1h_list,#6h_list').change(function () {
var ymdh = $(this).val();
changeOrder2($('#sort_type > select').val(), ymdh, 'list2');
});
/* 实况排名tab点击交互效果 */
$("#content_type div").hover(
function () {
var $this = $(this);
var divId = $this.attr('data-id');
$(this).addClass("content_type_select").siblings().removeClass("content_type_select");
$('#' + divId).show().siblings().hide();
}, function () { });
气象服务天气预报电话查询
拨打12121或96121进行天气预报查询
手机查询
随时随地通过手机登陆中国天气WAP版查看各地天气资讯
}

我要回帖

更多关于 台湾天气预报10天 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信