pages.json 882 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {}
  6. },
  7. {
  8. "path": "pages/res/product",
  9. "style": {}
  10. }
  11. ],
  12. "globalStyle": {
  13. "mp-alipay": {
  14. /* 支付宝小程序特有相关 */
  15. "transparentTitle": "always",
  16. "allowsBounceVertical": "NO"
  17. },
  18. "navigationBarBackgroundColor": "#0081ff",
  19. "navigationBarTitleText": "buykey",
  20. "navigationStyle": "custom",
  21. "navigationBarTextStyle": "white",
  22. "enablePullDownRefresh" : false
  23. },
  24. "usingComponts": true,
  25. "condition": { //模式配置,仅开发期间生效
  26. "current": 0, //当前激活的模式(list 的索引项)
  27. "list": [{
  28. "name": "表单", //模式名称
  29. "path": "pages/component/form", //启动页面
  30. "query": "" //启动参数
  31. }
  32. ]
  33. }
  34. }