pages.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "pages": [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path": "pages/vote-notice",
  6. "style": {
  7. "navigationStyle": "custom" // 隐藏系统导航栏
  8. }
  9. },
  10. {
  11. "path": "pages/vote",
  12. "style": {
  13. "navigationStyle": "custom",
  14. "navigationBarTitleText": "盐龙街道住宅小区物业公司选聘调研"
  15. }
  16. },
  17. {
  18. "path": "pages/success",
  19. "style": {
  20. "navigationStyle": "custom" // 隐藏系统导航栏
  21. }
  22. }
  23. ],
  24. "globalStyle": {
  25. "mp-alipay": {
  26. /* 支付宝小程序特有相关 */
  27. "transparentTitle": "always",
  28. "allowsBounceVertical": "NO"
  29. },
  30. "usingComponents": {
  31. "ly-tree-node": "/components/ly-tree/ly-tree-node"
  32. },
  33. "navigationBarBackgroundColor": "#0081ff",
  34. "navigationBarTitleText": "盐龙街道住宅小区物业公司选聘调研",
  35. // "navigationStyle": "custom",
  36. "navigationBarTextStyle": "white"
  37. },
  38. "usingComponts": true,
  39. "condition": { //模式配置,仅开发期间生效
  40. "current": 0, //当前激活的模式(list 的索引项)
  41. "list": [{
  42. "name": "表单", //模式名称
  43. "path": "pages/index/index", //启动页面
  44. "query": "" //启动参数
  45. }
  46. ]
  47. }
  48. }