Browse Source

格式化pages.json

jwyu 3 years ago
parent
commit
e97256e849
1 changed files with 178 additions and 172 deletions
  1. 178 172
      pages.json

+ 178 - 172
pages.json

@@ -1,175 +1,181 @@
 {
-	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
-		{
-			"path": "pages/index/index",
-			"style": {
-				"navigationBarTitleText": "待办",
-				"enablePullDownRefresh": true
-			}
-		},
-		{
-			"path": "pages/workbench/index",
-			"style": {
-				"navigationBarTitleText": "工作台"
-			}
-		},
-		{
-			"path": "pages/mine/index",
-			"style": {
-				"navigationBarTitleText": "我的"
-			}
-		}, {
-			"path": "pages/login/login"
-		}
-	],
-	"subPackages": [{
-			"root": "pages-todomessages", // 待办消息列表包
-			"pages": [{
-				"path": "list/list",// 参数:type类型: 客户(custome)、合同(contract)、用印(seal)
-				"style":{
-					"enablePullDownRefresh":true
-				}
-			}]
-		},
-		{
-			"root": "pages-approve", //审批模块分包
-			"pages": [
-				{
-					"path": "search/index" //审批模块搜索 参数 type类型: 客户(custome)、合同(contract)、用印(seal)
-				}, 
-				{
-					"path":"search/result", //搜索结果 参数 type类型: 客户(custome)、合同(contract)、用印(seal)  val 搜索关键字
-					"style":{
-						"navigationBarTitleText":"搜索结果"
-					}
-				},
-				{
-					"path": "custome/list",
-					"style": {
-						"navigationBarTitleText": "客户审批",
-						"enablePullDownRefresh":true
-					}
-				}, 
-				{
-					"path": "custome/detail",// 参数id:审批单id
-					"style": {
-						"enablePullDownRefresh": true,
-						"navigationBarTitleText": "客户审批"
-					}
-				},
-				{
-					"path":"custome/reason",// 参数CompanyApprovalId(审批单id)、CompanyContractId(合同id)、CompanyId(客户id)
-					"style":{
-						"navigationBarTitleText":"驳回理由"
-					}
-				},
-				{
-					"path": "contract/list",
-					"style": {
-						"navigationBarTitleText": "合同审批",
-						"enablePullDownRefresh":true
-					}
-				},
-				{
-					"path":"contract/detail",// 
-					"style":{
-						"navigationBarTitleText": "合同审批",
-						"enablePullDownRefresh":true
-					}
-				},
-				{
-					"path":"contract/reason",// 参数ApprovalId(审批单id)
-					"style":{
-						"navigationBarTitleText":"驳回理由"
-					}
-				},
-				{
-					"path":"contract/search",// 参数 val 搜索关键字
-					"style":{
-						"navigationBarTitleText":"搜索结果"
-					}
-				},
-				{
-                    "path" : "seal/list",
-                    "style" :{
-						"navigationBarTitleText": "用印审批",
-						"enablePullDownRefresh": true
-					}
-                },
-				{
-					"path":"seal/detail", 
-					"style":{
-						"navigationBarTitleText":"用印审批",
-						"enablePullDownRefresh":true
-					}
-				},
-				{
-					"path":"seal/edit",
-					"style":{
-						"navigationBarTitleText":"用印编辑",
-						"enablePullDownRefresh":true
-					}
-				},
-				{
-					"path":"seal/addSeal",
-					"style":{
-						"navigationBarTitleText":"用印申请"
-					}
-				},
-				{
-					"path":"seal/reason",
-					"style":{
-						"navigationBarTitleText":"驳回理由"
-					}
-				}
+  "pages": [
+    //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+    {
+      "path": "pages/index/index",
+      "style": {
+        "navigationBarTitleText": "待办",
+        "enablePullDownRefresh": true
+      }
+    },
+    {
+      "path": "pages/workbench/index",
+      "style": {
+        "navigationBarTitleText": "工作台"
+      }
+    },
+    {
+      "path": "pages/mine/index",
+      "style": {
+        "navigationBarTitleText": "我的"
+      }
+    },
+    {
+      "path": "pages/login/login"
+    }
+  ],
+  "subPackages": [
+    {
+      "root": "pages-todomessages", // 待办消息列表包
+      "pages": [
+        {
+          "path": "list/list", // 参数:type类型: 客户(custome)、合同(contract)、用印(seal)
+          "style": {
+            "enablePullDownRefresh": true
+          }
+        }
       ]
-		}
-	],
-	"globalStyle": {
-		"navigationBarTextStyle": "black",
-		"navigationBarTitleText": "弘则移动CRM",
-		"navigationBarBackgroundColor": "#FFFFFF",
-		"usingComponents": {
-			"van-button": "/wxcomponents/vant/button/index",
-			"van-toast": "/wxcomponents/vant/toast/index",
-			"van-popup": "/wxcomponents/vant/popup/index",
-			"van-tag": "/wxcomponents/vant/tag/index",
-			"van-search": "/wxcomponents/vant/search/index",
-			"van-tab": "/wxcomponents/vant/tab/index",
-			"van-tabs": "/wxcomponents/vant/tabs/index",
-			"van-sticky": "/wxcomponents/vant/sticky/index",
-			"van-field": "/wxcomponents/vant/field/index",
-			"van-dialog": "/wxcomponents/vant/dialog/index",
-			"van-empty": "/wxcomponents/vant/empty/index",
-			"van-picker": "/wxcomponents/vant/picker/index",
-			"van-radio": "/wxcomponents/vant/radio/index",
-			"van-radio-group": "/wxcomponents/vant/radio-group/index"
-		}
-	},
-	"tabBar": {
-		"color":"#333333",
-		"selectedColor":"#3385FF",
-		"list": [{
-				"pagePath": "pages/index/index",
-				"text": "消息",
-				"iconPath":"static/tabbar-icon-index.png",
-				"selectedIconPath":"static/tabbar-icon-index-s.png"
-			},
-			{
-				"pagePath": "pages/workbench/index",
-				"text": "工作台",
-				"iconPath":"static/tabbar-icon-workbench.png",
-				"selectedIconPath":"static/tabbar-icon-workbench-s.png"
-			},
-			{
-				"pagePath": "pages/mine/index",
-				"text": "我的",
-				"iconPath":"static/tabbar-icon-mine.png",
-				"selectedIconPath":"static/tabbar-icon-mine-s.png"
-			}
-		]
-	},
-	"easycom": {
-		"autoscan": true
-	}
+    },
+    {
+      "root": "pages-approve", //审批模块分包
+      "pages": [
+        {
+          "path": "search/index" //审批模块搜索 参数 type类型: 客户(custome)、合同(contract)、用印(seal)
+        },
+        {
+          "path": "search/result", //搜索结果 参数 type类型: 客户(custome)、合同(contract)、用印(seal)  val 搜索关键字
+          "style": {
+            "navigationBarTitleText": "搜索结果"
+          }
+        },
+        {
+          "path": "custome/list",
+          "style": {
+            "navigationBarTitleText": "客户审批",
+            "enablePullDownRefresh": true
+          }
+        },
+        {
+          "path": "custome/detail", // 参数id:审批单id
+          "style": {
+            "enablePullDownRefresh": true,
+            "navigationBarTitleText": "客户审批"
+          }
+        },
+        {
+          "path": "custome/reason", // 参数CompanyApprovalId(审批单id)、CompanyContractId(合同id)、CompanyId(客户id)
+          "style": {
+            "navigationBarTitleText": "驳回理由"
+          }
+        },
+        {
+          "path": "contract/list",
+          "style": {
+            "navigationBarTitleText": "合同审批",
+            "enablePullDownRefresh": true
+          }
+        },
+        {
+          "path": "contract/detail", //
+          "style": {
+            "navigationBarTitleText": "合同审批",
+            "enablePullDownRefresh": true
+          }
+        },
+        {
+          "path": "contract/reason", // 参数ApprovalId(审批单id)
+          "style": {
+            "navigationBarTitleText": "驳回理由"
+          }
+        },
+        {
+          "path": "contract/search", // 参数 val 搜索关键字
+          "style": {
+            "navigationBarTitleText": "搜索结果"
+          }
+        },
+        {
+          "path": "seal/list",
+          "style": {
+            "navigationBarTitleText": "用印审批",
+            "enablePullDownRefresh": true
+          }
+        },
+        {
+          "path": "seal/detail",
+          "style": {
+            "navigationBarTitleText": "用印审批",
+            "enablePullDownRefresh": true
+          }
+        },
+        {
+          "path": "seal/edit",
+          "style": {
+            "navigationBarTitleText": "用印编辑",
+            "enablePullDownRefresh": true
+          }
+        },
+        {
+          "path": "seal/addSeal",
+          "style": {
+            "navigationBarTitleText": "用印申请"
+          }
+        },
+        {
+          "path": "seal/reason",
+          "style": {
+            "navigationBarTitleText": "驳回理由"
+          }
+        }
+      ]
+    }
+  ],
+  "globalStyle": {
+    "navigationBarTextStyle": "black",
+    "navigationBarTitleText": "弘则移动CRM",
+    "navigationBarBackgroundColor": "#FFFFFF",
+    "usingComponents": {
+      "van-button": "/wxcomponents/vant/button/index",
+      "van-toast": "/wxcomponents/vant/toast/index",
+      "van-popup": "/wxcomponents/vant/popup/index",
+      "van-tag": "/wxcomponents/vant/tag/index",
+      "van-search": "/wxcomponents/vant/search/index",
+      "van-tab": "/wxcomponents/vant/tab/index",
+      "van-tabs": "/wxcomponents/vant/tabs/index",
+      "van-sticky": "/wxcomponents/vant/sticky/index",
+      "van-field": "/wxcomponents/vant/field/index",
+      "van-dialog": "/wxcomponents/vant/dialog/index",
+      "van-empty": "/wxcomponents/vant/empty/index",
+      "van-picker": "/wxcomponents/vant/picker/index",
+      "van-radio": "/wxcomponents/vant/radio/index",
+      "van-radio-group": "/wxcomponents/vant/radio-group/index"
+    }
+  },
+  "tabBar": {
+    "color": "#333333",
+    "selectedColor": "#3385FF",
+    "list": [
+      {
+        "pagePath": "pages/index/index",
+        "text": "消息",
+        "iconPath": "static/tabbar-icon-index.png",
+        "selectedIconPath": "static/tabbar-icon-index-s.png"
+      },
+      {
+        "pagePath": "pages/workbench/index",
+        "text": "工作台",
+        "iconPath": "static/tabbar-icon-workbench.png",
+        "selectedIconPath": "static/tabbar-icon-workbench-s.png"
+      },
+      {
+        "pagePath": "pages/mine/index",
+        "text": "我的",
+        "iconPath": "static/tabbar-icon-mine.png",
+        "selectedIconPath": "static/tabbar-icon-mine-s.png"
+      }
+    ]
+  },
+  "easycom": {
+    "autoscan": true
+  }
 }