<!-- <template>
	<view class="aaa">
		<image class="logo" src="/static/logo.png"></image>
	</view>
</template> -->
<script>
//import mqtt from 'mqtt/dist/mqtt.js'
export default {
  onLaunch: function () {
    //this.$root.connect()
    console.log(`App Launch`);
    //获取平台信息
    uni.getSystemInfo({
      success(res) {
        console.log(res);
        console.log(`平台信息 ${res.platform}`);
      },
    });
  },
  onShow: function () {
    console.log("App Show");
  },
  onHide: function () {
    console.log("App Hide");
  },
};
</script>

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