pages.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. {
  24. "path": "pages/mine/answer/dailyanswer",
  25. "style": {
  26. "navigationBarTitleText": "每日答题"
  27. }
  28. }
  29. ,
  30. {
  31. "path": "pages/mine/answer/challenge",
  32. "style": {
  33. "navigationBarTitleText": "百分挑战"
  34. }
  35. }
  36. ,
  37. {
  38. "path" : "pages/mine/index",
  39. "style" : {
  40. "navigationBarTitleText" : "我的"
  41. }
  42. },
  43. {
  44. "path" : "pages/mine/avatar/index",
  45. "style" : {
  46. "navigationBarTitleText" : "修改头像"
  47. }
  48. },
  49. {
  50. "path" : "pages/mine/info/index",
  51. "style" : {
  52. "navigationBarTitleText" : "个人信息"
  53. }
  54. },
  55. {
  56. "path" : "pages/mine/info/edit",
  57. "style" : {
  58. "navigationBarTitleText" : "编辑资料"
  59. }
  60. },
  61. {
  62. "path" : "pages/mine/pwd/index",
  63. "style" : {
  64. "navigationBarTitleText" : "修改密码"
  65. }
  66. },
  67. {
  68. "path" : "pages/mine/setting/index",
  69. "style" : {
  70. "navigationBarTitleText" : "应用设置"
  71. }
  72. },
  73. {
  74. "path" : "pages/mine/help/index",
  75. "style" : {
  76. "navigationBarTitleText" : "常见问题"
  77. }
  78. },
  79. {
  80. "path" : "pages/mine/about/index",
  81. "style" : {
  82. "navigationBarTitleText" : "关于我们"
  83. }
  84. },
  85. {
  86. "path" : "pages/mine/question/jiFen",
  87. "style" : {
  88. "navigationBarTitleText" : "我的成功挑战"
  89. }
  90. },
  91. {
  92. "path" : "pages/mine/question/suiPian",
  93. "style" : {
  94. "navigationBarTitleText" : "我的知识碎片"
  95. }
  96. },
  97. {
  98. "path" : "pages/common/webview/index",
  99. "style" : {
  100. "navigationBarTitleText" : "浏览网页"
  101. }
  102. },
  103. {
  104. "path" : "pages/common/textview/index",
  105. "style" : {
  106. "navigationBarTitleText" : "浏览文本"
  107. }
  108. }
  109. ],
  110. "tabBar" : {
  111. "color" : "#000000",
  112. "selectedColor" : "#000000",
  113. "borderStyle" : "white",
  114. "backgroundColor" : "#ffffff",
  115. "list" : [
  116. {
  117. "pagePath" : "pages/index",
  118. "iconPath" : "static/images/tabbar/home.png",
  119. "selectedIconPath" : "static/images/tabbar/home_.png",
  120. "text" : "首页"
  121. },
  122. {
  123. "pagePath" : "pages/mine/index",
  124. "iconPath" : "static/images/tabbar/mine.png",
  125. "selectedIconPath" : "static/images/tabbar/mine_.png",
  126. "text" : "我的"
  127. }
  128. ]
  129. },
  130. "globalStyle" : {
  131. "navigationBarTextStyle" : "black",
  132. "navigationBarTitleText" : "RuoYi",
  133. "navigationBarBackgroundColor" : "#FFFFFF"
  134. },
  135. "condition" : { //模式配置,仅开发期间生效
  136. "current": 0, //当前激活的模式(list 的索引项)
  137. "list": [
  138. {
  139. "name": "", //模式名称
  140. "path": "", //启动页面,必选
  141. "query": "" //启动参数,在页面的onLoad函数里面得到
  142. }
  143. ]
  144. }
  145. }