diff --git a/templates/index.html b/templates/index.html index 661b0cc..07dbc0a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -496,6 +496,7 @@ 风速 (m/s) 风向 (°) 雨量 (mm) + 降水概率 (%) 光照 (lux) 紫外线 @@ -1467,6 +1468,7 @@ ${item.wind_speed !== null && item.wind_speed !== undefined ? item.wind_speed.toFixed(2) : '-'} ${item.wind_direction !== null && item.wind_direction !== undefined ? item.wind_direction.toFixed(2) : '-'} ${item.rainfall !== null && item.rainfall !== undefined ? item.rainfall.toFixed(3) : '-'} + ${item.source === '预报' && item.precip_prob !== null && item.precip_prob !== undefined ? item.precip_prob : '-'} ${item.light !== null && item.light !== undefined ? item.light.toFixed(2) : '-'} ${item.uv !== null && item.uv !== undefined ? item.uv.toFixed(2) : '-'} `;