pages.json 3.26 KB
Newer Older
xinzhedeai's avatar
xinzhedeai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
{
	"leftWindow": {
		"path": "windows/left-window.vue",
		"style": {
			"width": "350px"
		}
	},
	"topWindow": {
		"path": "windows/top-window.vue",
		"style": {
			"height": "60px"
		}
	},
	"pages": [
		// pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
		{
			"path" : "pages/home/home",
			"style" : 
			{
				"navigationBarTitleText" : ""
			}
		},
		{
			"path" : "pages/home/importFile",
			"style" : 
			{
				"navigationBarTitleText" : "导入文件"
			}
		},
		{
			"path" : "pages/home/importFileDataPreview",
			"style" : 
			{
				"navigationBarTitleText" : "导入文件数据预览"
			}
		},
		{
			"path" : "pages/home/blueTest",
			"style" : 
			{
				"navigationBarTitleText" : "设备测试"
			}
		},
		{
			"path" : "pages/home/blueSearch",
			"style" : 
			{
				"navigationBarTitleText" : "蓝牙扫描"
			}
		},
		{
			"path" : "pages/home/blueMeasure",
			"style" : 
			{
				"navigationBarTitleText" : "孔测量"
			}
		},
58 59 60 61 62 63 64 65
		{
			"path" : "pages/home/operateLog",
			"style" : 
			{
				"navigationBarTitleText" : "操作日志"
			}
		},
		
xinzhedeai's avatar
xinzhedeai committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
		// {
		// 	"path": "pages/tabBar/component/comm",
		// 	"style": {
		// 		"navigationBarTitleText": "bluetooth",
		// 		"enablePullDownRefresh": true
		// 	}
		// },
		// {
		// 	"path": "pages/tabBar/component/component111",
		// 	"style": {
		// 		"navigationBarTitleText": "列表到详情示例",
		// 		"enablePullDownRefresh": true
		// 	}
		// },
		{
			"path": "pages/tabBar/component/component",
			"style": {
			}
		},{
			"path": "pages/tabBar/template/template",
			"style": {
			}
		},
		{
			"path" : "pages/user/login",
			"style" : 
			{
93
				"navigationBarTitleText" : "微信授权登录"
xinzhedeai's avatar
xinzhedeai committed
94
			}
95 96 97 98 99 100 101
		},
		{
			"path" : "pages/home/paokongceliang",
			"style" : 
			{
				"navigationBarTitleText" : ""
			}
xinzhedeai's avatar
xinzhedeai committed
102
		}
103
		
xinzhedeai's avatar
xinzhedeai committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
	
],
	"globalStyle": {
		"pageOrientation": "portrait",
		"navigationStyle": "custom",
		"navigationBarTitleText": "Hello uniapp",
		"navigationBarTextStyle": "white",
		"navigationBarBackgroundColor": "#007AFF",
		"backgroundColor": "#F8F8F8",
		"backgroundColorTop": "#F4F5F6",
		"backgroundColorBottom": "#F4F5F6",
		
		"mp-360": {
			"navigationStyle": "custom"
		},
		"h5": {
			"maxWidth": 1190,
			"navigationBarTextStyle": "black",
			"navigationBarBackgroundColor": "#007AFF",
			"navigationBarTextStyle": "white"
		}

	},
	"tabBar": {
		// "custom": true,
		"color": "#7A7E83",
		"selectedColor": "#007AFF",
		"borderStyle": "black",
		"backgroundColor": "#F8F8F8",
		"list": [{
				"pagePath": "pages/home/home",
				"iconPath": "static/component.png",
				"selectedIconPath": "static/componentHL.png",
				"text": "内置组件"
			},{
				"pagePath": "pages/tabBar/template/template",
				"iconPath": "static/template.png",
				"selectedIconPath": "static/templateHL.png",
				"text": "模板"
			}/*,
			{
				"pagePath": "pages/home/home",
				"iconPath": "static/api.png",
				"selectedIconPath": "static/apiHL.png",
				"text": "首页"
			} ,
			{
				"pagePath": "pages/home/home",
				"iconPath": "static/api.png",
				"selectedIconPath": "static/apiHL.png",
				"text": "首页"
			} *//* , {
				"pagePath": "pages/tabBar/extUI/extUI",
				"iconPath": "static/extui.png",
				"selectedIconPath": "static/extuiHL.png",
				"text": "扩展组件"
			} */
		]
	}
}