pages.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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/home/checkIn",
  36. "style": {
  37. "navigationStyle": "custom"
  38. },
  39. "tit": "打卡"
  40. },
  41. {
  42. "path": "pages/contract/index",
  43. "style": {
  44. "navigationStyle": "custom"
  45. },
  46. "tit": "合同管理"
  47. },
  48. {
  49. "path": "pages/contract/detail",
  50. "style": {
  51. "navigationStyle": "custom"
  52. },
  53. "tit": "合同详情"
  54. },
  55. {
  56. "path": "pages/contract/invoice",
  57. "style": {
  58. "navigationStyle": "custom"
  59. },
  60. "tit": "新建发票"
  61. },
  62. {
  63. "path": "pages/contract/collection",
  64. "style": {
  65. "navigationStyle": "custom"
  66. },
  67. "tit": "新建回款"
  68. },
  69. {
  70. "path": "pages/project/index",
  71. "style": {
  72. "navigationStyle": "custom"
  73. },
  74. "tit": "项目管理首页"
  75. },
  76. {
  77. "path": "pages/project/transfer",
  78. "style": {
  79. "navigationStyle": "custom"
  80. },
  81. "tit": "转移项目"
  82. },
  83. {
  84. "path": "pages/project/details",
  85. "style": {
  86. "navigationStyle": "custom"
  87. },
  88. "tit": "项目详情"
  89. },
  90. {
  91. "path": "pages/customer/details",
  92. "style": {
  93. "navigationStyle": "custom"
  94. },
  95. "tit": "客户详情"
  96. },
  97. {
  98. "path": "pages/customer/index",
  99. "style": {
  100. "navigationStyle": "custom"
  101. },
  102. "tit": "储备客户"
  103. },
  104. {
  105. "path": "pages/openSeaCustomer/index",
  106. "style": {
  107. "navigationStyle": "custom"
  108. },
  109. "tit": "公海客户"
  110. },
  111. {
  112. "path": "pages/distributor/index",
  113. "style": {
  114. "navigationStyle": "custom"
  115. },
  116. "tit": "合作伙伴"
  117. },
  118. {
  119. "path": "pages/distributor/details",
  120. "style": {
  121. "navigationStyle": "custom"
  122. },
  123. "tit": "经销商详情"
  124. },
  125. {
  126. "path": "pages/publicPages/follow",
  127. "style": {
  128. "navigationStyle": "custom"
  129. },
  130. "tit": "填写跟进"
  131. },
  132. {
  133. "path": "pages/customer/transfer",
  134. "style": {
  135. "navigationStyle": "custom"
  136. },
  137. "tit": "转移客户"
  138. },
  139. {
  140. "path": "pages/customer/add",
  141. "style": {
  142. "navigationStyle": "custom"
  143. },
  144. "tit": "客户添加"
  145. },
  146. {
  147. "path": "pages/project/create",
  148. "style": {
  149. "navigationStyle": "custom"
  150. },
  151. "tit": "创建项目"
  152. },
  153. {
  154. "path": "pages/project/downgrade",
  155. "style": {
  156. "navigationStyle": "custom"
  157. },
  158. "tit": "项目降级"
  159. },
  160. {
  161. "path": "pages/project/upgrade",
  162. "style": {
  163. "navigationStyle": "custom"
  164. },
  165. "tit": "项目升级"
  166. },
  167. {
  168. "path": "pages/schedule/supervise/details",
  169. "style": {
  170. "navigationStyle": "custom"
  171. },
  172. "tit": "督办详情"
  173. },
  174. {
  175. "path": "pages/message/index",
  176. "style": {
  177. "navigationStyle": "custom"
  178. },
  179. "tit": "信息"
  180. },
  181. {
  182. "path": "pages/my/index",
  183. "style": {
  184. "navigationStyle": "custom"
  185. },
  186. "tit": "我的"
  187. },
  188. {
  189. "path": "pages/schedule/index",
  190. "style": {
  191. "navigationStyle": "custom"
  192. },
  193. "tit": "日程"
  194. },
  195. {
  196. "path": "pages/publicPages/concatCreate",
  197. "style": {
  198. "navigationStyle": "custom"
  199. },
  200. "tit": "新建联系人"
  201. },
  202. {
  203. "path": "pages/distributor/create",
  204. "style": {
  205. "navigationStyle": "custom"
  206. },
  207. "tit": "新建经销商"
  208. },
  209. {
  210. "path": "pages/inviteTenders/index",
  211. "style": {
  212. "navigationStyle": "custom"
  213. },
  214. "tit": "招标信息"
  215. },
  216. {
  217. "path": "pages/inviteTenders/details",
  218. "style": {
  219. "navigationStyle": "custom"
  220. },
  221. "tit": "招标详情"
  222. }
  223. ],
  224. "tabBar": {
  225. "color": "#7A7E83",
  226. "selectedColor": "#3E7EF8",
  227. "borderStyle": "black",
  228. "backgroundColor": "#ffffff",
  229. "list": [
  230. {
  231. "pagePath": "pages/home/index",
  232. "iconPath": "static/images/tabBar/home.png",
  233. "selectedIconPath": "static/images/tabBar/home-active.png",
  234. "text": "首页"
  235. },
  236. {
  237. "pagePath": "pages/schedule/index",
  238. "iconPath": "static/images/tabBar/schedule.png",
  239. "selectedIconPath": "static/images/tabBar/schedule-active.png",
  240. "text": "日程"
  241. },
  242. {
  243. "pagePath": "pages/message/index",
  244. "iconPath": "static/images/tabBar/message.png",
  245. "selectedIconPath": "static/images/tabBar/message-active.png",
  246. "text": "消息"
  247. },
  248. {
  249. "pagePath": "pages/my/index",
  250. "iconPath": "static/images/tabBar/my.png",
  251. "selectedIconPath": "static/images/tabBar/my-active.png",
  252. "text": "我的"
  253. }
  254. ]
  255. },
  256. "globalStyle": {
  257. "navigationBarTextStyle": "black",
  258. "navigationBarTitleText": "oms",
  259. "navigationBarBackgroundColor": "#F8F8F8",
  260. "backgroundColor": "#F8F8F8"
  261. },
  262. "uniIdRouter": {}
  263. }