pages.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. // "condition": { //模式配置,仅开发期间生效
  3. // "current": 0, //当前激活的模式(list 的索引项)
  4. // "list": [{
  5. // "name": "test", //模式名称
  6. // "path": "pages/packA/test/test", //启动页面,必选
  7. // "query": "" //启动参数,在页面的onLoad函数里面得到
  8. // }]
  9. // },
  10. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  11. {
  12. "path": "pages/main/index",
  13. "style": {
  14. "navigationBarTitleText": "AirSmartChat聊天"
  15. }
  16. }, {
  17. "path": "pages/main/history",
  18. "style": {
  19. "navigationBarTitleText": "聊天历史"
  20. }
  21. }, {
  22. "path": "pages/main/login",
  23. "style": {
  24. "navigationBarTitleText": "AirSmartChat聊天 | 登录注册"
  25. }
  26. }, {
  27. "path": "pages/main/jump-default-browser",
  28. "style": {
  29. "navigationBarTitleText": "请在默认浏览器中打开"
  30. }
  31. }, {
  32. "path": "pages/main/prompt/prompt",
  33. "style": {
  34. "navigationBarTitleText": "提示词"
  35. }
  36. }, {
  37. "path": "pages/main/prompt/prompt-list",
  38. "style": {
  39. "navigationBarTitleText": "提示词分类",
  40. "enablePullDownRefresh": true
  41. }
  42. }
  43. ],
  44. "globalStyle": {
  45. "navigationBarBackgroundColor": "#0081ff",
  46. "navigationBarTitleText": "AirSmartChat聊天",
  47. "navigationBarTextStyle": "white",
  48. "navigationStyle": "custom"
  49. }
  50. }