调用相关API展示基本信息
因为接口需要付费所以模拟了几个接口
模拟接口使用了fastmock
七天的天气:https://www.fastmock.site/mock/42299cb93365921b15e4955cdbd2ed7d/weather519/sevenday
实时天气:https://www.fastmock.site/mock/42299cb93365921b15e4955cdbd2ed7d/weather519/nowweather
逐小时天气预报:https://www.fastmock.site/mock/42299cb93365921b15e4955cdbd2ed7d/weather519/weatherhours
今明两天天气:https://www.fastmock.site/mock/42299cb93365921b15e4955cdbd2ed7d/weather519/weathernowandtomorrow
生活指数:https://www.fastmock.site/mock/42299cb93365921b15e4955cdbd2ed7d/weather519/live
空气质量:https://www.fastmock.site/mock/42299cb93365921b15e4955cdbd2ed7d/weather519/weatherlevel
搜索实现了历史记录和选择城市,清空历史记录
使用了iconfont网站上面的图标
使用了jQuery
曲线使用了echarts
外联css
暂无亮点