pages.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. // uni-ui 规则如下配置
  6. "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
  7. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  8. }
  9. },
  10. "pages": [{
  11. "path": "pages/loginSso",
  12. "style": {
  13. "navigationBarTitleText": "登录"
  14. }
  15. },{
  16. "path": "pages/login",
  17. "style": {
  18. "navigationBarTitleText": "登录"
  19. }
  20. },{
  21. "path": "pages/register",
  22. "style": {
  23. "navigationBarTitleText": "注册"
  24. }
  25. }, {
  26. "path": "pages/index",
  27. "style": {
  28. "navigationBarTitleText": "华夏ERP移动端",
  29. "navigationStyle": "custom"
  30. }
  31. }, {
  32. "path": "pages/mine/index",
  33. "style": {
  34. "navigationBarTitleText": "我的"
  35. }
  36. }, {
  37. "path": "pages/mine/avatar/index",
  38. "style": {
  39. "navigationBarTitleText": "修改头像"
  40. }
  41. }, {
  42. "path": "pages/mine/info/index",
  43. "style": {
  44. "navigationBarTitleText": "个人信息"
  45. }
  46. }, {
  47. "path": "pages/mine/info/edit",
  48. "style": {
  49. "navigationBarTitleText": "编辑资料"
  50. }
  51. }, {
  52. "path": "pages/mine/pwd/index",
  53. "style": {
  54. "navigationBarTitleText": "修改密码"
  55. }
  56. }, {
  57. "path": "pages/mine/setting/index",
  58. "style": {
  59. "navigationBarTitleText": "应用设置"
  60. }
  61. }, {
  62. "path": "pages/mine/help/index",
  63. "style": {
  64. "navigationBarTitleText": "常见问题"
  65. }
  66. }, {
  67. "path": "pages/mine/about/index",
  68. "style": {
  69. "navigationBarTitleText": "关于我们"
  70. }
  71. }, {
  72. "path": "pages/common/webview/index",
  73. "style": {
  74. "navigationBarTitleText": "浏览网页"
  75. }
  76. }, {
  77. "path": "pages/common/textview/index",
  78. "style": {
  79. "navigationBarTitleText": "浏览文本"
  80. }
  81. }, {
  82. "path": "pages/finished-product/entry/index",
  83. "style": {
  84. "navigationBarTitleText": "入库"
  85. }
  86. }, {
  87. "path": "pages/finished-product/entry/order",
  88. "style": {
  89. "navigationBarTitleText": "入库单"
  90. }
  91. }],
  92. // "tabBar": {
  93. // "color": "#000000",
  94. // "selectedColor": "#000000",
  95. // "borderStyle": "white",
  96. // "backgroundColor": "#ffffff",
  97. // "list": [{
  98. // "pagePath": "pages/trade/shoe-style/index",
  99. // "iconPath": "static/images/tabbar/home.png",
  100. // "selectedIconPath": "static/images/tabbar/home_.png",
  101. // "text": "入库"
  102. // }, {
  103. // "pagePath": "pages/trade/quotation/index",
  104. // "iconPath": "static/images/tabbar/work.png",
  105. // "selectedIconPath": "static/images/tabbar/work_.png",
  106. // "text": "报价单"
  107. // }
  108. // ]
  109. // },
  110. "globalStyle": {
  111. "navigationBarTextStyle": "black",
  112. "navigationBarTitleText": "RuoYi",
  113. "navigationBarBackgroundColor": "#FFFFFF"
  114. },
  115. "condition": { //模式配置,仅开发期间生效
  116. "current": 0, //当前激活的模式(list 的索引项)
  117. "list": [{
  118. "name": "", //模式名称
  119. "path": "", //启动页面,必选
  120. "query": "" //启动参数,在页面的onLoad函数里面得到
  121. }]
  122. }
  123. }