pages.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. }
  10. }, {
  11. "path": "pages/menu/menu",
  12. "style": {
  13. "navigationStyle": "default",
  14. "navigationBarTitleText": "应用广场",
  15. "app-plus": {
  16. "titleNView": {
  17. "buttons": [{
  18. //设置导航栏右边的按钮
  19. "color": "#FFFFFF",
  20. "text": "退出登录",
  21. "type": "none",
  22. "fontSize": "15",
  23. "fontWeight": "normal"
  24. }]
  25. }
  26. },
  27. "enablePullDownRefresh": false
  28. }
  29. }, {
  30. "path": "pages/billlist/billlist",
  31. "style": {
  32. "navigationStyle": "default",
  33. "navigationBarTitleText": "质量反馈单据列表",
  34. "app-plus": {
  35. "titleNView": {
  36. "backgroundImage": "static/BasicsBg.png"
  37. }
  38. },
  39. "enablePullDownRefresh": false
  40. }
  41. }, {
  42. "path": "pages/detail/detail",
  43. "style": {
  44. //navigationStyle属性值为custom时没有导航栏,为default时有
  45. //在本文件 globalStyle 属性里设置为custom无导航栏,在单个页面中设置有导航栏
  46. "navigationStyle": "default",
  47. "navigationBarTitleText": "质量反馈明细",
  48. "app-plus": { //APP端扩展设置
  49. "titleNView": { //原生导航栏配置参数
  50. "backgroundImage": "linear-gradient(to top left, #0081ff, #1cbbb4)"
  51. }
  52. },
  53. "enablePullDownRefresh": false
  54. }
  55. }
  56. ],
  57. "globalStyle": {
  58. "mp-alipay": {
  59. /* 支付宝小程序特有相关 */
  60. "transparentTitle": "always",
  61. "allowsBounceVertical": "NO"
  62. },
  63. "navigationBarBackgroundColor": "#0081ff",
  64. "navigationBarTitleText": "ColorUi for UniApp",
  65. "navigationStyle": "custom",
  66. "navigationBarTextStyle": "white"
  67. },
  68. "usingComponts": true,
  69. "condition": { //模式配置,仅开发期间生效
  70. "current": 0, //当前激活的模式(list 的索引项)
  71. "list": [{
  72. "name": "表单", //模式名称
  73. "path": "", //TODO:“pages/login/login” "pages/component/xxx", //启动页面
  74. "query": "" //启动参数
  75. }]
  76. }
  77. }