import store from '../../store'
export function navList() {
	return [{
			label: "tabBar.首页",
			url: "/pages/index/index",
			icon: "/static/tabBar/home.png",
			activeIcon: "/static/tabBar/home-index.png",
			num: 0
		},
		{
			label: "tabBar.订单",
			url: "/pages/order/index",
			icon: "/static/tabBar/order.png",
			activeIcon: "/static/tabBar/order-index.png",
			num: 0
		},
		{
			label: "tabBar.捡漏",
			url: "/pages/leaks/index",
			icon: "/static/tabBar/leaks.png",
			activeIcon: "/static/tabBar/leaks-index.png",
			num: store.state.user.orderNumber
		},
		{
			label: "tabBar.我的",
			url: "/pages/user/user",
			icon: "/static/tabBar/user.png",
			activeIcon: "/static/tabBar/user-index.png",
			num: 0
		},
	];
}