pages.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path" : "pages/login/login",
  5. "style" :
  6. {
  7. "navigationBarTitleText": "",
  8. "enablePullDownRefresh": false,
  9. "navigationStyle": "custom"
  10. }
  11. },
  12. {
  13. "path": "pages/index/index",
  14. "style": {
  15. // "navigationBarTitleText": "uni-app",
  16. "navigationStyle": "custom"
  17. }
  18. }
  19. ,{
  20. "path" : "pages/detail/detail",
  21. "style" :
  22. {
  23. "navigationBarTitleText": "调配详情",
  24. "navigationStyle": "custom",
  25. "enablePullDownRefresh": false
  26. }
  27. }
  28. ,{
  29. "path" : "pages/edit/edit",
  30. "style" :
  31. {
  32. "navigationBarTitleText": "",
  33. "navigationStyle": "custom",
  34. "enablePullDownRefresh": false
  35. }
  36. }
  37. ,{
  38. "path" : "pages/review/review",
  39. "style" :
  40. {
  41. "navigationBarTitleText": "",
  42. "enablePullDownRefresh": false,
  43. "navigationStyle": "custom"
  44. }
  45. }
  46. ],
  47. "globalStyle": {
  48. "navigationBarTextStyle": "black",
  49. "navigationBarTitleText": "中药处方煎配",
  50. "navigationBarBackgroundColor": "#F8F8F8",
  51. "backgroundColor": "#F8F8F8",
  52. "rpxCalcMaxDeviceWidth": 0,
  53. // "rpxCalcIncludeWidth": 2000,
  54. "rpxCalcBaseDeviceWidth": 686
  55. },
  56. "uniIdRouter": {},
  57. "condition" : { //模式配置,仅开发期间生效
  58. "current": 0, //当前激活的模式(list 的索引项)
  59. "list": [
  60. {
  61. "name": "", //模式名称
  62. "path": "", //启动页面,必选
  63. "query": "" //启动参数,在页面的onLoad函数里面得到
  64. }
  65. ]
  66. }
  67. }