pages.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "pages": [
  3. // {
  4. // "path": "pages/lead/index",
  5. // "style": {
  6. // // "navigationBarTitleText": "生成证件照",
  7. // "navigationStyle": "custom"
  8. // }
  9. // },
  10. {
  11. "path": "pages/index/index",
  12. "style": {
  13. "navigationBarTitleText": "生成证件照",
  14. "navigationStyle": "custom"
  15. }
  16. },
  17. {
  18. "path": "pages/my/index",
  19. "style": {
  20. // "navigationBarTitleText": "我的"
  21. "navigationStyle": "custom"
  22. }
  23. },
  24. // {
  25. // "path": "pages/introduce/index",
  26. // "style": {
  27. // "navigationBarTitleText": "uni-app",
  28. // "navigationStyle": "custom"
  29. // }
  30. // },
  31. {
  32. "path": "pages/genDigitalFenshen/index",
  33. "style": {
  34. "navigationBarTitleText": "uni-app",
  35. "navigationStyle": "custom"
  36. }
  37. }
  38. // {
  39. // "path": "pages/set/index",
  40. // "style": {
  41. // "navigationBarTitleText": "uni-app",
  42. // "navigationStyle": "custom"
  43. // }
  44. // }
  45. ],
  46. "globalStyle": {
  47. "navigationBarTextStyle": "black",
  48. // "navigationBarTitleText": "uni-app",
  49. "navigationBarBackgroundColor": "#F8F8F8",
  50. "backgroundColor": "#F8F8F8",
  51. "app-plus": {
  52. "background": "#efeff4"
  53. }
  54. },
  55. "tabBar": {
  56. "color": "#CBC8C7", //字体颜色
  57. "selectedColor": "#F7790C", //选中时字体颜色
  58. "borderStyle": "black", //底部的上边框线条
  59. "backgroundColor": "#fff", //底部背景色
  60. "fontSize": "22rpx", //字体大小
  61. "spacing": "5px", //字体到图标的距离
  62. "height": "50px", //底部高
  63. // 引入字体图标库
  64. "iconfontSrc": "static/fonts/iconfont.ttf",
  65. "list": [
  66. // {
  67. // "pagePath": "pages/home/index",
  68. // "text": "自定义首页",
  69. // "iconPath": "static/tabbar/index.png",
  70. // "selectedIconPath": "static/tabbar/index_a.png"
  71. // },
  72. {
  73. "pagePath": "pages/index/index",
  74. "text": "首页",
  75. "iconPath": "static/tabbar/index.png",
  76. "selectedIconPath": "static/tabbar/index_a.png",
  77. // 优先级高于 iconPath,该属性依赖 tabbar 根节点的 iconfontSrc
  78. "iconfont": {
  79. "text": "\ue600", //  这是图标原始的编码
  80. "selectedText": "\ue600", //
  81. "fontSize": "17px", // 图标大小
  82. "color": "#333", // 未选中时,图标的颜色
  83. "selectedColor": "red" // 选中时,图标的颜色
  84. }
  85. },
  86. {
  87. "pagePath": "pages/my/index",
  88. "text": "我的",
  89. "iconPath": "static/tabbar/my.png",
  90. "selectedIconPath": "static/tabbar/my_a.png",
  91. "iconfont": {
  92. "text": "\ue8c6", //  这是图标原始的编码
  93. "selectedText": "\ue8c6", //
  94. "fontSize": "17px", // 图标大小
  95. "color": "#333", // 未选中时,图标的颜色
  96. "selectedColor": "red" // 选中时,图标的颜色
  97. }
  98. }
  99. ]
  100. }
  101. }