pages.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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/task/index",
  33. "style" : {
  34. "navigationBarTitleText" : "任务中心"
  35. }
  36. },
  37. {
  38. "path" : "pages/contract/index",
  39. "style" : {
  40. "navigationBarTitleText" : "合约"
  41. }
  42. },
  43. {
  44. "path" : "pages/contract/sustainability/index",
  45. "style" : {}
  46. },
  47. {
  48. "path" : "pages/contract/sustainability/lever",
  49. "style" : {}
  50. },
  51. {
  52. "path" : "pages/property/modules/contract/capital-switch",
  53. "style" : {}
  54. }
  55. ],
  56. "subPackages" : [
  57. {
  58. "root" : "pages/login",
  59. "pages" : [
  60. {
  61. "path" : "/index",
  62. "style" : {
  63. "navigationBarTitleText" : "登录"
  64. }
  65. },
  66. {
  67. "path" : "/register",
  68. "style" : {
  69. "navigationBarTitleText" : "注册"
  70. }
  71. },
  72. {
  73. "path" : "/email-verify",
  74. "style" : {
  75. "navigationBarTitleText" : "邮箱验证"
  76. }
  77. },
  78. {
  79. "path" : "/area-code",
  80. "style" : {
  81. "navigationBarTitleText" : "国家/地区"
  82. }
  83. }
  84. ]
  85. },
  86. {
  87. "root" : "pages/content",
  88. "pages" : [
  89. {
  90. "path" : "share",
  91. "style" : {
  92. "navigationBarTitleText" : "分享"
  93. }
  94. },
  95. {
  96. "path" : "mine",
  97. "style" : {
  98. "navigationBarTitleText" : "个人中心"
  99. }
  100. },
  101. {
  102. "path" : "select-currency",
  103. "style" : {
  104. "navigationBarTitleText" : "选择币种"
  105. }
  106. },
  107. {
  108. "path" : "top-up",
  109. "style" : {
  110. "navigationBarTitleText" : "充币"
  111. }
  112. },
  113. {
  114. "path" : "charge-record",
  115. "style" : {
  116. "navigationBarTitleText" : "充币记录"
  117. }
  118. },
  119. {
  120. "path" : "setting",
  121. "style" : {
  122. "navigationBarTitleText" : "系统设置"
  123. }
  124. },
  125. {
  126. "path" : "safety-set",
  127. "style" : {
  128. "navigationBarTitleText" : "安全设置"
  129. }
  130. },
  131. {
  132. "path" : "change-password",
  133. "style" : {
  134. "navigationBarTitleText" : "修改密码"
  135. }
  136. },
  137. {
  138. "path" : "customer-service",
  139. "style" : {
  140. "navigationBarTitleText" : "客服"
  141. }
  142. },
  143. {
  144. "path" : "exchange-record",
  145. "style" : {
  146. "navigationBarTitleText" : "兑换记录"
  147. }
  148. },
  149. {
  150. "path" : "article-details",
  151. "style" : {
  152. "navigationBarTitleText" : "文章详情"
  153. }
  154. },
  155. {
  156. "path" : "address",
  157. "style" : {
  158. "navigationBarTitleText" : "地址管理"
  159. }
  160. },
  161. {
  162. "path" : "add-address",
  163. "style" : {
  164. "navigationBarTitleText" : "添加地址"
  165. }
  166. }
  167. ]
  168. }
  169. ],
  170. "tabBar" : {
  171. "color" : "#666666",
  172. "selectedColor" : "#0ED47F",
  173. // "borderStyle": "#E7E7E7",
  174. // "backgroundColor": "#FFFFFF",
  175. "list" : [
  176. {
  177. "pagePath" : "pages/index/index",
  178. "iconPath" : "./static/tabbar/tabbar_1.png",
  179. "selectedIconPath" : "./static/tabbar/tabbar_1_1.png",
  180. "text" : "首页"
  181. },
  182. {
  183. "pagePath" : "pages/exchange/index",
  184. "iconPath" : "./static/tabbar/tabbar_2.png",
  185. "selectedIconPath" : "./static/tabbar/tabbar_2_2.png",
  186. "text" : "币币"
  187. },
  188. {
  189. "pagePath" : "pages/contract/index",
  190. "iconPath" : "./static/tabbar/tabbar_3.png",
  191. "selectedIconPath" : "./static/tabbar/tabbar_3_3.png",
  192. "text" : "合约"
  193. },
  194. {
  195. "pagePath" : "pages/task/index",
  196. "iconPath" : "./static/tabbar/tabbar_4.png",
  197. "selectedIconPath" : "./static/tabbar/tabbar_4_4.png",
  198. "text" : "任务"
  199. },
  200. {
  201. "pagePath" : "pages/property/index",
  202. "iconPath" : "./static/tabbar/tabbar_5.png",
  203. "selectedIconPath" : "./static/tabbar/tabbar_5_5.png",
  204. "text" : "资产"
  205. }
  206. ]
  207. },
  208. "globalStyle" : {
  209. "navigationStyle" : "custom",
  210. "navigationBarTextStyle" : "black",
  211. "navigationBarTitleText" : "币王",
  212. "navigationBarBackgroundColor" : "#F8F8F8",
  213. "backgroundColor" : "#F8F8F8"
  214. },
  215. "uniIdRouter" : {},
  216. "condition" : {
  217. //模式配置,仅开发期间生效
  218. "current" : 0, //当前激活的模式(list 的索引项)
  219. "list" : [
  220. {
  221. "name" : "", //模式名称
  222. "path" : "", //启动页面,必选
  223. "query" : "" //启动参数,在页面的onLoad函数里面得到
  224. }
  225. ]
  226. }
  227. }