pages.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue",
  4. "layout": "@/layout/index.vue"
  5. },
  6. "pages": [
  7. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  8. {
  9. "path": "pages/index/index",
  10. "style": {
  11. "navigationBarTitleText": "张四爷剧场",
  12. "enablePullDownRefresh": false
  13. }
  14. },
  15. {
  16. "path": "pages/login",
  17. "style": {
  18. "navigationBarTitleText": "张四爷剧场",
  19. "enablePullDownRefresh": false
  20. }
  21. },
  22. {
  23. "path": "pages/index/rank",
  24. "style": {
  25. "navigationBarTitleText": "排行榜",
  26. "enablePullDownRefresh": false
  27. }
  28. },
  29. {
  30. "path": "pages/index/news",
  31. "style": {
  32. "navigationBarTitleText": "最新",
  33. "enablePullDownRefresh": false
  34. }
  35. },
  36. {
  37. "path": "pages/index/search",
  38. "style": {
  39. "navigationBarTitleText": "搜索结果",
  40. "enablePullDownRefresh": false
  41. }
  42. },
  43. {
  44. "path": "pages/trace/index",
  45. "style": {
  46. "navigationBarTitleText": "张四爷剧场",
  47. "enablePullDownRefresh": false
  48. }
  49. },
  50. {
  51. "path": "pages/my/index",
  52. "style": {
  53. "navigationBarTitleText": "张四爷剧场",
  54. "enablePullDownRefresh": false
  55. }
  56. },
  57. {
  58. "path": "pages/trace/collect",
  59. "style": {
  60. "navigationBarTitleText": "我的收藏",
  61. "enablePullDownRefresh": false
  62. }
  63. },
  64. {
  65. "path": "pages/trace/list",
  66. "style": {
  67. "navigationBarTitleText": "张四爷剧场",
  68. "enablePullDownRefresh": false
  69. }
  70. },
  71. {
  72. "path": "pages/my/consume",
  73. "style": {
  74. "navigationBarTitleText": "消费记录",
  75. "enablePullDownRefresh": false
  76. }
  77. },
  78. {
  79. "path": "pages/my/history",
  80. "style": {
  81. "navigationBarTitleText": "历史记录",
  82. "enablePullDownRefresh": false
  83. }
  84. },
  85. {
  86. "path": "pages/my/recharge",
  87. "style": {
  88. "navigationBarTitleText": "充值记录",
  89. "enablePullDownRefresh": false
  90. }
  91. },
  92. {
  93. "path": "pages/my/protocol",
  94. "style": {
  95. "navigationBarTitleText": "用户协议",
  96. "enablePullDownRefresh": false
  97. }
  98. },
  99. {
  100. "path": "pages/sign/index",
  101. "style": {
  102. "navigationBarTitleText": "签到",
  103. "enablePullDownRefresh": false
  104. }
  105. },
  106. {
  107. "path": "pages/member/index",
  108. "style": {
  109. "navigationBarTitleText": "会员",
  110. "enablePullDownRefresh": false
  111. }
  112. },
  113. {
  114. "path": "pages/member/free",
  115. "style": {
  116. "navigationBarTitleText": "会员免费片单",
  117. "enablePullDownRefresh": false
  118. }
  119. },
  120. {
  121. "path": "pages/episode/play",
  122. "style": {
  123. "navigationBarTitleText": "播放",
  124. "enablePullDownRefresh": false
  125. }
  126. }
  127. ],
  128. "globalStyle": {
  129. "navigationBarTextStyle": "white", // black or white
  130. "navigationBarTitleText": "张四爷剧场",
  131. "navigationBarBackgroundColor": "#151728",
  132. "backgroundColor": "#151728"
  133. },
  134. "tabBar": {
  135. "custom": true,
  136. "color": "#8a8a8a",
  137. "selectedColor": "#6EEBE8",
  138. "backgroundColor": "#17162B",
  139. "borderStyle": "black",
  140. "list": [
  141. {
  142. "pagePath": "pages/index/index",
  143. "iconPath": "static/image/tab/home.png",
  144. "selectedIconPath": "static/image/tab/home-HL.png",
  145. "text": "首页"
  146. },
  147. {
  148. "pagePath": "pages/trace/index",
  149. "iconPath": "static/image/tab/trace.png",
  150. "selectedIconPath": "static/image/tab/trace-HL.png",
  151. "text": "追剧"
  152. },
  153. {
  154. "pagePath": "pages/my/index",
  155. "iconPath": "static/image/tab/my.png",
  156. "selectedIconPath": "static/image/tab/my-HL.png",
  157. "text": "我的"
  158. }
  159. ]
  160. }
  161. }