pages.json 954 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/login/index" //登录
  8. },
  9. // ---------------------------------------------------------首页
  10. {
  11. "path": "pages/index/index" //首页
  12. },
  13. {
  14. "path": "pages/index/kf" //客服
  15. },
  16. {
  17. "path": "pages/mine/index"
  18. }
  19. ],
  20. "globalStyle": {
  21. "navigationBarTextStyle": "black",
  22. "navigationStyle": "custom",
  23. "navigationBarTitleText": "新农场",
  24. "navigationBarBackgroundColor": "#F8F8F8",
  25. "backgroundColor": "#F8F8F8"
  26. },
  27. "condition" : { //模式配置,仅开发期间生效
  28. "current": 0, //当前激活的模式(list 的索引项)
  29. "list": [
  30. {
  31. "name": "", //模式名称
  32. "path": "", //启动页面,必选
  33. "query": "" //启动参数,在页面的onLoad函数里面得到
  34. }
  35. ]
  36. }
  37. }