pages.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [
  6. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  7. {
  8. "path": "pages/index/index",
  9. "style": {
  10. "navigationBarTitleText": "币王"
  11. }
  12. },
  13. {
  14. "path": "pages/exchange/index",
  15. "style": {
  16. "navigationBarTitleText": "闪电兑换"
  17. }
  18. },
  19. {
  20. "path": "pages/property/index",
  21. "style": {
  22. "navigationBarTitleText": "资产"
  23. }
  24. },
  25. {
  26. "path": "pages/property/bill",
  27. "style": {
  28. "navigationBarTitleText": "用户账单"
  29. }
  30. },
  31. {
  32. "path": "pages/property/asset",
  33. "style": {
  34. "navigationBarTitleText": "资产记录"
  35. }
  36. },
  37. {
  38. "path": "pages/task/index",
  39. "style": {
  40. "navigationBarTitleText": "任务中心"
  41. }
  42. },
  43. {
  44. "path": "pages/contract/index",
  45. "style": {
  46. "navigationBarTitleText": "合约"
  47. }
  48. },
  49. {
  50. "path": "pages/contract/sustainability/index",
  51. "style": {}
  52. }
  53. ],
  54. "subPackages": [{
  55. "root": "pages/login",
  56. "pages": [
  57. {
  58. "path": "/index",
  59. "style": {
  60. "navigationBarTitleText": "登录"
  61. }
  62. },
  63. {
  64. "path": "/register",
  65. "style": {
  66. "navigationBarTitleText": "注册"
  67. }
  68. },
  69. {
  70. "path": "/email-verify",
  71. "style": {
  72. "navigationBarTitleText": "邮箱验证"
  73. }
  74. },
  75. {
  76. "path": "/area-code",
  77. "style": {
  78. "navigationBarTitleText": "国家/地区"
  79. }
  80. }
  81. ]
  82. },
  83. {
  84. "root": "pages/content",
  85. "pages": [{
  86. "path": "share",
  87. "style": {
  88. "navigationBarTitleText": "分享"
  89. }
  90. },
  91. {
  92. "path": "mine",
  93. "style": {
  94. "navigationBarTitleText": "个人中心"
  95. }
  96. },
  97. {
  98. "path": "select-currency",
  99. "style": {
  100. "navigationBarTitleText": "选择币种"
  101. }
  102. },
  103. {
  104. "path": "top-up",
  105. "style": {
  106. "navigationBarTitleText": "充币"
  107. }
  108. },
  109. {
  110. "path": "charge-record",
  111. "style": {
  112. "navigationBarTitleText": "充币记录"
  113. }
  114. },
  115. {
  116. "path": "setting",
  117. "style": {
  118. "navigationBarTitleText": "系统设置"
  119. }
  120. },
  121. {
  122. "path": "safety-set",
  123. "style": {
  124. "navigationBarTitleText": "安全设置"
  125. }
  126. },
  127. {
  128. "path": "change-password",
  129. "style": {
  130. "navigationBarTitleText": "修改密码"
  131. }
  132. },
  133. {
  134. "path": "customer-service",
  135. "style": {
  136. "navigationBarTitleText": "客服"
  137. }
  138. }
  139. ]
  140. }
  141. ],
  142. "tabBar": {
  143. "color": "#666666",
  144. "selectedColor": "#0ED47F",
  145. // "borderStyle": "#E7E7E7",
  146. // "backgroundColor": "#FFFFFF",
  147. "list": [{
  148. "pagePath": "pages/index/index",
  149. "iconPath": "./static/tabbar/tabbar_1.png",
  150. "selectedIconPath": "./static/tabbar/tabbar_1_1.png",
  151. "text": "首页"
  152. },
  153. {
  154. "pagePath": "pages/exchange/index",
  155. "iconPath": "./static/tabbar/tabbar_2.png",
  156. "selectedIconPath": "./static/tabbar/tabbar_2_2.png",
  157. "text": "币币"
  158. },
  159. {
  160. "pagePath": "pages/contract/index",
  161. "iconPath": "./static/tabbar/tabbar_3.png",
  162. "selectedIconPath": "./static/tabbar/tabbar_3_3.png",
  163. "text": "合约"
  164. },
  165. {
  166. "pagePath": "pages/task/index",
  167. "iconPath": "./static/tabbar/tabbar_4.png",
  168. "selectedIconPath": "./static/tabbar/tabbar_4_4.png",
  169. "text": "任务"
  170. },
  171. {
  172. "pagePath": "pages/property/index",
  173. "iconPath": "./static/tabbar/tabbar_5.png",
  174. "selectedIconPath": "./static/tabbar/tabbar_5_5.png",
  175. "text": "资产"
  176. }
  177. ]
  178. },
  179. "globalStyle": {
  180. "navigationStyle": "custom",
  181. "navigationBarTextStyle": "black",
  182. "navigationBarTitleText": "币王",
  183. "navigationBarBackgroundColor": "#F8F8F8",
  184. "backgroundColor": "#F8F8F8"
  185. },
  186. "uniIdRouter": {},
  187. "condition": { //模式配置,仅开发期间生效
  188. "current": 0, //当前激活的模式(list 的索引项)
  189. "list": [{
  190. "name": "", //模式名称
  191. "path": "", //启动页面,必选
  192. "query": "" //启动参数,在页面的onLoad函数里面得到
  193. }]
  194. }
  195. }