抖音平台小程序

pages.json 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [
  6. {
  7. "path": "pages/movie/movie",
  8. "style": {
  9. "navigationStyle": "default",
  10. "navigationBarBackgroundColor": "#ffffff",
  11. "navigationBarTextStyle": "black",
  12. "navigationBarTitleText": "短剧",
  13. "transparentTitle": "auto",
  14. "enablePullDownRefresh": true
  15. }
  16. },
  17. {
  18. "path": "pages/watching/watching",
  19. "style": {
  20. "navigationStyle": "default",
  21. "navigationBarBackgroundColor": "#ffffff",
  22. "navigationBarTextStyle": "black",
  23. "navigationBarTitleText": "追剧",
  24. "transparentTitle": "auto",
  25. "enablePullDownRefresh": true
  26. }
  27. },
  28. {
  29. "path": "pages/my/my",
  30. "style": {
  31. "navigationStyle": "default",
  32. "navigationBarBackgroundColor": "#ffffff",
  33. "navigationBarTextStyle": "black",
  34. "navigationBarTitleText": "我的",
  35. "transparentTitle": "auto"
  36. }
  37. }
  38. ],
  39. "subPackages": [
  40. {
  41. "root": "pages/subPackages/videoPlayer",
  42. "pages": [
  43. {
  44. "path": "index",
  45. "style": {
  46. "navigationStyle": "default",
  47. "navigationBarBackgroundColor": "#000000",
  48. "navigationBarTextStyle": "white",
  49. "navigationBarTitleText": "播放",
  50. "transparentTitle": "auto",
  51. "usingComponents": {
  52. "video-player-dy": "/ttcomponents/video-player/index"
  53. }
  54. }
  55. }
  56. ]
  57. },
  58. {
  59. "root": "pages/subPackages/search",
  60. "pages": [
  61. {
  62. "path": "index",
  63. "style": {
  64. "navigationStyle": "default",
  65. "navigationBarBackgroundColor": "#ffffff",
  66. "navigationBarTextStyle": "black",
  67. "navigationBarTitleText": "搜索",
  68. "transparentTitle": "auto"
  69. }
  70. }
  71. ]
  72. },
  73. {
  74. "root": "pages/subPackages/history",
  75. "pages": [
  76. {
  77. "path": "index",
  78. "style": {
  79. "navigationStyle": "default",
  80. "navigationBarBackgroundColor": "#ffffff",
  81. "navigationBarTextStyle": "black",
  82. "navigationBarTitleText": "观看历史",
  83. "transparentTitle": "auto",
  84. "enablePullDownRefresh": true
  85. }
  86. }
  87. ]
  88. },
  89. {
  90. "root": "pages/subPackages/like",
  91. "pages": [
  92. {
  93. "path": "index",
  94. "style": {
  95. "navigationStyle": "default",
  96. "navigationBarBackgroundColor": "#ffffff",
  97. "navigationBarTextStyle": "black",
  98. "navigationBarTitleText": "喜欢",
  99. "transparentTitle": "auto",
  100. "enablePullDownRefresh": true
  101. }
  102. }
  103. ]
  104. }
  105. ],
  106. "tabBar": {
  107. "color": "#7B7B7B",
  108. "selectedColor": "#F85555",
  109. "backgroundColor": "#fff",
  110. "borderStyle": "white",
  111. "list": [
  112. {
  113. "pagePath": "pages/movie/movie",
  114. "iconPath": "/static/tabBar/movie-off.png",
  115. "selectedIconPath": "/static/tabBar/movie-on.png",
  116. "text": "剧场"
  117. },
  118. {
  119. "pagePath": "pages/watching/watching",
  120. "iconPath": "/static/tabBar/watching-off.png",
  121. "selectedIconPath": "/static/tabBar/watching-on.png",
  122. "text": "追剧"
  123. },
  124. {
  125. "pagePath": "pages/my/my",
  126. "iconPath": "/static/tabBar/my-off.png",
  127. "selectedIconPath": "/static/tabBar/my-on.png",
  128. "text": "我的"
  129. }
  130. ]
  131. },
  132. "globalStyle": {
  133. "navigationBarTextStyle": "black",
  134. "navigationBarTitleText": "喝彩短剧",
  135. "navigationBarBackgroundColor": "#fff",
  136. "transparentTitle": "auto"
  137. }
  138. }