pages.json 6.2 KB

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