用HBuilder建立查询天气的网页

查询天气
	<div class="container">
		<h2>测试天气查询</h2>
		<div class="input-group">
			<input type="text" id="city" placeholder="请输入城市(如:上海)"value="烟台"/>
			<button onclick="queryweather()">查询</button>
		</div>
		<div id="result" class="weather-box"></div>
	</div>
</body>
posted @ 2025-11-15 16:42  郗佳慧  阅读(1)  评论(0)    收藏  举报