pages.json 6.2 KB

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