pages.json 7.1 KB
{
	"easycom": {
		"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
	},
	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
		{
			"path": "pages/index/index",
			"style": {
				"navigationBarTitleText": "",
				"navigationBarBackgroundColor": "#FF2F2F",
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		}, {
			"path": "pages/me/me",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false,
				"navigationStyle": "custom"
			}
		},
		{
			"path": "pages/index/login",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false,
				"navigationStyle": "custom"
			}
		},{
			"path": "pages/shopping/shopping",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false
			}

		}, {
			"path": "pages/class/class",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false
			}

		}, {
			"path": "pages/index/searchPage",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/index/search-result",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/index/goodDeatil",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/index/evaluate",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/me/user-center",
			"style": {
				"navigationBarTitleText": "个人中心",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/me/agree-info",
			"style": {
				"navigationBarTitleText": "商家信息",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/order/order-list",
			"style": {
				"navigationBarTitleText": "我的订单",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/order/settle-Order",
			"style": {
				"navigationBarTitleText": "订单详情",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/order/sen-order-detail",
			"style": {
				"navigationBarTitleText": "订单详情",
				"navigationStyle":"custom",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/order/self-order-detail",
			"style": {
				"navigationBarTitleText": "订单详情",
				"enablePullDownRefresh": false,
				"navigationStyle":"custom",
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/order/wait-receiving",
			"style": {
				"navigationBarTitleText": "订单详情",
				"enablePullDownRefresh": false,
				"navigationStyle": "custom",
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/me/my-address",
			"style": {
				"navigationBarTitleText": "我的收货地址",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/me/add-address",
			"style": {
				"navigationBarTitleText": "添加地址",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/me/my-evaluate",
			"style": {
				"navigationBarTitleText": "我的评价",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/order/evaluate",
			"style": {
				"navigationBarTitleText": "我的评价",
				"navigationBarTextStyle":"white",
				"enablePullDownRefresh": false,
				"navigationBarBackgroundColor":"#FF2F2F",
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/me/look-evaluate",
			"style": {
				"navigationBarTitleText": "我的评价",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/me/my-collect",
			"style": {
				"navigationBarTitleText": "我的收藏",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		// 管理员
		{
			"path": "pages/admin-order/all-order",
			"style": {
				"navigationBarTitleText": "我的订单",
				"enablePullDownRefresh": false,
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/admin-user/admin-user",
			"style": {
				"navigationBarTitleText": "我的订单",
				"enablePullDownRefresh": false,
				"navigationStyle": "custom",
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/admin-order/send-order-detail",
			"style": {
				"navigationBarTitleText": "订单详情",
				"enablePullDownRefresh": false,
				"navigationStyle": "custom",
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		},
		{
			"path": "pages/admin-order/self-order-detail",
			"style": {
				"navigationBarTitleText": "订单详情",
				"enablePullDownRefresh": false,
				"navigationStyle": "custom",
				"usingComponents": {
					"van-search": "/wxcomponents/vant/dist/search/index"
				}
			}
		}
	],
	"tabBar": {
		"color": "#969799",
		"selectedColor": "#FF2F2F",
		"borderStyle": "black",
		"backgroundColor": "#ffffff",
		"list": [{
				"pagePath": "pages/index/index",
				"text": "首页",
				"iconPath": "/static/shouye-@2x.png",
				"selectedIconPath": "/static/ic_12@2x.png"
			},
			{
				"pagePath": "pages/class/class",
				"text": "分类",
				"iconPath": "/static/ic_13@2x.png",
				"selectedIconPath": "/static/selclass.png"
			},
			{
				"pagePath": "pages/shopping/shopping",
				"text": "购物车",
				"iconPath": "/static/ic_14@2x.png",
				"selectedIconPath": "/static/selshopping.png"
			},
			{
				"pagePath": "pages/me/me",
				"text": "我的",
				"iconPath": "/static/ic_15@2x.png",
				"selectedIconPath": "/static/ic_grzx@2x.png"
			}
		]
	},
	"permission": {
		"scope.userLocation": {
			"desc": "你的位置信息将用于小程序位置接口的效果展示"
		}
	},
	"globalStyle": {
		"navigationBarTextStyle": "black",
		"navigationBarTitleText": "",
		"navigationBarBackgroundColor": "#F8F8F8",
		"backgroundColor": "#F8F8F8"
	}
}