pages.json 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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" : "safety-verification",
  80. "style" : {
  81. "navigationBarTitleText" : "安全验证"
  82. }
  83. },
  84. {
  85. "path" : "area-code",
  86. "style" : {
  87. "navigationBarTitleText" : "国家/地区"
  88. }
  89. },
  90. {
  91. "path" : "retrieve-pswd",
  92. "style" : {
  93. "navigationBarTitleText" : "找回密码"
  94. }
  95. },
  96. {
  97. "path" : "reset-pswd",
  98. "style" : {
  99. "navigationBarTitleText" : "重置密码"
  100. }
  101. },
  102. {
  103. "path" : "submit-register",
  104. "style" : {
  105. "navigationBarTitleText" : "重置密码"
  106. }
  107. }
  108. ]
  109. },
  110. {
  111. "root" : "pages/content",
  112. "pages" : [
  113. {
  114. "path" : "share",
  115. "style" : {
  116. "navigationBarTitleText" : "分享"
  117. }
  118. },
  119. {
  120. "path" : "mine",
  121. "style" : {
  122. "navigationBarTitleText" : "个人中心"
  123. }
  124. },
  125. {
  126. "path" : "select-currency",
  127. "style" : {
  128. "navigationBarTitleText" : "选择币种"
  129. }
  130. },
  131. {
  132. "path" : "top-up",
  133. "style" : {
  134. "navigationBarTitleText" : "充币"
  135. }
  136. },
  137. {
  138. "path" : "charge-record",
  139. "style" : {
  140. "navigationBarTitleText" : "充币记录"
  141. }
  142. },
  143. {
  144. "path" : "setting",
  145. "style" : {
  146. "navigationBarTitleText" : "系统设置"
  147. }
  148. },
  149. {
  150. "path" : "safety-set",
  151. "style" : {
  152. "navigationBarTitleText" : "安全设置"
  153. }
  154. },
  155. {
  156. "path" : "change-password",
  157. "style" : {
  158. "navigationBarTitleText" : "修改密码"
  159. }
  160. },
  161. {
  162. "path" : "customer-service",
  163. "style" : {
  164. "navigationBarTitleText" : "客服"
  165. }
  166. },
  167. {
  168. "path" : "exchange-record",
  169. "style" : {
  170. "navigationBarTitleText" : "兑换记录"
  171. }
  172. },
  173. {
  174. "path" : "article-details",
  175. "style" : {
  176. "navigationBarTitleText" : "文章详情"
  177. }
  178. },
  179. {
  180. "path" : "address",
  181. "style" : {
  182. "navigationBarTitleText" : "地址管理"
  183. }
  184. },
  185. {
  186. "path" : "add-address",
  187. "style" : {
  188. "navigationBarTitleText" : "添加地址"
  189. }
  190. }
  191. ]
  192. }
  193. ],
  194. "tabBar" : {
  195. "color" : "#666666",
  196. "selectedColor" : "#0ED47F",
  197. // "borderStyle": "#E7E7E7",
  198. // "backgroundColor": "#FFFFFF",
  199. "list" : [
  200. {
  201. "pagePath" : "pages/index/index",
  202. "iconPath" : "./static/tabbar/tabbar_1.png",
  203. "selectedIconPath" : "./static/tabbar/tabbar_1_1.png",
  204. "text" : "首页"
  205. },
  206. {
  207. "pagePath" : "pages/exchange/index",
  208. "iconPath" : "./static/tabbar/tabbar_2.png",
  209. "selectedIconPath" : "./static/tabbar/tabbar_2_2.png",
  210. "text" : "币币"
  211. },
  212. {
  213. "pagePath" : "pages/contract/index",
  214. "iconPath" : "./static/tabbar/tabbar_3.png",
  215. "selectedIconPath" : "./static/tabbar/tabbar_3_3.png",
  216. "text" : "合约"
  217. },
  218. {
  219. "pagePath" : "pages/task/index",
  220. "iconPath" : "./static/tabbar/tabbar_4.png",
  221. "selectedIconPath" : "./static/tabbar/tabbar_4_4.png",
  222. "text" : "任务"
  223. },
  224. {
  225. "pagePath" : "pages/property/index",
  226. "iconPath" : "./static/tabbar/tabbar_5.png",
  227. "selectedIconPath" : "./static/tabbar/tabbar_5_5.png",
  228. "text" : "资产"
  229. }
  230. ]
  231. },
  232. "globalStyle" : {
  233. "navigationStyle" : "custom",
  234. "navigationBarTextStyle" : "black",
  235. "navigationBarTitleText" : "币王",
  236. "navigationBarBackgroundColor" : "#F8F8F8",
  237. "backgroundColor" : "#F8F8F8"
  238. },
  239. "uniIdRouter" : {},
  240. "condition" : {
  241. //模式配置,仅开发期间生效
  242. "current" : 0, //当前激活的模式(list 的索引项)
  243. "list" : [
  244. {
  245. "name" : "", //模式名称
  246. "path" : "", //启动页面,必选
  247. "query" : "" //启动参数,在页面的onLoad函数里面得到
  248. }
  249. ]
  250. }
  251. }