2025-02-09- JavaScript 系列八:第6課 ── 天氣查詢應用程式-步驟03
// WeatherQuery.vue:天氣查詢應用程式
  
    
天氣查詢應用程式
  
      天氣查詢
    
<div v-if="weatherInfo">
  <p>天氣現象:{{ weatherInfo.description }}</p>
  <p>最高溫度:{{ weatherInfo.maxTemp }}°C</p>
  <p>最低溫度:{{ weatherInfo.minTemp }}°C</p>
  <p>降雨機率:{{ weatherInfo.rain }}%</p>
</div>