pages.json 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. {
  2. //在pages.json文件中新加insetLoader属性
  3. "insetLoader": {
  4. //配置
  5. "config": {
  6. //将需要引入的组件名起了个confirm的名字在下面label中使用
  7. //右侧"<test ref='confirm' />"为需要插入的组件标签
  8. "WaterMark": "<WaterMark ref='WaterMark' />"
  9. },
  10. // 全局配置
  11. //需要挂在的组件名
  12. "label": ["WaterMark"],
  13. //根元素的标签类型 也就是插入到页面哪个根元素下默认为div 但是uniapp中需要写为view
  14. "rootEle": "view"
  15. },
  16. "easycom": {
  17. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  18. },
  19. "pages": [
  20. {
  21. "path": "pages/home/index",
  22. "style": {
  23. "navigationStyle": "custom"
  24. },
  25. "tit": "首页"
  26. },
  27. {
  28. "path": "pages/login/index",
  29. "style": {
  30. "navigationStyle": "custom"
  31. },
  32. "tit": "登录"
  33. },
  34. {
  35. "path": "pages/login/protocol-user",
  36. "style": { "navigationBarTitleText": "用户隐私协议" },
  37. "tit": "用户隐私协议"
  38. },
  39. {
  40. "path": "pages/home/checkIn",
  41. "style": {
  42. "navigationStyle": "custom"
  43. },
  44. "tit": "打卡"
  45. },
  46. {
  47. "path": "pages/contract/index",
  48. "style": {
  49. "navigationStyle": "custom"
  50. },
  51. "tit": "合同管理"
  52. },
  53. {
  54. "path": "pages/contract/detail",
  55. "style": {
  56. "navigationStyle": "custom"
  57. },
  58. "tit": "合同详情"
  59. },
  60. {
  61. "path": "pages/contract/invoice",
  62. "style": {
  63. "navigationStyle": "custom"
  64. },
  65. "tit": "新建发票"
  66. },
  67. {
  68. "path": "pages/contract/collection",
  69. "style": {
  70. "navigationStyle": "custom"
  71. },
  72. "tit": "新建回款"
  73. },
  74. {
  75. "path": "pages/project/index",
  76. "style": {
  77. "navigationStyle": "custom"
  78. },
  79. "tit": "项目管理首页"
  80. },
  81. {
  82. "path": "pages/project/transfer",
  83. "style": {
  84. "navigationStyle": "custom"
  85. },
  86. "tit": "转移项目"
  87. },
  88. {
  89. "path": "pages/project/details",
  90. "style": {
  91. "navigationStyle": "custom"
  92. },
  93. "tit": "项目详情"
  94. },
  95. {
  96. "path": "pages/customer/details",
  97. "style": {
  98. "navigationStyle": "custom"
  99. },
  100. "tit": "客户详情"
  101. },
  102. {
  103. "path": "pages/customer/index",
  104. "style": {
  105. "navigationStyle": "custom"
  106. },
  107. "tit": "储备客户"
  108. },
  109. {
  110. "path": "pages/openSeaCustomer/index",
  111. "style": {
  112. "navigationStyle": "custom"
  113. },
  114. "tit": "公海客户"
  115. },
  116. {
  117. "path": "pages/distributor/index",
  118. "style": {
  119. "navigationStyle": "custom"
  120. },
  121. "tit": "合作伙伴"
  122. },
  123. {
  124. "path": "pages/distributor/details",
  125. "style": {
  126. "navigationStyle": "custom"
  127. },
  128. "tit": "经销商详情"
  129. },
  130. {
  131. "path": "pages/publicPages/follow",
  132. "style": {
  133. "navigationStyle": "custom"
  134. },
  135. "tit": "填写跟进"
  136. },
  137. {
  138. "path": "pages/customer/transfer",
  139. "style": {
  140. "navigationStyle": "custom"
  141. },
  142. "tit": "转移客户"
  143. },
  144. {
  145. "path": "pages/customer/add",
  146. "style": {
  147. "navigationStyle": "custom"
  148. },
  149. "tit": "客户添加"
  150. },
  151. {
  152. "path": "pages/project/create",
  153. "style": {
  154. "navigationStyle": "custom"
  155. },
  156. "tit": "创建项目"
  157. },
  158. {
  159. "path": "pages/project/downgrade",
  160. "style": {
  161. "navigationStyle": "custom"
  162. },
  163. "tit": "项目降级"
  164. },
  165. {
  166. "path": "pages/project/upgrade",
  167. "style": {
  168. "navigationStyle": "custom"
  169. },
  170. "tit": "项目升级"
  171. },
  172. {
  173. "path": "pages/schedule/supervise/details",
  174. "style": {
  175. "navigationStyle": "custom"
  176. },
  177. "tit": "督办详情"
  178. },
  179. {
  180. "path": "pages/message/index",
  181. "style": {
  182. "navigationStyle": "custom"
  183. },
  184. "tit": "信息"
  185. },
  186. {
  187. "path": "pages/my/index",
  188. "style": {
  189. "navigationStyle": "custom"
  190. },
  191. "tit": "我的"
  192. },
  193. {
  194. "path": "pages/schedule/index",
  195. "style": {
  196. "navigationStyle": "custom"
  197. },
  198. "tit": "日程"
  199. },
  200. {
  201. "path": "pages/publicPages/concatCreate",
  202. "style": {
  203. "navigationStyle": "custom"
  204. },
  205. "tit": "新建联系人"
  206. },
  207. {
  208. "path": "pages/distributor/create",
  209. "style": {
  210. "navigationStyle": "custom"
  211. },
  212. "tit": "新建经销商"
  213. },
  214. {
  215. "path": "pages/inviteTenders/index",
  216. "style": {
  217. "navigationStyle": "custom"
  218. },
  219. "tit": "招标信息"
  220. },
  221. {
  222. "path": "pages/inviteTenders/details",
  223. "style": {
  224. "navigationStyle": "custom"
  225. },
  226. "tit": "招标详情"
  227. },
  228. {
  229. "path": "pages/partners/index",
  230. "style": {
  231. "navigationStyle": "custom"
  232. },
  233. "tit": "合作伙伴"
  234. },
  235. {
  236. "path": "pages/partners/details",
  237. "style": {
  238. "navigationStyle": "custom"
  239. },
  240. "tit": "合作伙伴详情"
  241. },
  242. {
  243. "path": "pages/home/reply",
  244. "style": {
  245. "navigationStyle": "custom"
  246. },
  247. "tit": "评论回复"
  248. }
  249. ],
  250. "tabBar": {
  251. "color": "#7A7E83",
  252. "selectedColor": "#3E7EF8",
  253. "borderStyle": "black",
  254. "backgroundColor": "#ffffff",
  255. "list": [
  256. {
  257. "pagePath": "pages/home/index",
  258. "iconPath": "static/images/tabBar/home.png",
  259. "selectedIconPath": "static/images/tabBar/home-active.png",
  260. "text": "首页"
  261. },
  262. {
  263. "pagePath": "pages/schedule/index",
  264. "iconPath": "static/images/tabBar/schedule.png",
  265. "selectedIconPath": "static/images/tabBar/schedule-active.png",
  266. "text": "日程"
  267. },
  268. {
  269. "pagePath": "pages/message/index",
  270. "iconPath": "static/images/tabBar/message.png",
  271. "selectedIconPath": "static/images/tabBar/message-active.png",
  272. "text": "消息"
  273. },
  274. {
  275. "pagePath": "pages/my/index",
  276. "iconPath": "static/images/tabBar/my.png",
  277. "selectedIconPath": "static/images/tabBar/my-active.png",
  278. "text": "我的"
  279. }
  280. ]
  281. },
  282. "globalStyle": {
  283. "navigationBarTextStyle": "black",
  284. "navigationBarTitleText": "oms",
  285. "navigationBarBackgroundColor": "#F8F8F8",
  286. "backgroundColor": "#F8F8F8"
  287. },
  288. "uniIdRouter": {}
  289. }