<script>
	var md5 = require("./common/md5.js");
	export default {
		globalData: {  //https://stock.xazhima.com/
		    shareUrl:'https://kano.xazhima.com/api/api.php',
			//shareUrl: 'https://fenxiao.xazhima.com/api/api.php', //开发环境全局接口域名 线上:https://f.xazhima.com/api/api.php
			globalTimestamp: (Date.now()).toString(),
			user_id: '',
			openId:'',
			isAuth:true,
			session_key: '',
			isAndroid:Boolean,
			isIos:false,
			userPhone:'',
			userCodeNumber:'',
			managerName:'',
			managerPhone:'',
			addTime:'',
		},
		onLaunch: function() {
			uni.hideTabBar({})
			console.log('App Launch')
		    // let equType = uni.getSystemInfoSync().platform;
			//  switch(equType){
			//     case 'android':
			//        console.log('运行Android上')
			//        break;
			//     case 'ios':
			//        console.log('运行iOS上');
			//        setTimeout(()=>{
			// 		  getApp().globalData.isIos = true 
			// 	   },100)
			//        break;
			//     default:
			//        console.log('运行在开发者工具上')
			//        break;
			// }
		},
		onShow: function() {
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods:{
		},
	}
</script>

<style>
	/*每个页面公共css */
	 /* @import './common/uni.css'; */
	page {
		height: 100%;
		/* background: #fff; */
	}
</style>
