pages.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "pages" : [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path" : "pages/login/login",
  6. "style" : {
  7. "navigationBarTitleText" : "",
  8. "enablePullDownRefresh" : false,
  9. "navigationStyle" : "custom"
  10. // "enablePullDownRefresh" : true
  11. }
  12. },
  13. {
  14. "path" : "pages/index/index",
  15. "style" : {
  16. // "navigationBarTitleText": "uni-app",
  17. "navigationStyle" : "custom"
  18. // "app-plus": {
  19. // "pullToRefresh": {
  20. // "support": true,
  21. // "color": "#ff3333",
  22. // "style": "default",
  23. // "contentdown": {
  24. // "caption": "下拉获取最新数据"
  25. // },
  26. // "contentover": {
  27. // "caption": "释放下拉获取最新数据"
  28. // },
  29. // "contentrefresh": {
  30. // "caption": "正在下拉获取最新数据"
  31. // }
  32. // }
  33. // }
  34. }
  35. },
  36. {
  37. "path" : "pages/detail/detail",
  38. "style" : {
  39. "navigationBarTitleText" : "调配详情",
  40. "navigationStyle" : "custom",
  41. "enablePullDownRefresh" : false
  42. }
  43. },
  44. {
  45. "path" : "pages/edit/edit",
  46. "style" : {
  47. "navigationBarTitleText" : "",
  48. "navigationStyle" : "custom",
  49. "enablePullDownRefresh" : false
  50. }
  51. },
  52. {
  53. "path" : "pages/review/review",
  54. "style" : {
  55. "navigationBarTitleText" : "",
  56. "enablePullDownRefresh" : false,
  57. "navigationStyle" : "custom"
  58. }
  59. },
  60. {
  61. "path" : "components/print-config/print-config",
  62. "style" : {}
  63. }
  64. ],
  65. "globalStyle" : {
  66. "navigationBarTextStyle" : "black",
  67. "navigationBarTitleText" : "中药处方煎配",
  68. "navigationBarBackgroundColor" : "#F8F8F8",
  69. "backgroundColor" : "#F8F8F8",
  70. "rpxCalcMaxDeviceWidth" : 0,
  71. // "rpxCalcIncludeWidth": 2000,
  72. "rpxCalcBaseDeviceWidth" : 686
  73. },
  74. "uniIdRouter" : {},
  75. "window": {
  76. "navigationStyle" : "custom"
  77. },
  78. "condition" : {
  79. //模式配置,仅开发期间生效
  80. "current" : 0, //当前激活的模式(list 的索引项)
  81. "list" : [
  82. {
  83. "name" : "", //模式名称
  84. "path" : "", //启动页面,必选
  85. "query" : "" //启动参数,在页面的onLoad函数里面得到
  86. }
  87. ]
  88. }
  89. }