pages.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. ,{
  18. "path": "pages/main/history",
  19. "style": {
  20. "navigationBarTitleText": "聊天历史"
  21. }
  22. }
  23. ,{
  24. "path" : "pages/main/login",
  25. "style": {
  26. "navigationBarTitleText": "AirSmartChat聊天 | 登录注册"
  27. }
  28. }
  29. ,{
  30. "path" : "pages/main/jump-default-browser",
  31. "style": {
  32. "navigationBarTitleText": "请在默认浏览器中打开"
  33. }
  34. }
  35. ,{
  36. "path" : "pages/main/prompt/prompt",
  37. "style" :
  38. {
  39. "navigationBarTitleText": "提示词"
  40. }
  41. }
  42. ,{
  43. "path" : "pages/main/prompt/prompt-list",
  44. "style" :
  45. {
  46. "navigationBarTitleText": "提示词分类",
  47. "enablePullDownRefresh": true
  48. }
  49. }
  50. ],
  51. "globalStyle": {
  52. "navigationBarBackgroundColor": "#0081ff",
  53. "navigationBarTitleText": "AirSmartChat聊天",
  54. "navigationBarTextStyle": "white",
  55. "navigationStyle": "custom"
  56. }
  57. }