pages.json 4.48 KB
{
	"pages": [
		{
			"path": "pages/index",
			"style": {
				"navigationBarTitleText": "首页"
			}
		},
		{
			"path": "pages/login/login",
			"style": {
				"navigationBarTitleText": "登录"
			}
		},
    {
    	"path": "pages/login/code",
    	"style": {
    		"navigationBarTitleText": "验证码"
    	}
    },
		{
			"path": "pages/my/my",
			"style": {
				"navigationBarTitleText": "我的",
        "navigationStyle": "custom"
			}
		}
	],
	"subPackages": [
		{
      "root":"pages/common",
      "pages":[
				{
					"path": "select-contact",
					"style": {
						"navigationBarTitleText": "选择联系人"
					}
				},
				{
					"path": "select-address",
					"style": {
						"navigationBarTitleText": "选择地址"
					}
				},
				{
					"path": "webview"
				}
      ]
    },
		{
			"root":"pages/global",
			"pages": [
				{
					"path": "search-common",
					"style": {
						"navigationBarTitleText": "区域"
					}
				},
				{
					"path": "search-org",
					"style": {
						"navigationBarTitleText": "选择区域"
					}
				},
				{
					"path": "search-staff",
					"style": {
						"navigationBarTitleText": "选择人员"
					}
				},
				{
					"path": "search-customer",
					"style": {
						"navigationBarTitleText": "客户"
					}
				},
				{
					"path": "search-line",
					"style": {
						"navigationBarTitleText": "线路"
					}
				},
				{
					"path": "search-city",
					"style": {
						"navigationBarTitleText": "查询城市"
					}
				},
				{
					"path": "search-address",
					"style": {
						"navigationBarTitleText": "查询地址"
					}
				}
			]
		}
	],
	"globalStyle": {
		"navigationBarTextStyle": "white",
		"navigationBarTitleText": "则一请车助手",
		"navigationBarBackgroundColor": "#2673FB",
		"backgroundColor": "#2673FB"
	},
	"condition": {
		"current": 0,
		"list": [
			{
      	"name": "首页",
      	"path": "/pages/index"
      },
      {
      	"name": "登录",
      	"path": "/pages/login/login"
      }
		]
	},
	"tabBar": {
		"color": "#8c8c8c",
		"fontSize": "100upx",
    // #ifdef MP-DINGTALK
		"selectedColor": "#3296FA",
    // #endif
    // #ifndef MP-DINGTALK
    "selectedColor": "#2673FB",
    // #endif
		"backgroundColor": "#FFFFFF",
		"list": [
			{
				"pagePath": "pages/index",
				"iconPath": "static/tabbar/inquiry.png",
        // #ifdef MP-DINGTALK
				"selectedIconPath": "static/tabbar/inquiry-active-dingtalk.png",
        // #endif
        // #ifndef MP-DINGTALK
        "selectedIconPath": "static/tabbar/inquiry-active.png",
        // #endif
				"text": "首页"
			},
			{
				"pagePath": "pages/my/my",
				"iconPath": "static/tabbar/my.png",
        // #ifdef MP-DINGTALK
				"selectedIconPath": "static/tabbar/my-active-dingtalk.png",
        // #endif
        // #ifndef MP-DINGTALK
        "selectedIconPath": "static/tabbar/my-active.png",
        // #endif
				"text": "我的"
			}
		]
	},
	"easycom": {
		"autoscan": false,
		"custom": {
			"^Page": "@/components/page.vue",
			"^List": "@/components/list.vue",
			"^Empty": "@/components/empty.vue",
			"^PullRefresh": "@/components/pull-refresh.vue",
      "^Waypoints": "@/components/waypoints.vue",
			"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue",
			"^action-(.*)": "@/components/action/action-$1.vue",
			"^card-(.*)": "@/components/card/card-$1.vue",
			"^keyboard-(.*)": "@/components/keyboard/keyboard-$1.vue",
			"^chart-(.*)": "@/components/chart/chart-$1.vue",
      "^form-(.*)": "@/components/form/form-$1.vue",
      "^popup-(.*)": "@/components/popup/popup-$1.vue",
      "^picker-(.*)": "@/components/picker/picker-$1.vue",
			"^render-(.*)": "@/components/render/render-$1.vue",
			"^select-(.*)": "@/components/select/select-$1.vue",
			"^upload-(.*)": "@/components/upload/upload-$1.vue",
			"^viewer-(.*)": "@/components/viewer/viewer-$1.vue",
			"custom-nav": "@/components/custom-nav/index.vue",
			"^zui-(.*)": "@/components/zui/$1/index.vue",
			"^tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue",
			"^search-bar": "@/components/business/search-bar.vue",
			"^search-tabs": "@/components/business/search-tabs.vue",
			"^z-(.*)": "@/components/zee/z-$1.vue",
		  "^view-item": "@/components/business/view-item",
			"^count-down": "@/components/business/count-down",
			"^modal-input-line": "@/components/business/modal-input-line",
			"^view-image": "@/components/viewer/view-image",
			"^input-(.*)": "@/components/business/input/input-$1.vue",
      "^f2": "@/components/f2/f2.vue",
      "^l-(.*)": "@/uni_modules/lime-painter/components/l-$1/l-$1.vue"
		}
	}
}