pages.json 4.53 KB
{
	"easycom": {
		"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
	},
	"pages": [{
			"path": "pages/index/splash",
			"style": {
				"navigationBarTitleText": "",
				"disableScroll": true,
				"app-plus": {
					"titleNView": false
				}
			}
		},
		{
			"path": "pages/index/index",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": true
			}
		},
		{
			"path": "pages/device/device",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "pages/alarm/alarm",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "pages/personal/personal",
			"style": {
				"navigationBarTitleText": "",
				"disableScroll": true
			}
		},
		{
			"path": "pages/index/components/camera/camera",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "pages/index/components/configuration/configuration",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "pages/index/components/configuration/configuration-detail",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "pages/organization/organization",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "pages/index/components/visualBoard/index",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "pages/index/components/visualBoard/detail",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "pages/index/components/largeScreen/index",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "pages/index/components/largeScreen/detail",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "pages/personal/components/switchLocales",
			"style": {
				"navigationBarTitleText": ""
			}
		}
	],
	"subPackages": [{
			"root": "alarm-subpackage",
			"pages": [{
				"path": "alarm-detail/alarm-detail",
				"style": {
					"navigationBarTitleText": ""
				}
			}]
		},
		{
			"root": "device-subpackage",
			"pages": [{
					"path": "device-detail/device-detail",
					"style": {
						"navigationBarTitleText": ""
					}
				},
				{
					"path": "device-detail/components/command-detail",
					"style": {
						"navigationBarTitleText": ""
					}
				},
				{
					"path": "device-detail/device-position",
					"style": {
						"navigationBarTitleText": ""
					},
					"permission": {
						"scope.userLocation": {
							"desc": "如果没有位置信息则使用当前定位"
						}
					},
					"requiredPrivateInfos": [
						"getLocation"
					]
				}
			]
		},
		{
			"root": "sysnotify-subpackage",
			"pages": [{
					"path": "sys-notify/system-notify",
					"style": {
						"navigationBarTitleText": ""
					}
				},
				{
					"path": "sys-notify/notify-detail",
					"style": {
						"navigationBarTitleText": ""
					}
				}
			]
		},
		{
			"root": "feedback-subpackage",
			"pages": [{
				"path": "feedback/feedback",
				"style": {
					"navigationBarTitleText": ""
				}
			}]
		},
		{
			"root": "login-subpackage",
			"pages": [{
					"path": "public/login",
					"style": {
						"navigationBarTitleText": ""
					}
				},
				{
					"path": "other/set",
					"style": {
						"navigationBarTitleText": ""
					}
				},
				{
					"path": "other/code",
					"style": {
						"navigationBarTitleText": ""
					}
				},
				{
					"path": "other/find-password",
					"style": {
						"navigationBarTitleText": ""
					}
				}
			]
		}
	],
	"globalStyle": {
		"navigationBarTextStyle": "black",
		"navigationBarTitleText": "ThingsKit",
		"navigationBarBackgroundColor": "#FFFFFF",
		"backgroundColor": "#FFFFFF",
		"backgroundColorTop": "#FFFFFF"
	},
	"tabBar": {
		"color": "#000000",
		"selectedColor": "#377dff",
		"borderStyle": "black",
		"backgroundColor": "#606266",
		"list": [{
				"pagePath": "pages/index/index",
				"iconPath": "static/home-un.png",
				"selectedIconPath": "static/home-yes.png",
				"text": "首页"
			},
			{
				"pagePath": "pages/device/device",
				"iconPath": "static/device-un.png",
				"selectedIconPath": "static/device-yes.png",
				"text": "设备"
			},
			{
				"pagePath": "pages/alarm/alarm",
				"iconPath": "static/alert-un.png",
				"selectedIconPath": "static/alert-yes.png",
				"text": "告警"
			},
			{
				"pagePath": "pages/personal/personal",
				"iconPath": "static/my-un.png",
				"selectedIconPath": "static/my-yes.png",
				"text": "我的"
			}
		]
	}
}