pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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/trace/index",
  17. "style": {
  18. "navigationBarTitleText": "张四爷剧场",
  19. "enablePullDownRefresh": false
  20. }
  21. },
  22. {
  23. "path": "pages/my/index",
  24. "style": {
  25. "navigationBarTitleText": "张四爷剧场",
  26. "enablePullDownRefresh": false
  27. }
  28. },
  29. {
  30. "path": "pages/trace/collect",
  31. "style": {
  32. "navigationBarTitleText": "我的收藏",
  33. "enablePullDownRefresh": false
  34. }
  35. },
  36. {
  37. "path": "pages/trace/trace",
  38. "style": {
  39. "navigationBarTitleText": "我的追剧",
  40. "enablePullDownRefresh": false
  41. }
  42. },
  43. {
  44. "path": "pages/my/consume",
  45. "style": {
  46. "navigationBarTitleText": "消费记录",
  47. "enablePullDownRefresh": false
  48. }
  49. },
  50. {
  51. "path": "pages/my/history",
  52. "style": {
  53. "navigationBarTitleText": "历史记录",
  54. "enablePullDownRefresh": false
  55. }
  56. },
  57. {
  58. "path": "pages/my/recharge",
  59. "style": {
  60. "navigationBarTitleText": "充值记录",
  61. "enablePullDownRefresh": false
  62. }
  63. },
  64. {
  65. "path": "pages/my/protocol",
  66. "style": {
  67. "navigationBarTitleText": "用户协议",
  68. "enablePullDownRefresh": false
  69. }
  70. },
  71. {
  72. "path": "pages/sign/index",
  73. "style": {
  74. "navigationBarTitleText": "签到",
  75. "enablePullDownRefresh": false
  76. }
  77. },
  78. {
  79. "path": "pages/member/index",
  80. "style": {
  81. "navigationBarTitleText": "会员",
  82. "enablePullDownRefresh": false
  83. }
  84. },
  85. {
  86. "path": "pages/member/free",
  87. "style": {
  88. "navigationBarTitleText": "会员免费片单",
  89. "enablePullDownRefresh": false
  90. }
  91. },
  92. {
  93. "path": "pages/episode/play",
  94. "style": {
  95. "navigationBarTitleText": "播放",
  96. "enablePullDownRefresh": false
  97. }
  98. }
  99. ],
  100. "globalStyle": {
  101. "navigationBarTextStyle": "white", // black or white
  102. "navigationBarTitleText": "张四爷剧场",
  103. "navigationBarBackgroundColor": "#151728",
  104. "backgroundColor": "#151728"
  105. },
  106. "tabBar": {
  107. "custom": true,
  108. "color": "#8a8a8a",
  109. "selectedColor": "#6EEBE8",
  110. "backgroundColor": "#17162B",
  111. "borderStyle": "black",
  112. "list": [
  113. {
  114. "pagePath": "pages/index/index",
  115. "iconPath": "static/image/tab/home.png",
  116. "selectedIconPath": "static/image/tab/home-HL.png",
  117. "text": "首页"
  118. },
  119. {
  120. "pagePath": "pages/trace/index",
  121. "iconPath": "static/image/tab/trace.png",
  122. "selectedIconPath": "static/image/tab/trace-HL.png",
  123. "text": "追剧"
  124. },
  125. {
  126. "pagePath": "pages/my/index",
  127. "iconPath": "static/image/tab/my.png",
  128. "selectedIconPath": "static/image/tab/my-HL.png",
  129. "text": "我的"
  130. }
  131. ]
  132. }
  133. }