<script>
export default {
	onLaunch() {
		// 系统设置
		uni.request({
			url: 'https://restapi.amap.com/v3/weather/weatherInfo?city=110102&key=e23d20f3155b79e60cdb6d89ad403d78',
			success: (res) => {
				if (res.data.status == 1) {
					this.setConfig(res.data.lives[0])
				}
			}
		})
	}
}
</script>

<style lang="scss">
page {
	background-color: #F4F4F4;
}
@import './components/thorui/fui-css/firstui.scss';
</style>
