//获取系统信息 
export const getSystemInfoSync = uni.getSystemInfoSync();
//获取系统状态栏的高度
export const statusBarHeight = getSystemInfoSync.statusBarHeight;
// 小程序的胶囊
export const getMenuButtonBoundingClientRect = (uni.getMenuButtonBoundingClientRect && uni
	.getMenuButtonBoundingClientRect()) || null;
//获取系统导航栏高度
export const CustomBarHeight = getMenuButtonBoundingClientRect ? getMenuButtonBoundingClientRect.bottom +
	getMenuButtonBoundingClientRect.top - statusBarHeight : statusBarHeight + 50;


// 主包导航栏
export const barList = [{
		label: '首页',
		page: 'pages/index/index',
		icon: 'cuIcon-home',
		image: ''
	},
	{
		label: '商品',
		page: 'pages/commodity/index',
		icon: 'cuIcon-similar',
		image: ''
	},
	{
		label: '分销中心',
		page: 'pages/distribution/index',
		cloned:"pages/distributionShop/index",
		icon: 'cuIcon-fork',
		image: '',
		type:"navigateTo"
	},
	{
		label: '购物车',
		page: 'pages/shoppingCart/index',
		icon: 'cuIcon-cart',
		image: ''
	},
	{
		label: '我的',
		page: 'pages/login/index',
		icon: 'cuIcon-people',
		image: ''
	}
]
