pages.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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. }
  145. ],
  146. "tabBar" : {
  147. "color" : "#666666",
  148. "selectedColor" : "#0ED47F",
  149. // "borderStyle": "#E7E7E7",
  150. // "backgroundColor": "#FFFFFF",
  151. "list" : [
  152. {
  153. "pagePath" : "pages/index/index",
  154. "iconPath" : "./static/tabbar/tabbar_1.png",
  155. "selectedIconPath" : "./static/tabbar/tabbar_1_1.png",
  156. "text" : "首页"
  157. },
  158. {
  159. "pagePath" : "pages/exchange/index",
  160. "iconPath" : "./static/tabbar/tabbar_2.png",
  161. "selectedIconPath" : "./static/tabbar/tabbar_2_2.png",
  162. "text" : "币币"
  163. },
  164. {
  165. "pagePath" : "pages/contract/index",
  166. "iconPath" : "./static/tabbar/tabbar_3.png",
  167. "selectedIconPath" : "./static/tabbar/tabbar_3_3.png",
  168. "text" : "合约"
  169. },
  170. {
  171. "pagePath" : "pages/task/index",
  172. "iconPath" : "./static/tabbar/tabbar_4.png",
  173. "selectedIconPath" : "./static/tabbar/tabbar_4_4.png",
  174. "text" : "任务"
  175. },
  176. {
  177. "pagePath" : "pages/property/index",
  178. "iconPath" : "./static/tabbar/tabbar_5.png",
  179. "selectedIconPath" : "./static/tabbar/tabbar_5_5.png",
  180. "text" : "资产"
  181. }
  182. ]
  183. },
  184. "globalStyle" : {
  185. "navigationStyle" : "custom",
  186. "navigationBarTextStyle" : "black",
  187. "navigationBarTitleText" : "币王",
  188. "navigationBarBackgroundColor" : "#F8F8F8",
  189. "backgroundColor" : "#F8F8F8"
  190. },
  191. "uniIdRouter" : {},
  192. "condition" : {
  193. //模式配置,仅开发期间生效
  194. "current" : 0, //当前激活的模式(list 的索引项)
  195. "list" : [
  196. {
  197. "name" : "", //模式名称
  198. "path" : "", //启动页面,必选
  199. "query" : "" //启动参数,在页面的onLoad函数里面得到
  200. }
  201. ]
  202. }
  203. }