pages.json 2.19 KB
{
	"easycom": {
		"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue",
		"global-loading": "@/components/GlobalLoading/index.vue"
	},
	"pages": [
		// pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
		{
			"path": "pages/tabbar/index/index",
			"style": {
				"navigationStyle": "custom"
			}
		}

	],
	"subpackages": [{
				"root": "pages_category_page1",
				"pages": [
						{
								"path": "question/question",
								"style": {
								"navigationStyle":"custom"
								}
							},
							{
									"path": "question/succe",
									"style": {
									"navigationStyle":"custom"
									}
								}
					
				]
}],
		
	// 配置文档 https://uniapp.dcloud.io/collocation/pages?id=subpackages
	"preloadRule": {
		"pages_category_page1/search/index/index": {
			"network": "all",
			"packages": ["pages_category_page1"]
		},
		"pages_category_page1/goodsModule/inviteSpell": {
			"network": "all",
			"packages": ["pages_category_page1"]
		},
		"pages_category_page1/goodsModule/invitePoster": {
			"network": "all",
			"packages": ["pages_category_page1"]
		},
		"pages_category_page1/orderModule/orderDetails": {
			"network": "all",
			"packages": ["pages_category_page1"]
		}
	},
	"globalStyle": {
		"navigationBarTextStyle": "black",
		"navigationBarTitleText": "问卷调查",
		"navigationBarBackgroundColor": "#fff",
		 "titleNView": false, // 去除App、H5的顶部导航
		  "navigationStyle": "custom",//去除小程序顶部导航栏
		"backgroundColor": "#F8F8F8",
		"mp-weixin": {
			"usingComponents": {
				"send-coupon": "plugin://sendCoupon/send-coupon"
			}
		}
	},
	"tabBar": {
		"borderStyle": "black",
		"backgroundColor": "#fff",
		"color": "#CCCCCC",
		"selectedColor": "#39be7a",
		"list": [{
				"pagePath": "pages/tabbar/index/index",
				"iconPath": "static/images/tabbar/home.png",
				"selectedIconPath": "static/images/tabbar/homeactive.png",
				"text": "首页"
			}
		]
	},
	"condition": { //模式配置,仅开发期间生效
		"current": 0, //当前激活的模式(list 的索引项)
		"list": [{
			"name": "", //模式名称
			"path": "", //启动页面,必选
			"query": "" //启动参数,在页面的onLoad函数里面得到
		}]
	}
}