pages.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. {
  2. "pages" : [
  3. {
  4. "path" : "pages/login",
  5. "style" : {
  6. "navigationBarTitleText" : "登录"
  7. }
  8. },
  9. {
  10. "path" : "pages/register",
  11. "style" : {
  12. "navigationBarTitleText" : "注册"
  13. }
  14. },
  15. {
  16. "path" : "pages/index",
  17. "style" : {
  18. "navigationBarTitleText" : "主页",
  19. "navigationStyle" : "custom"
  20. }
  21. },
  22. {
  23. "path" : "pages/work/index",
  24. "style" : {
  25. "navigationBarTitleText" : "工作台"
  26. }
  27. },
  28. {
  29. "path" : "pages/work/record/RecordList",
  30. "style" : {
  31. "navigationBarTitleText" : "声像记录"
  32. }
  33. },
  34. {
  35. "path" : "pages/work/record/PhotoList",
  36. "style" : {
  37. "navigationBarTitleText" : "拍照列表"
  38. }
  39. },
  40. {
  41. "path" : "pages/work/report/InspectionList",
  42. "style" : {
  43. "navigationBarTitleText" : "检验记录"
  44. }
  45. },
  46. {
  47. "path" : "pages/work/process/ProcessList",
  48. "style" : {
  49. "navigationBarTitleText" : "关键工序"
  50. }
  51. },
  52. {
  53. "path" : "pages/mine/index",
  54. "style" : {
  55. "navigationBarTitleText" : "我的"
  56. }
  57. },
  58. {
  59. "path" : "pages/mine/info/index",
  60. "style" : {
  61. "navigationBarTitleText" : "个人信息"
  62. }
  63. },
  64. {
  65. "path" : "pages/mine/info/edit",
  66. "style" : {
  67. "navigationBarTitleText" : "编辑资料"
  68. }
  69. },
  70. {
  71. "path" : "pages/mine/pwd/index",
  72. "style" : {
  73. "navigationBarTitleText" : "修改密码"
  74. }
  75. },
  76. {
  77. "path" : "pages/mine/setting/index",
  78. "style" : {
  79. "navigationBarTitleText" : "应用设置"
  80. }
  81. },
  82. {
  83. "path" : "pages/mine/help/index",
  84. "style" : {
  85. "navigationBarTitleText" : "常见问题"
  86. }
  87. },
  88. {
  89. "path" : "pages/mine/about/index",
  90. "style" : {
  91. "navigationBarTitleText" : "关于我们"
  92. }
  93. },
  94. {
  95. "path" : "pages/common/webview/index",
  96. "style" : {
  97. "navigationBarTitleText" : "浏览网页"
  98. }
  99. },
  100. {
  101. "path" : "pages/common/textview/index",
  102. "style" : {
  103. "navigationBarTitleText" : "浏览文本"
  104. }
  105. },
  106. {
  107. "path" : "pages/work/download/DownloadList",
  108. "style" : {
  109. "navigationBarTitleText" : "数据下载"
  110. }
  111. },
  112. {
  113. "path" : "pages/work/download/DownloadDetail",
  114. "style" : {
  115. "navigationBarTitleText" : "数据下载详情"
  116. }
  117. },
  118. {
  119. "path" : "pages/work/task/TaskList",
  120. "style" : {
  121. "navigationBarTitleText" : "任务管理"
  122. }
  123. }
  124. ],
  125. "tabBar" : {
  126. "color" : "#000000",
  127. "selectedColor" : "#000000",
  128. "borderStyle" : "white",
  129. "backgroundColor" : "#ffffff",
  130. "list" : [
  131. {
  132. "pagePath" : "pages/index",
  133. "iconPath" : "static/images/tabbar/home.png",
  134. "selectedIconPath" : "static/images/tabbar/home_.png",
  135. "text" : "首页"
  136. },
  137. {
  138. "pagePath" : "pages/work/index",
  139. "iconPath" : "static/images/tabbar/work.png",
  140. "selectedIconPath" : "static/images/tabbar/work_.png",
  141. "text" : "工作台"
  142. },
  143. {
  144. "pagePath" : "pages/mine/index",
  145. "iconPath" : "static/images/tabbar/mine.png",
  146. "selectedIconPath" : "static/images/tabbar/mine_.png",
  147. "text" : "我的"
  148. }
  149. ]
  150. },
  151. "globalStyle" : {
  152. "navigationBarTextStyle" : "black",
  153. "navigationBarTitleText" : "RuoYi",
  154. "navigationBarBackgroundColor" : "#FFFFFF"
  155. },
  156. "condition" : {
  157. //模式配置,仅开发期间生效
  158. "current" : 0, //当前激活的模式(list 的索引项)
  159. "list" : [
  160. {
  161. "name" : "", //模式名称
  162. "path" : "", //启动页面,必选
  163. "query" : "" //启动参数,在页面的onLoad函数里面得到
  164. }
  165. ]
  166. }
  167. }