pages.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "pages": [
  3. // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path": "pages/down",
  6. "style": {
  7. "navigationBarTitleText": "下载",
  8. "navigationStyle": "custom"
  9. }
  10. },
  11. // {
  12. // "path": "pages/index",
  13. // "style": {
  14. // "navigationBarTitleText": "松河生活商城",
  15. // "navigationStyle": "custom"
  16. // }
  17. // },
  18. // {
  19. // "path": "pages/register",
  20. // "style": {
  21. // "navigationBarTitleText": "注册",
  22. // "navigationStyle": "custom"
  23. // }
  24. // },
  25. {
  26. "path": "pages/agreement",
  27. "style": {
  28. "navigationBarTitleText": "协议",
  29. "navigationStyle": "custom"
  30. }
  31. },
  32. {
  33. "path": "pages/serviceOrPrivacy",
  34. "style": {
  35. "navigationBarTitleText": "服务协议",
  36. "navigationStyle": "custom"
  37. }
  38. },
  39. {
  40. "path": "pages/phone",
  41. "style": {
  42. "navigationBarTitleText": "咨询电话",
  43. "navigationStyle": "custom"
  44. }
  45. }
  46. // {
  47. // "path":"pages/login",
  48. // "style":{
  49. // "navigationBarTitleText":"授权"//支付宝登录
  50. // }
  51. // }
  52. ],
  53. "globalStyle": {
  54. "pageOrientation": "portrait",
  55. "navigationBarTextStyle": "black",
  56. "navigationBarBackgroundColor": "#fff",
  57. "backgroundColor": "#F8F8F8",
  58. "backgroundColorTop": "#F4F5F6",
  59. "backgroundColorBottom": "#F4F5F6",
  60. // "navigationStyle": "custom",
  61. "app-plus": {
  62. "titleView": true,
  63. "optimization": {
  64. "subPackages": true
  65. },
  66. "runmode": "liberate" // 开启分包优化后,必须配置资源释放模式
  67. }
  68. }
  69. }