{
	"easycom": {
		"autoscan": true,
		"custom": {
			"^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
			"^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
			"^u-(.*)": "uview-plus/components/u-$1/u-$1.vue",
			"^image-preview$": "@/components/common/ImagePreview.vue"
		}
	},
	"pages": [
		{
			"path": "pages/index/index",
			"style": {
				"navigationStyle": "custom",
				"navigationBarTitleText": "首页"
			}
		},
		{
			"path": "pages/category/index",
			"style": {
				"navigationBarTitleText": "分类"
			}
		},
		{
			"path": "pages/cart/index",
			"style": {
				"navigationBarTitleText": "购物车"
			}
		},
		{
			"path": "pages/mine/index",
			"style": {
				"navigationBarTitleText": "我的"
			}
		},
		{
			"path": "pages/login/index",
			"style": {
				"navigationBarTitleText": "登录",
				"navigationStyle": "custom"
			}
		}
	],
	"subPackages": [
		{
			"root": "subpackage/account",
			"name": "pkg-account",
			"pages": [
				{
					"path": "register",
					"style": {
						"navigationBarTitleText": "会员注册"
					}
				},
				{
					"path": "profile",
					"style": {
						"navigationBarTitleText": "个人资料"
					}
				},
				{
					"path": "password",
					"style": {
						"navigationBarTitleText": "修改密码"
					}
				},
				{
					"path": "address-list",
					"style": {
						"navigationBarTitleText": "收货地址"
					}
				},
				{
					"path": "address-edit",
					"style": {
						"navigationBarTitleText": "编辑地址"
					}
				},
				{
					"path": "entry-apply",
					"style": {
						"navigationBarTitleText": "商家入驻",
						"navigationStyle": "custom"
					}
				},
				{
					"path": "entry-list",
					"style": {
						"navigationBarTitleText": "我的入驻申请",
						"navigationStyle": "custom"
					}
				},
				{
					"path": "entry-detail",
					"style": {
						"navigationBarTitleText": "申请详情",
						"navigationStyle": "custom"
					}
				},
				{
					"path": "shop-follow-list",
					"style": {
						"navigationBarTitleText": "我的店铺关注",
						"navigationStyle": "custom"
					}
				},
				{
					"path": "message-list",
					"style": {
						"navigationBarTitleText": "站内消息"
					}
				},
				{
					"path": "message-detail",
					"style": {
						"navigationBarTitleText": "消息详情"
					}
				},
				{
					"path": "about-mall",
					"style": {
						"navigationBarTitleText": "关于商城"
					}
				}
			]
		},
		{
			"root": "subpackage/category",
			"name": "pkg-category",
			"pages": [
				{
					"path": "level1",
					"style": {
						"navigationBarTitleText": "分类商品"
					}
				},
				{
					"path": "goods-list",
					"style": {
						"navigationBarTitleText": "商品列表"
					}
				}
			]
		},
		{
			"root": "subpackage/goods",
			"name": "pkg-goods",
			"pages": [
				{
					"path": "detail",
					"style": {
						"navigationBarTitleText": "商品详情"
					}
				},
				{
					"path": "reviews",
					"style": {
						"navigationBarTitleText": "全部评价"
					}
				}
			]
		},
		{
			"root": "subpackage/search",
			"name": "pkg-search",
			"pages": [
				{
					"path": "index",
					"style": {
						"navigationBarTitleText": "搜索"
					}
				},
				{
					"path": "result",
					"style": {
						"navigationBarTitleText": "搜索结果"
					}
				}
			]
		},
		{
			"root": "subpackage/order",
			"name": "pkg-order",
			"pages": [
				{
					"path": "checkout",
					"style": {
						"navigationBarTitleText": "确认订单"
					}
				},
				{
					"path": "checkout-cart",
					"style": {
						"navigationBarTitleText": "确认订单"
					}
				},
				{
					"path": "pay-result",
					"style": {
						"navigationBarTitleText": "支付结果"
					}
				},
				{
					"path": "list",
					"style": {
						"navigationBarTitleText": "我的订单"
					}
				},
				{
					"path": "detail",
					"style": {
						"navigationBarTitleText": "订单详情"
					}
				},
				{
					"path": "review-list",
					"style": {
						"navigationBarTitleText": "我的评价"
					}
				},
				{
					"path": "review-edit",
					"style": {
						"navigationBarTitleText": "发表评价"
					}
				},
				{
					"path": "review-view",
					"style": {
						"navigationBarTitleText": "查看评价"
					}
				},
				{
					"path": "aftersale-list",
					"style": {
						"navigationBarTitleText": "退款/售后"
					}
				},
				{
					"path": "aftersale-detail",
					"style": {
						"navigationBarTitleText": "售后详情"
					}
				},
				{
					"path": "aftersale-submit",
					"style": {
						"navigationBarTitleText": "申请售后"
					}
				}
			]
		},
		{
			"root": "subpackage/shop",
			"name": "pkg-shop",
			"pages": [
				{
					"path": "index",
					"style": {
						"navigationBarTitleText": "店铺"
					}
				},
				{
					"path": "search",
					"style": {
						"navigationBarTitleText": "搜本店商品"
					}
				}
			]
		}
	],
	"preloadRule": {
		"pages/index/index": {
			"network": "all",
			"packages": ["pkg-category", "pkg-goods", "pkg-search", "pkg-shop"]
		},
		"pages/category/index": {
			"network": "all",
			"packages": ["pkg-category", "pkg-goods"]
		},
		"pages/mine/index": {
			"network": "all",
			"packages": ["pkg-account", "pkg-order"]
		},
		"subpackage/goods/detail": {
			"network": "all",
			"packages": ["pkg-order"]
		},
		"pages/cart/index": {
			"network": "all",
			"packages": ["pkg-order"]
		}
	},
	"globalStyle": {
		"navigationBarTextStyle": "black",
		"navigationBarTitleText": "农资商城",
		"navigationBarBackgroundColor": "#FFFFFF",
		"backgroundColor": "#F5F5F5"
	},
	"tabBar": {
		"color": "#999999",
		"selectedColor": "#2E7D32",
		"borderStyle": "black",
		"backgroundColor": "#FFFFFF",
		"list": [
			{
				"pagePath": "pages/index/index",
				"text": "首页",
				"iconPath": "static/tabbar/home.png",
				"selectedIconPath": "static/tabbar/home-active.png"
			},
			{
				"pagePath": "pages/category/index",
				"text": "分类",
				"iconPath": "static/tabbar/classify.png",
				"selectedIconPath": "static/tabbar/classify-active.png"
			},
			{
				"pagePath": "pages/cart/index",
				"text": "购物车",
				"iconPath": "static/tabbar/shopping.png",
				"selectedIconPath": "static/tabbar/shopping-active.png"
			},
			{
				"pagePath": "pages/mine/index",
				"text": "我的",
				"iconPath": "static/tabbar/mine.png",
				"selectedIconPath": "static/tabbar/mine-active.png"
			}
		]
	},
	"uniIdRouter": {}
}
