pages.json 5.5 KB

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