pages.json 3.7 KB

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