
<script>
import { getHotelList } from '@/utils/api.js'
	export default {
		async mounted(){
			let data = await getHotelList()
            this.$store.commit('setHotelIdList', data.result.records)
			console.log(this.$store.state.hotelIdList);
			this.$store.commit('setHotelId', data.result.records[0].id)
		},
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
