pages.json 3.3 KB

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