pages.json 2.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": "首页",
			"navigationStyle": "custom"
		  }
		},
		{
		  "path": "pages/filtrate/performanceCalender",
		  "style": {
		    "navigationBarTitleText": "演出日历"
		  }
		},
		{
		  "path": "pages/optimization/dramaOptimization",
		  "style": {
		    "navigationBarTitleText": "大戏优选"
		  }
		},
		{
		  "path": "pages/my/my",
		  "style": {
		    "navigationBarTitleText": "我的"
		  }
		}
	],
	"tabBar": {
	  "color": "#7A7E83",
	  "selectedColor": "#FF324B", //tab 上的文字选中时的颜色
	  "borderStyle": "white", //tabbar 上边框的颜色,可选值 black/white
	  "backgroundColor": "#fff", //tab的背景色
	  "list": [{
	    "pagePath": "pages/index/index", //页面路径,必须在pages中先定义
	    "iconPath": "static/2-1筛选-分类/ic-tabbar-home-n@2x.png", //未选中图片路径
	    "selectedIconPath": "static/1-1首页/ic-tabbar-home-s@2x.png", //选中时的图片路径
	    "text": "首页" //tab上按钮文字
	  }, {
	    "pagePath": "pages/filtrate/performanceCalender",
	    "iconPath": "static/1-1首页/ic-tabbar-find-n@2x.png",
	    "selectedIconPath": "static/2-1筛选-分类/ic-tabbar-find-s@2x.png",
	    "text": "演出日历"
	  }, {
	    "pagePath": "pages/optimization/dramaOptimization",
	    "iconPath": "static/1-1首页/ic-tabbar-oder-n@2x.png",
	    "selectedIconPath": "static/3-1大戏优选/ic-tabbar-oder-s@2x.png",
	    "text": "大戏优选"
	  }, {
	    "pagePath": "pages/my/my",
	    "iconPath": "static/1-1首页/ic-tabbar-my-n@2x.png",
	    "selectedIconPath": "static/4-1我的/ic-tabbar-home-s@2x.png",
	    "text": "我的"
	  }]
	},
	"globalStyle": {
		"navigationBarTextStyle": "black",
		"navigationBarTitleText": "uni-app",
		"navigationBarBackgroundColor": "#F8F8F8",
		"backgroundColor": "#F8F8F8"
	},
	"uniIdRouter": {}
}