const config = {
    baseURL: 'http://localhost:8000/',
    tabbarList: [
		{
			pagePath: "/pages/index/index",
			text: "首页",
			icon: "home",
			activeIcon: "home-filled",
			badge: 0
		},
		{
			pagePath: "/pages/account/bill/index",
			text: "账单",
			icon: "list",
			activeIcon: "list",
			badge: 0
		},
		{
			pagePath: "/pages/account/statistics/index",
			text: "统计",
			icon: "color-filled",
			activeIcon: "color-filled",
			badge: 0
		},
		{
			pagePath: "/pages/ucenter/index/index",
			text: "我的",
			icon: "person",
			activeIcon: "person-filled",
			badge: 0
		}
	],
    whitelist: [
        '/pages/ucenter/login/index',
        '/pages/ucenter/register/index',
        '/pages/ucenter/agreement/user',
        '/pages/ucenter/agreement/privacy',
    ]
}

import devConfig from './dev.config.js'
if (process.env.NODE_ENV === 'development') {
    Object.assign(config, devConfig)
}

export default config
