pages.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. {
  2. "pages" : [
  3. //pages数组中第一项表示应用启动页,
  4. {
  5. "path" : "pages/main/main",
  6. "style" : {
  7. "navigationBarTitleText" : "检测评价系统"
  8. }
  9. },
  10. {
  11. "path" : "pages/login/login",
  12. "style" : {
  13. "navigationBarTitleText" : "检测评价系统"
  14. }
  15. },
  16. {
  17. "path" : "pages/reg/reg",
  18. "style" : {
  19. "navigationBarTitleText" : "注册"
  20. }
  21. },
  22. {
  23. "path" : "pages/pwd/pwd",
  24. "style" : {
  25. "navigationBarTitleText" : "找回密码"
  26. }
  27. },
  28. {
  29. "path" : "pages/user/user",
  30. "style" : {
  31. "navigationBarTitleText" : "检测评价系统"
  32. }
  33. },
  34. {
  35. "path": "pages/detail/detail",
  36. "style": {
  37. "navigationBarTitleText" : "检测评价系统"
  38. }
  39. },
  40. {
  41. "path": "pages/ucenter/ucenter",
  42. "style": {
  43. "navigationBarTitleText": "个人中心"
  44. }
  45. },
  46. {
  47. "path" : "pages/main/index",
  48. "style" : {
  49. "navigationBarTitleText" : "检测评价系统",
  50. "enablePullDownRefresh": true
  51. }
  52. },
  53. {
  54. "path" : "pages/lims/reportelecground/datalist",
  55. "style" : {
  56. "navigationBarTitleText" : "电气接地",
  57. "enablePullDownRefresh": true
  58. }
  59. },
  60. {
  61. "path" : "pages/lims/reportelecground/dataopera",
  62. "style": {
  63. "enablePullDownRefresh": true,
  64. "navigationBarTitleText" : "数据录入"
  65. }
  66. },
  67. {
  68. "path" : "pages/lims/reportleakprotect/datalist",
  69. "style": {
  70. "enablePullDownRefresh": true,
  71. "navigationBarTitleText" : "数据录入"
  72. }
  73. },
  74. {
  75. "path" : "pages/lims/reportleakprotect/dataopera",
  76. "style" : {
  77. "navigationBarTitleText" : "漏电保护",
  78. "enablePullDownRefresh": true
  79. }
  80. },
  81. {
  82. "path" : "pages/lims/reportlightprotect/datalist",
  83. "style": {
  84. "enablePullDownRefresh": true,
  85. "navigationBarTitleText" : "数据录入"
  86. }
  87. },
  88. {
  89. "path" : "pages/lims/reportlightprotect/dataopera",
  90. "style" : {
  91. "navigationBarTitleText" : "防雷装置",
  92. "enablePullDownRefresh": true
  93. }
  94. },
  95. {
  96. "path" : "pages/lims/reportequipotent/datalist",
  97. "style": {
  98. "enablePullDownRefresh": true,
  99. "navigationBarTitleText" : "数据录入"
  100. }
  101. },
  102. {
  103. "path" : "pages/lims/reportequipotent/dataopera",
  104. "style" : {
  105. "navigationBarTitleText" : "防雷装置(等电位)",
  106. "enablePullDownRefresh": true
  107. }
  108. },
  109. {
  110. "path" : "pages/lims/reportzuhq/dataopera",
  111. "style" : {
  112. "navigationBarTitleText" : "阻火器装置",
  113. "enablePullDownRefresh": true
  114. }
  115. },
  116. {
  117. "path" : "pages/lims/reportzuhq/datalist",
  118. "style" : {
  119. "enablePullDownRefresh": true,
  120. "navigationBarTitleText" : "数据录入"
  121. }
  122. },
  123. {
  124. "path" : "pages/lims/reporthydraulicsafe/dataopera",
  125. "style" : {
  126. "navigationBarTitleText" : "液压安全阀装置",
  127. "enablePullDownRefresh": true
  128. }
  129. },
  130. {
  131. "path" : "pages/lims/reporthydraulicsafe/datalist",
  132. "style" : {
  133. "enablePullDownRefresh": true,
  134. "navigationBarTitleText" : "数据录入"
  135. }
  136. },
  137. {
  138. "path" : "pages/lims/reportbeampumpingUnits/dataopera",
  139. "style" : {
  140. "navigationBarTitleText" : "游梁式抽油机装置"
  141. }
  142. },
  143. {
  144. "path" : "pages/lims/reportnobeampumpingUnits/dataopera",
  145. "style" : {
  146. "navigationBarTitleText" : "无游梁式抽油机装置"
  147. }
  148. },
  149. {
  150. "path" : "pages/lims/reportatmosvalve/dataopera",
  151. "style" : {
  152. "navigationBarTitleText" : "呼吸阀装置",
  153. "enablePullDownRefresh": true
  154. }
  155. },
  156. {
  157. "path" : "pages/lims/reportatmosvalve/datalist",
  158. "style" : {
  159. "enablePullDownRefresh": true,
  160. "navigationBarTitleText" : "数据录入"
  161. }
  162. },
  163. {
  164. "path" : "pages/lims/reportairfoamgenerator/dataopera",
  165. "style" : {
  166. "navigationBarTitleText" : "空气泡沫装置",
  167. "enablePullDownRefresh": true
  168. }
  169. },
  170. {
  171. "path" : "pages/lims/reportairfoamgenerator/datalist",
  172. "style" : {
  173. "enablePullDownRefresh": true,
  174. "navigationBarTitleText" : "数据录入"
  175. }
  176. }
  177. ],
  178. "tabBar" : {
  179. "color" : "#7a7e83",
  180. "selectedColor" : "#0faeff",
  181. "backgroundColor" : "#ffffff",
  182. "list" : [
  183. {
  184. "pagePath" : "pages/main/main",
  185. "text" : "首页",
  186. "iconPath" : "static/img/home.png",
  187. "selectedIconPath" : "static/img/homeHL.png"
  188. },
  189. {
  190. "pagePath" : "pages/ucenter/ucenter",
  191. "text" : "我的",
  192. "iconPath" : "static/img/user.png",
  193. "selectedIconPath" : "static/img/userHL.png"
  194. }
  195. ]
  196. },
  197. "globalStyle" : {
  198. "navigationBarTextStyle" : "white",
  199. "navigationBarBackgroundColor" : "#0faeff",
  200. "backgroundColor" : "#fbf9fe"
  201. },
  202. "condition" : { //模式配置,仅开发期间生效
  203. "current": 0, //当前激活的模式(list 的索引项)
  204. "list": [
  205. {
  206. "name": "", //模式名称
  207. "path": "", //启动页面,必选
  208. "query": "" //启动参数,在页面的onLoad函数里面得到
  209. }
  210. ]
  211. }
  212. }