pages.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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. "subNVues": [{
  38. "id": "CpopLog3",
  39. "path": "pages/native/subnvue/CpopLog3",
  40. "type": "popup",
  41. "style": {
  42. "background": "transparent",
  43. "position": "static",
  44. "width": "260rpx",
  45. "height": "500rpx",
  46. "top": "130rpx",
  47. "right": "20rpx",
  48. "mask": "rgba(0,0,0,0)"
  49. }
  50. },
  51. {
  52. "id": "ApopLog1", // 唯一标识
  53. "path": "pages/native/subnvue/ApopLog1", // 页面路径
  54. "type": "popup",
  55. "style": {
  56. "background": "transparent"
  57. }
  58. }
  59. ]
  60. }
  61. }
  62. },
  63. {
  64. "path": "pages/native/work",
  65. "style": {
  66. "navigationBarTitleText": "智能监控",
  67. "app-plus": {
  68. "bounce": "none",
  69. "background": "#F2F2F2",
  70. "titleNView": {
  71. "backgroundColor": "#0581FD",
  72. "titleColor": "#fff",
  73. "titleSize": "19px",
  74. "type": "default",
  75. "buttons": [{
  76. "fontSrc": "/static/iconfont.ttf",
  77. "fontSize": "18",
  78. "text": "\ue658",
  79. "width": "56px"
  80. }]
  81. },
  82. "subNVues": [{
  83. "id": "BpopLog2", // 唯一标识
  84. "path": "pages/native/subn/BpopLog2", // 页面路径
  85. "type": "popup",
  86. "style": {
  87. "background": "transparent",
  88. "position": "static",
  89. "width": "260rpx",
  90. "height": "500rpx",
  91. "top": "130rpx",
  92. "right": "20rpx",
  93. "mask": "rgba(0,0,0,0)"
  94. }
  95. },
  96. {
  97. "id": "DpopLog1", // 唯一标识
  98. "path": "pages/native/subn/DpopLog1", // 页面路径
  99. "type": "popup",
  100. "style": {
  101. "background": "transparent"
  102. }
  103. }
  104. ]
  105. }
  106. }
  107. },
  108. {
  109. "path": "pages/native/notice/inProcess",
  110. "style": {
  111. "navigationBarTitleText": "消息",
  112. "app-plus": {
  113. "titleNView": {
  114. "backgroundColor": "#0581FD",
  115. "titleColor": "#fff",
  116. "titleSize": "19px",
  117. "type": "default",
  118. "buttons": [{
  119. "fontSrc": "/static/iconfont.ttf",
  120. "fontSize": "18",
  121. "text": "\ue699"
  122. }]
  123. }
  124. }
  125. }
  126. },
  127. {
  128. "path": "pages/webview/newsDetail",
  129. "style": {
  130. "navigationBarTitleText": "消息",
  131. "app-plus": {
  132. "titleNView": {
  133. "backgroundColor": "#0581FD",
  134. "titleColor": "#fff",
  135. "titleSize": "19px"
  136. }
  137. }
  138. }
  139. },
  140. {
  141. "path": "pages/native/robot",
  142. "style": {
  143. "navigationBarTitleText": "全部机器人",
  144. "app-plus": {
  145. "titleNView": {
  146. "backgroundColor": "#0581FD",
  147. "titleColor": "#fff",
  148. "titleSize": "19px"
  149. }
  150. }
  151. }
  152. },
  153. {
  154. "path": "pages/native/datalist/inProcess",
  155. "style": {
  156. "navigationBarTitleText": "巡检数据",
  157. "app-plus": {
  158. "titleNView": {
  159. "backgroundColor": "#0581FD",
  160. "titleColor": "#fff",
  161. "titleSize": "19px"
  162. }
  163. }
  164. }
  165. },
  166. {
  167. "path": "pages/webview/changePassword",
  168. "style": {
  169. "navigationBarTitleText": "修改密码"
  170. }
  171. },
  172. {
  173. "path": "pages/webview/changePhone",
  174. "style": {
  175. "navigationBarTitleText": "修改手机号"
  176. }
  177. },
  178. {
  179. "path": "pages/webview/changeName",
  180. "style": {
  181. "navigationBarTitleText": "修改昵称"
  182. }
  183. },
  184. {
  185. "path": "pages/webview/changeEmail",
  186. "style": {
  187. "navigationBarTitleText": "修改邮箱"
  188. }
  189. },
  190. {
  191. "path": "pages/hybrid/index",
  192. "style": {
  193. "navigationBarTitleText": ""
  194. }
  195. },
  196. {
  197. "path": "pages/native/my",
  198. "style": {
  199. "navigationBarTitleText": "我的",
  200. "app-plus": {
  201. "bounce": "none",
  202. "background": "#F2F2F2",
  203. "titleNView": {
  204. "backgroundColor": "#0581FD",
  205. "titleColor": "#fff",
  206. "titleSize": "19px",
  207. "type": "default"
  208. }
  209. }
  210. }
  211. },
  212. {
  213. "path": "pages/native/index",
  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/feedback",
  225. "style": {
  226. "navigationBarTitleText": "意见反馈"
  227. }
  228. },
  229. {
  230. "path": "pages/webview/barcode",
  231. "style": {
  232. "navigationBarTitleText": "设备扫码",
  233. "enablePullDownRefresh": false
  234. }
  235. },
  236. {
  237. "path": "pages/webview/bluetooth",
  238. "style": {
  239. "navigationBarTitleText": "附近设备",
  240. "enablePullDownRefresh": false
  241. }
  242. },
  243. {
  244. "path": "pages/webview/popup",
  245. "style": {
  246. "navigationStyle": "custom",
  247. "app-plus": {
  248. "animationType": "fade-in",
  249. "background": "transparent",
  250. "popGesture": "none"
  251. }
  252. }
  253. }
  254. ],
  255. "globalStyle": {
  256. "navigationBarTextStyle": "black",
  257. "navigationBarTitleText": "app",
  258. "navigationBarBackgroundColor": "#F8F8F8",
  259. "backgroundColor": "#F8F8F8"
  260. },
  261. "tabBar": {
  262. "selectedColor": "#1773D1",
  263. "borderStyle": "white",
  264. "backgroundColor": "#F8F8F8",
  265. "list": [{
  266. "pagePath": "pages/native/work",
  267. "iconPath": "static/list1.png",
  268. "selectedIconPath": "static/list1-t.png",
  269. "text": "监控"
  270. },
  271. {
  272. "pagePath": "pages/native/plan",
  273. "iconPath": "static/list2.png",
  274. "selectedIconPath": "static/list2-t.png",
  275. "text": "巡检"
  276. },
  277. {
  278. "pagePath": "pages/native/notice/inProcess",
  279. "iconPath": "static/list3.png",
  280. "selectedIconPath": "static/list3-t.png",
  281. "text": "消息"
  282. },
  283. {
  284. "pagePath": "pages/native/my",
  285. "iconPath": "static/list4.png",
  286. "selectedIconPath": "static/list4-t.png",
  287. "text": "我的"
  288. }
  289. ]
  290. }
  291. }