pages.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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/history/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. "path": "pages/property/modules/contract/capital-switch",
  59. "style": {}
  60. }
  61. ],
  62. "subPackages": [{
  63. "root": "pages/login",
  64. "pages": [{
  65. "path": "index",
  66. "style": {
  67. "navigationBarTitleText": "登录"
  68. }
  69. },
  70. {
  71. "path": "register",
  72. "style": {
  73. "navigationBarTitleText": "注册"
  74. }
  75. },
  76. {
  77. "path": "email-verify",
  78. "style": {
  79. "navigationBarTitleText": "邮箱验证"
  80. }
  81. },
  82. {
  83. "path": "safety-verification",
  84. "style": {
  85. "navigationBarTitleText": "安全验证"
  86. }
  87. },
  88. {
  89. "path": "area-code",
  90. "style": {
  91. "navigationBarTitleText": "国家/地区"
  92. }
  93. },
  94. {
  95. "path": "retrieve-pswd",
  96. "style": {
  97. "navigationBarTitleText": "找回密码"
  98. }
  99. },
  100. {
  101. "path": "reset-pswd",
  102. "style": {
  103. "navigationBarTitleText": "重置密码"
  104. }
  105. },
  106. {
  107. "path": "submit-register",
  108. "style": {
  109. "navigationBarTitleText": "重置密码"
  110. }
  111. }
  112. ]
  113. },
  114. {
  115. "root": "pages/content",
  116. "pages": [{
  117. "path": "share",
  118. "style": {
  119. "navigationBarTitleText": "分享"
  120. }
  121. },
  122. {
  123. "path": "mine",
  124. "style": {
  125. "navigationBarTitleText": "个人中心"
  126. }
  127. },
  128. {
  129. "path": "select-currency",
  130. "style": {
  131. "navigationBarTitleText": "选择币种"
  132. }
  133. },
  134. {
  135. "path": "top-up",
  136. "style": {
  137. "navigationBarTitleText": "充币"
  138. }
  139. },
  140. {
  141. "path": "charge-record",
  142. "style": {
  143. "navigationBarTitleText": "充币记录"
  144. }
  145. },
  146. {
  147. "path": "setting",
  148. "style": {
  149. "navigationBarTitleText": "系统设置"
  150. }
  151. },
  152. {
  153. "path": "safety-set",
  154. "style": {
  155. "navigationBarTitleText": "安全设置"
  156. }
  157. },
  158. {
  159. "path": "change-password",
  160. "style": {
  161. "navigationBarTitleText": "修改密码"
  162. }
  163. },
  164. {
  165. "path": "customer-service",
  166. "style": {
  167. "navigationBarTitleText": "客服"
  168. }
  169. },
  170. {
  171. "path": "exchange-record",
  172. "style": {
  173. "navigationBarTitleText": "兑换记录"
  174. }
  175. },
  176. {
  177. "path": "article-details",
  178. "style": {
  179. "navigationBarTitleText": "文章详情"
  180. }
  181. },
  182. {
  183. "path": "address",
  184. "style": {
  185. "navigationBarTitleText": "地址管理"
  186. }
  187. },
  188. {
  189. "path": "add-address",
  190. "style": {
  191. "navigationBarTitleText": "添加地址"
  192. }
  193. },
  194. {
  195. "path": "diagnose",
  196. "style": {
  197. "navigationBarTitleText": "用户辅助诊断页面..."
  198. }
  199. },
  200. {
  201. "path": "language",
  202. "style": {
  203. "navigationBarTitleText": "语言切换"
  204. }
  205. },
  206. {
  207. "path": "shortcut-buy",
  208. "style": {
  209. "navigationBarTitleText": "快捷买币"
  210. }
  211. },
  212. {
  213. "path": "bind",
  214. "style": {
  215. "navigationBarTitleText": "绑定"
  216. }
  217. },
  218. {
  219. "path": "money-password",
  220. "style": {
  221. "navigationBarTitleText": "设置资金密码"
  222. }
  223. },
  224. {
  225. "path": "h5-list",
  226. "style": {
  227. "navigationBarTitleText": "列表"
  228. }
  229. }
  230. ]
  231. }
  232. ],
  233. "tabBar": {
  234. "height": "50px",
  235. "color": "#666666",
  236. "selectedColor": "#0ED47F",
  237. // "borderStyle": "#E7E7E7",
  238. // "backgroundColor": "#FFFFFF",
  239. "list": [{
  240. "pagePath": "pages/index/index",
  241. "iconPath": "./static/tabbar/tabbar_1.png",
  242. "selectedIconPath": "./static/tabbar/tabbar_1_1.png",
  243. "text": "首页"
  244. },
  245. {
  246. "pagePath": "pages/exchange/index",
  247. "iconPath": "./static/tabbar/tabbar_2.png",
  248. "selectedIconPath": "./static/tabbar/tabbar_2_2.png",
  249. "text": "币币"
  250. },
  251. {
  252. "pagePath": "pages/contract/index",
  253. "iconPath": "./static/tabbar/tabbar_3.png",
  254. "selectedIconPath": "./static/tabbar/tabbar_3_3.png",
  255. "text": "合约"
  256. },
  257. {
  258. "pagePath": "pages/task/index",
  259. "iconPath": "./static/tabbar/tabbar_4.png",
  260. "selectedIconPath": "./static/tabbar/tabbar_4_4.png",
  261. "text": "任务"
  262. },
  263. {
  264. "pagePath": "pages/property/index",
  265. "iconPath": "./static/tabbar/tabbar_5.png",
  266. "selectedIconPath": "./static/tabbar/tabbar_5_5.png",
  267. "text": "资产"
  268. }
  269. ]
  270. },
  271. "globalStyle": {
  272. "navigationStyle": "custom",
  273. "navigationBarTextStyle": "black",
  274. "navigationBarTitleText": "币王",
  275. "navigationBarBackgroundColor": "#F8F8F8",
  276. "backgroundColor": "#F8F8F8"
  277. },
  278. "uniIdRouter": {},
  279. "condition": {
  280. //模式配置,仅开发期间生效
  281. "current": 0, //当前激活的模式(list 的索引项)
  282. "list": [{
  283. "name": "", //模式名称
  284. "path": "", //启动页面,必选
  285. "query": "" //启动参数,在页面的onLoad函数里面得到
  286. }]
  287. }
  288. }