pages.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. {
  2. "tabBar": {
  3. "color": "#000000",
  4. "selectedColor": "#fa2209",
  5. "borderStyle": "black",
  6. "backgroundColor": "#ffffff",
  7. "list": [
  8. {
  9. "pagePath": "pages/index/index",
  10. "iconPath": "static/tabbar/home.png",
  11. "selectedIconPath": "static/tabbar/home-active.png",
  12. "text": "首页"
  13. },
  14. {
  15. "pagePath": "pages/user/index",
  16. "iconPath": "static/tabbar/user.png",
  17. "selectedIconPath": "static/tabbar/user-active.png",
  18. "text": "我的"
  19. }
  20. ]
  21. },
  22. "pages": [
  23. // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  24. // **信飞通官网** - static
  25. {
  26. "path": "pages/web/home/index",
  27. "style": {
  28. "navigationBarTitleText": "首页",
  29. "navigationStyle": "custom"
  30. }
  31. },
  32. {
  33. "path": "pages/web/product/index",
  34. "style": {
  35. "navigationBarTitleText": "产品",
  36. "navigationStyle": "custom"
  37. }
  38. },
  39. {
  40. "path": "pages/web/dynamic/index",
  41. "style": {
  42. "navigationBarTitleText": "最新动态",
  43. "navigationStyle": "custom"
  44. }
  45. },
  46. {
  47. "path": "pages/web/about/index",
  48. "style": {
  49. "navigationBarTitleText": "关于我们",
  50. "navigationStyle": "custom"
  51. }
  52. },
  53. {
  54. "path": "pages/web/contact/index",
  55. "style": {
  56. "navigationBarTitleText": "联系我们",
  57. "navigationStyle": "custom"
  58. }
  59. },
  60. // **信飞通官网** - end
  61. // **用户激活端口** - static
  62. {
  63. "path": "pages/activationcode/index",
  64. "style": {
  65. "enablePullDownRefresh": false,
  66. "navigationStyle": "custom"
  67. }
  68. },
  69. // **用户激活端口** - end
  70. // **个人中心界面** - static
  71. {
  72. "path": "pages/user/index",
  73. "style": {
  74. "navigationBarTitleText": "个人中心",
  75. "enablePullDownRefresh": true,
  76. "navigationStyle": "custom"
  77. }
  78. },
  79. {
  80. "path": "pages/user/realname/index",
  81. "style": {
  82. "navigationBarTitleText": "实名认证"
  83. }
  84. },
  85. {
  86. "path": "pages/user/activatorder/index",
  87. "style": {
  88. "navigationBarTitleText": "激活订单"
  89. }
  90. },
  91. {
  92. "path": "pages/user/userxieyi/index",
  93. "style": {
  94. "navigationBarTitleText": "用户协议"
  95. }
  96. }
  97. // **个人中心界面** - end
  98. ],
  99. "globalStyle": {
  100. // #ifdef H5
  101. // "navigationStyle": "custom",
  102. "maxWidth": 19200,
  103. "rpxCalcMaxDeviceWidth": 19200, // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960
  104. "rpxCalcBaseDeviceWidth": 375, // rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375
  105. "rpxCalcIncludeWidth": 750, // rpx 计算特殊处理的值,始终按实际的设备宽度计算,单位 rpx,默认值为 750
  106. // #endif
  107. "navigationBarBackgroundColor": "#ffffff",
  108. "navigationBarTitleText": "",
  109. "navigationBarTextStyle": "black",
  110. "backgroundTextStyle": "dark"
  111. },
  112. "easycom": {
  113. "autoscan": true,
  114. "custom": {}
  115. },
  116. "uni-app": {
  117. "scripts": {
  118. "dev": {
  119. "title": "build:dev",
  120. "env": {
  121. "UNI_PLATFORM": "h5",
  122. "H_NODE_ENV": "dev",
  123. "H_BASEURL": "https://hnapi.kdboss.cn",
  124. "H_REDIRECT": "xxx"
  125. }
  126. },
  127. "test": {
  128. "title": "build:test",
  129. "env": {
  130. "UNI_PLATFORM": "h5",
  131. "H_NODE_ENV": "test",
  132. "H_BASEURL": "https://hnapi.kdboss.cn",
  133. "H_REDIRECT": "xxx"
  134. }
  135. },
  136. "prod": {
  137. "title": "build:prod",
  138. "env": {
  139. "UNI_PLATFORM": "h5",
  140. "H_NODE_ENV": "prod",
  141. "H_BASEURL": "https://hnapi.kdboss.cn",
  142. "H_REDIRECT": "xxx"
  143. }
  144. }
  145. }
  146. }
  147. }