uni-events-helper-wx
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
3.2 KiB

3 years ago
3 years ago
3 years ago
  1. {
  2. "easycom": { //easycom,
  3. "autoscan": true,
  4. "custom": {
  5. // "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue",
  6. "^uni-(.*)": "@/components/uni-$1/uni-$1.vue",
  7. "^nx-(.*)": "@/components/nx-$1/nx-$1.vue"
  8. }
  9. },
  10. "pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
  11. {
  12. "path": "pages/index/index",
  13. "aliasPath": "/",
  14. "name":"index",
  15. "style": {
  16. "navigationBarTitleText": "赛事助手",
  17. "navigationBarBackgroundColor":"#009874",
  18. "navigationBarTextStyle":"white"
  19. }
  20. },
  21. {
  22. "path": "pages/message/center_list",
  23. "name":"messageList",
  24. "style": {
  25. "navigationBarTitleText": "消息列表",
  26. "navigationBarBackgroundColor":"#009874",
  27. "navigationBarTextStyle":"white"
  28. }
  29. },
  30. {
  31. "path": "pages/message/detail",
  32. "name":"messageDetail",
  33. "style": {
  34. "navigationBarTitleText": "消息详情",
  35. "navigationBarBackgroundColor":"#009874",
  36. "navigationBarTextStyle":"white"
  37. }
  38. },
  39. {
  40. "path": "pages/event/event_grade",
  41. "name":"eventGrade",
  42. "style": {
  43. "navigationBarTitleText": "赛事打分",
  44. "navigationBarBackgroundColor":"#009874",
  45. "navigationBarTextStyle":"white"
  46. }
  47. },
  48. {
  49. "path": "pages/event/event_list",
  50. "name":"eventList",
  51. "style": {
  52. "navigationBarTitleText": "赛事列表",
  53. "navigationBarBackgroundColor":"#009874",
  54. "navigationBarTextStyle":"white"
  55. }
  56. },
  57. {
  58. "path": "pages/login/reg",
  59. "name":"reg",
  60. "style": {
  61. "navigationBarTitleText": "注册",
  62. "navigationBarBackgroundColor":"#009874",
  63. "navigationBarTextStyle":"white"
  64. }
  65. },
  66. {
  67. "path": "pages/login/login",
  68. "name":"login",
  69. "style": {
  70. "navigationBarTitleText": "登录",
  71. "navigationBarBackgroundColor":"#009874",
  72. "navigationBarTextStyle":"white"
  73. }
  74. },
  75. {
  76. "path": "pages/login/forget",
  77. "name":"forget",
  78. "style": {
  79. "navigationBarTitleText": "忘记密码",
  80. "navigationBarBackgroundColor":"#009874",
  81. "navigationBarTextStyle":"white"
  82. }
  83. },
  84. {
  85. "path": "pages/login/agreement",
  86. "name":"agreement",
  87. "style": {
  88. "navigationBarTitleText": "用户协议",
  89. "navigationBarBackgroundColor":"#009874",
  90. "navigationBarTextStyle":"white"
  91. }
  92. },
  93. {
  94. "path": "pages/me/index",
  95. "name":"me",
  96. "style": {
  97. "navigationBarTitleText": "我的",
  98. "navigationBarBackgroundColor":"#009874",
  99. "navigationBarTextStyle":"white"
  100. }
  101. }
  102. ],
  103. "subPackages": [{
  104. "root": "pages/public",
  105. "pages": [{
  106. "path": "404",
  107. "name": "404",
  108. "style": {
  109. "navigationBarTitleText": "请重试"
  110. }
  111. }]
  112. }],
  113. "globalStyle": {
  114. "navigationBarTextStyle": "black",
  115. "navigationBarTitleText": "通用模板",
  116. "navigationBarBackgroundColor": "#F8F8F8",
  117. "backgroundColor": "#F8F8F8"
  118. },
  119. "condition": { //
  120. "current": 0, //(list )
  121. "list": [
  122. {
  123. "name": "登录页面", //
  124. "path": "pages/index/index", //
  125. "query": "" //onLoad
  126. }
  127. ]
  128. }
  129. }