Blame view

App.vue 441 Bytes
46b6767c   刘淇   init 提交到库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  <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;
6cba22de   刘淇   图片上传
20
    color: #333;
46b6767c   刘淇   init 提交到库
21
22
23
  }
  @import './components/thorui/fui-css/firstui.scss';
  </style>