pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. "pages": [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. //"navigationStyle": "custom" 隐藏了才能触发自定义的
  5. {
  6. "path": "pages/index/index",
  7. "style": {
  8. "navigationBarTitleText": "个人中心",
  9. "navigationBarTextStyle": "white",
  10. "navigationBarBackgroundColor": "#3F8DFD",
  11. "navigationStyle": "custom"
  12. }
  13. },
  14. {
  15. "path": "pages/login/login",
  16. "style": {
  17. "navigationBarTitleText": "登录",
  18. "navigationStyle": "custom"
  19. }
  20. },
  21. {
  22. "path": "pages/login/register",
  23. "style": {
  24. "navigationBarTitleText": "注册",
  25. "navigationStyle": "custom"
  26. }
  27. },
  28. {
  29. "path": "pages/login/forget",
  30. "style": {
  31. "navigationBarTitleText": "忘记密码",
  32. "navigationStyle": "custom"
  33. }
  34. },
  35. {
  36. "path": "pages/profile/index",
  37. "style": {
  38. "navigationBarTitleText": "修改资料",
  39. "navigationStyle": "custom"
  40. }
  41. },
  42. {
  43. "path": "pages/vcard/index",
  44. "style": {
  45. "navigationBarTitleText": "电子名片",
  46. "navigationBarBackgroundColor": "#353F5C",
  47. "navigationBarTextStyle": "white"
  48. }
  49. },
  50. {
  51. "path": "pages/actlist/index",
  52. "style": {
  53. "navigationBarTitleText": "活动列表",
  54. "enablePullDownRefresh": false,
  55. "navigationStyle": "custom"
  56. }
  57. },
  58. {
  59. "path": "pages/commission/index",
  60. "style": {
  61. "navigationBarTitleText": "佣金列表",
  62. "enablePullDownRefresh": false,
  63. "navigationStyle": "custom"
  64. }
  65. },
  66. {
  67. "path": "pages/comdetail/index",
  68. "style": {
  69. "navigationBarTitleText": "详情",
  70. "enablePullDownRefresh": false,
  71. "navigationStyle": "custom"
  72. }
  73. },
  74. {
  75. "path": "pages/cashout/index",
  76. "style": {
  77. "navigationBarTitleText": "申请提现",
  78. "enablePullDownRefresh": false,
  79. "navigationStyle": "custom"
  80. }
  81. },
  82. {
  83. "path": "pages/cashout/record",
  84. "style": {
  85. "navigationBarTitleText": "提现记录",
  86. "enablePullDownRefresh": false,
  87. "navigationStyle": "custom"
  88. }
  89. },
  90. {
  91. "path": "pages/actdetail/index",
  92. "style": {
  93. "navigationBarTitleText": "详情",
  94. "navigationBarTextStyle": "white",
  95. "navigationBarBackgroundColor": "#3F8DFD",
  96. "navigationStyle": "custom"
  97. }
  98. },
  99. {
  100. "path": "pages/bill/index",
  101. "style": {
  102. "navigationBarTitleText": "海报",
  103. "navigationStyle": "custom"
  104. }
  105. }
  106. ],
  107. "globalStyle": {
  108. "navigationBarTextStyle": "black",
  109. "navigationBarTitleText": "uni-app",
  110. "navigationBarBackgroundColor": "#FFFFFF",
  111. "backgroundColor": "#FFFFFF"
  112. },
  113. "uniIdRouter": {},
  114. "easycom": {
  115. "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
  116. },
  117. "condition" : { //模式配置,仅开发期间生效
  118. "current": 0, //当前激活的模式(list 的索引项)
  119. "list": [
  120. {
  121. "name": "", //模式名称
  122. "path": "", //启动页面,必选
  123. "query": "" //启动参数,在页面的onLoad函数里面得到
  124. }
  125. ]
  126. }
  127. }