pages.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页
  3. {
  4. "path": "pages/native/login",
  5. "style": {
  6. "navigationBarTitleText": "login",
  7. "navigationStyle": "custom",
  8. "app-plus": {
  9. "background": "#fff"
  10. }
  11. }
  12. },
  13. {
  14. "path": "pages/native/plan",
  15. "style": {
  16. "navigationBarTitleText": "机器人巡检",
  17. "onReachBottomDistance": "30px",
  18. "app-plus": {
  19. "bounce": "none",
  20. "pullToRefresh": {
  21. "support": true,
  22. "color": "#0099FF"
  23. },
  24. "background": "#F2F2F2",
  25. "titleNView": {
  26. "backgroundColor": "#0581FD",
  27. "titleColor": "#fff",
  28. "titleSize": "19px",
  29. "type": "default",
  30. "buttons": [{
  31. "fontSrc": "/static/iconfont.ttf",
  32. "fontSize": "18",
  33. "text": "\ue658",
  34. "width": "56px"
  35. }]
  36. }
  37. }
  38. }
  39. },
  40. {
  41. "path": "pages/native/work",
  42. "style": {
  43. "navigationBarTitleText": "智能监控",
  44. "app-plus": {
  45. "bounce": "none",
  46. "background": "#F2F2F2",
  47. "titleNView": {
  48. "backgroundColor": "#0581FD",
  49. "titleColor": "#fff",
  50. "titleSize": "19px",
  51. "type": "default",
  52. "buttons": [{
  53. "fontSrc": "/static/iconfont.ttf",
  54. "fontSize": "18",
  55. "text": "\ue658",
  56. "width": "56px"
  57. }]
  58. }
  59. }
  60. }
  61. },
  62. {
  63. "path": "pages/native/notice/inProcess",
  64. "style": {
  65. "navigationBarTitleText": "消息",
  66. "app-plus": {
  67. "titleNView": {
  68. "backgroundColor": "#0581FD",
  69. "titleColor": "#fff",
  70. "titleSize": "19px",
  71. "type": "default",
  72. "buttons": [{
  73. "fontSrc": "/static/iconfont.ttf",
  74. "fontSize": "18",
  75. "text": "\ue699"
  76. }]
  77. }
  78. }
  79. }
  80. },
  81. {
  82. "path": "pages/webview/newsDetail",
  83. "style": {
  84. "navigationBarTitleText": "消息",
  85. "app-plus": {
  86. "titleNView": {
  87. "backgroundColor": "#0581FD",
  88. "titleColor": "#fff",
  89. "titleSize": "19px"
  90. }
  91. }
  92. }
  93. },
  94. {
  95. "path": "pages/native/robot",
  96. "style": {
  97. "navigationBarTitleText": "全部机器人",
  98. "app-plus": {
  99. "titleNView": {
  100. "backgroundColor": "#0581FD",
  101. "titleColor": "#fff",
  102. "titleSize": "19px"
  103. }
  104. }
  105. }
  106. },
  107. {
  108. "path": "pages/native/datalist/inProcess",
  109. "style": {
  110. "navigationBarTitleText": "巡检数据",
  111. "app-plus": {
  112. "titleNView": {
  113. "backgroundColor": "#0581FD",
  114. "titleColor": "#fff",
  115. "titleSize": "19px"
  116. }
  117. }
  118. }
  119. },
  120. {
  121. "path": "pages/webview/changeConfig",
  122. "style": {
  123. "navigationBarTitleText": "服务代理设置"
  124. }
  125. },
  126. {
  127. "path": "pages/webview/changePassword",
  128. "style": {
  129. "navigationBarTitleText": "修改密码"
  130. }
  131. },
  132. {
  133. "path": "pages/webview/changePhone",
  134. "style": {
  135. "navigationBarTitleText": "修改手机号"
  136. }
  137. },
  138. {
  139. "path": "pages/webview/changeName",
  140. "style": {
  141. "navigationBarTitleText": "修改昵称"
  142. }
  143. },
  144. {
  145. "path": "pages/webview/changeEmail",
  146. "style": {
  147. "navigationBarTitleText": "修改邮箱"
  148. }
  149. },
  150. {
  151. "path": "pages/hybrid/index",
  152. "style": {
  153. "navigationBarTitleText": ""
  154. }
  155. },
  156. {
  157. "path": "pages/native/my",
  158. "style": {
  159. "navigationBarTitleText": "我的",
  160. "app-plus": {
  161. "bounce": "none",
  162. "background": "#F2F2F2",
  163. "titleNView": {
  164. "backgroundColor": "#0581FD",
  165. "titleColor": "#fff",
  166. "titleSize": "19px",
  167. "type": "default"
  168. }
  169. }
  170. }
  171. },
  172. {
  173. "path": "pages/native/index",
  174. "style": {
  175. "navigationStyle": "custom",
  176. "app-plus": {
  177. "animationType": "fade-in",
  178. "background": "transparent",
  179. "popGesture": "none"
  180. }
  181. }
  182. },
  183. {
  184. "path": "pages/webview/feedback",
  185. "style": {
  186. "navigationBarTitleText": "意见反馈"
  187. }
  188. },
  189. {
  190. "path": "pages/webview/barcode",
  191. "style": {
  192. "navigationBarTitleText": "设备扫码",
  193. "enablePullDownRefresh": false
  194. }
  195. },
  196. {
  197. "path": "pages/webview/popupHome",
  198. "style": {
  199. "navigationStyle": "custom",
  200. "app-plus": {
  201. "animationType": "fade-in",
  202. "background": "transparent",
  203. "popGesture": "none"
  204. }
  205. }
  206. },
  207. {
  208. "path": "pages/webview/popupTask",
  209. "style": {
  210. "navigationStyle": "custom",
  211. "app-plus": {
  212. "animationType": "fade-in",
  213. "background": "transparent",
  214. "popGesture": "none"
  215. }
  216. }
  217. },
  218. {
  219. "path": "pages/webview/popupNews",
  220. "style": {
  221. "navigationStyle": "custom",
  222. "app-plus": {
  223. "animationType": "fade-in",
  224. "background": "transparent",
  225. "popGesture": "none"
  226. }
  227. }
  228. },
  229. {
  230. "path": "pages/webview/popSelect",
  231. "style": {
  232. "navigationStyle": "custom",
  233. "app-plus": {
  234. "animationType": "fade-in",
  235. "background": "transparent",
  236. "popGesture": "none"
  237. }
  238. }
  239. },
  240. {
  241. "path": "pages/webview/homeSelect",
  242. "style": {
  243. "navigationStyle": "custom",
  244. "app-plus": {
  245. "animationType": "fade-in",
  246. "background": "transparent",
  247. "popGesture": "none"
  248. }
  249. }
  250. }
  251. ],
  252. "globalStyle": {
  253. "navigationBarTextStyle": "black",
  254. "navigationBarTitleText": "app",
  255. "navigationBarBackgroundColor": "#F8F8F8",
  256. "backgroundColor": "#F8F8F8"
  257. },
  258. "tabBar": {
  259. "selectedColor": "#1773D1",
  260. "borderStyle": "white",
  261. "backgroundColor": "#F8F8F8",
  262. "list": [{
  263. "pagePath": "pages/native/work",
  264. "iconPath": "static/list1.png",
  265. "selectedIconPath": "static/list1-t.png",
  266. "text": "监控"
  267. },
  268. {
  269. "pagePath": "pages/native/plan",
  270. "iconPath": "static/list2.png",
  271. "selectedIconPath": "static/list2-t.png",
  272. "text": "巡检"
  273. },
  274. {
  275. "pagePath": "pages/native/notice/inProcess",
  276. "iconPath": "static/list3.png",
  277. "selectedIconPath": "static/list3-t.png",
  278. "text": "消息"
  279. },
  280. {
  281. "pagePath": "pages/native/my",
  282. "iconPath": "static/list4.png",
  283. "selectedIconPath": "static/list4-t.png",
  284. "text": "我的"
  285. }
  286. ]
  287. }
  288. }