<!-- <template>
	<view class="aaa">
		<image class="logo" src="/static/logo.png"></image>
	</view>
</template> -->
<script>
	//import mqtt from 'mqtt/dist/mqtt.js'
	export default {
		onLoad() {
			//连接mqtt服务器
			//this.$root.connect()
			console.log('App Load')
		},
		onLaunch: function() {
			//连接mqtt服务器
			//this.$root.connect()
			console.log(`App Launch`)
			//this.$store.commit('connect')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},

	}
</script>

<style>
	/*每个页面公共css */
	/* .aaa{
		background: #2C3E50;
	} */
	
</style>
