pages.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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/changePassword",
  122. "style": {
  123. "navigationBarTitleText": "修改密码"
  124. }
  125. },
  126. {
  127. "path": "pages/webview/changePhone",
  128. "style": {
  129. "navigationBarTitleText": "修改手机号"
  130. }
  131. },
  132. {
  133. "path": "pages/webview/changeName",
  134. "style": {
  135. "navigationBarTitleText": "修改昵称"
  136. }
  137. },
  138. {
  139. "path": "pages/webview/changeEmail",
  140. "style": {
  141. "navigationBarTitleText": "修改邮箱"
  142. }
  143. },
  144. {
  145. "path": "pages/hybrid/index",
  146. "style": {
  147. "navigationBarTitleText": ""
  148. }
  149. },
  150. {
  151. "path": "pages/native/my",
  152. "style": {
  153. "navigationBarTitleText": "我的",
  154. "app-plus": {
  155. "bounce": "none",
  156. "background": "#F2F2F2",
  157. "titleNView": {
  158. "backgroundColor": "#0581FD",
  159. "titleColor": "#fff",
  160. "titleSize": "19px",
  161. "type": "default"
  162. }
  163. }
  164. }
  165. },
  166. {
  167. "path": "pages/native/index",
  168. "style": {
  169. "navigationStyle": "custom",
  170. "app-plus": {
  171. "animationType": "fade-in",
  172. "background": "transparent",
  173. "popGesture": "none"
  174. }
  175. }
  176. },
  177. {
  178. "path": "pages/webview/feedback",
  179. "style": {
  180. "navigationBarTitleText": "意见反馈"
  181. }
  182. },
  183. {
  184. "path": "pages/webview/barcode",
  185. "style": {
  186. "navigationBarTitleText": "设备扫码",
  187. "enablePullDownRefresh": false
  188. }
  189. },
  190. {
  191. "path": "pages/webview/popupHome",
  192. "style": {
  193. "navigationStyle": "custom",
  194. "app-plus": {
  195. "animationType": "fade-in",
  196. "background": "transparent",
  197. "popGesture": "none"
  198. }
  199. }
  200. },
  201. {
  202. "path": "pages/webview/popupTask",
  203. "style": {
  204. "navigationStyle": "custom",
  205. "app-plus": {
  206. "animationType": "fade-in",
  207. "background": "transparent",
  208. "popGesture": "none"
  209. }
  210. }
  211. },
  212. {
  213. "path": "pages/webview/popupNews",
  214. "style": {
  215. "navigationStyle": "custom",
  216. "app-plus": {
  217. "animationType": "fade-in",
  218. "background": "transparent",
  219. "popGesture": "none"
  220. }
  221. }
  222. },
  223. {
  224. "path": "pages/webview/popSelect",
  225. "style": {
  226. "navigationStyle": "custom",
  227. "app-plus": {
  228. "animationType": "fade-in",
  229. "background": "transparent",
  230. "popGesture": "none"
  231. }
  232. }
  233. },
  234. {
  235. "path": "pages/webview/homeSelect",
  236. "style": {
  237. "navigationStyle": "custom",
  238. "app-plus": {
  239. "animationType": "fade-in",
  240. "background": "transparent",
  241. "popGesture": "none"
  242. }
  243. }
  244. }
  245. ],
  246. "globalStyle": {
  247. "navigationBarTextStyle": "black",
  248. "navigationBarTitleText": "app",
  249. "navigationBarBackgroundColor": "#F8F8F8",
  250. "backgroundColor": "#F8F8F8"
  251. },
  252. "tabBar": {
  253. "selectedColor": "#1773D1",
  254. "borderStyle": "white",
  255. "backgroundColor": "#F8F8F8",
  256. "list": [{
  257. "pagePath": "pages/native/work",
  258. "iconPath": "static/list1.png",
  259. "selectedIconPath": "static/list1-t.png",
  260. "text": "监控"
  261. },
  262. {
  263. "pagePath": "pages/native/plan",
  264. "iconPath": "static/list2.png",
  265. "selectedIconPath": "static/list2-t.png",
  266. "text": "巡检"
  267. },
  268. {
  269. "pagePath": "pages/native/notice/inProcess",
  270. "iconPath": "static/list3.png",
  271. "selectedIconPath": "static/list3-t.png",
  272. "text": "消息"
  273. },
  274. {
  275. "pagePath": "pages/native/my",
  276. "iconPath": "static/list4.png",
  277. "selectedIconPath": "static/list4-t.png",
  278. "text": "我的"
  279. }
  280. ]
  281. }
  282. }