pages.json 2.7 KB
{
	"easycom": {
		"autoscan": true,
		"custom": {
			"^uv-(.*)": "@climblee/uv-ui/components/uv-$1/uv-$1.vue"
		}
	},
	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
		{
			"path": "pages/index/index",
			"style": {
				"navigationBarTitleText": "uni-app"
			}
		}, {
			"path": "pages/shopping/shopping",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false
			}

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

		}, {
			"path": "pages/mine/mine",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false,
				"navigationStyle": "custom"
			}
		}, {
			"path": "pages/mine/mine-popularityInfo/mine-popularityInfo",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false,
				"navigationStyle": "custom"
			}

		}, {
			"path": "pages/mine/mine-coupon/mine-coupon",
			"style": {
				"navigationBarTitleText": "我的卡券",
				"enablePullDownRefresh": false,
				"navigationBarBackgroundColor": "#fff"
			}

		}
	],
	"globalStyle": {
		"navigationBarTextStyle": "black",
		"navigationBarTitleText": "uni-app",
		"navigationBarBackgroundColor": "#F8F8F8",
		"backgroundColor": "#F8F8F8"
	},
	"uniIdRouter": {},
	"tabBar": {
		"color": "#858E97",
		"selectedColor": "#004F90", //tab 上的文字选中时的颜色
		"borderStyle": "white", //tabbar 上边框的颜色,可选值 black/white
		"backgroundColor": "#ffffff", //tab的背景色
		"list": [{
				"pagePath": "pages/index/index", //页面路径,必须在pages中先定义
				"iconPath": "static/images/tabbar/home.png", //未选中图片路径
				"selectedIconPath": "static/images/tabbar/home-active.png", //选中时的图片路径
				"text": "首页" //tab上按钮文字
			},
			{
				"pagePath": "pages/shopping/shopping",
				"iconPath": "static/images/tabbar/service.png", //未选中图片路径
				"selectedIconPath": "static/images/tabbar/service-active.png", //选中时的图片路径
				"text": "超级泡泡"
			},
			{
				"pagePath": "pages/bubbles/bubbles", //页面路径,必须在pages中先定义
				"iconPath": "static/images/tabbar/forum.png", //未选中图片路径
				"selectedIconPath": "static/images/tabbar/forum-active.png", //选中时的图片路径
				"text": "购物袋" //tab上按钮文字
			},
			{
				"pagePath": "pages/mine/mine", //页面路径,必须在pages中先定义
				"iconPath": "static/images/tabbar/mine.png", //未选中图片路径
				"selectedIconPath": "static/images/tabbar/mine-active.png", //选中时的图片路径
				"text": "我的" //tab上按钮文字
			}
		]
	}
}