pages.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [{
  6. "path": "pages/index/home",
  7. "style": {
  8. "navigationBarTitleText": "首页",
  9. "enablePullDownRefresh": true
  10. }
  11. },
  12. {
  13. "path": "pages/index/index",
  14. "style": {
  15. "navigationBarTitleText": "登录",
  16. "navigationStyle": "custom"
  17. }
  18. },
  19. {
  20. "path": "pages/media/index",
  21. "style": {
  22. "navigationBarTitleText": "直播和短视频",
  23. "enablePullDownRefresh": true
  24. }
  25. },
  26. {
  27. "path": "pages/user/index",
  28. "style": {
  29. "navigationBarTitleText": "商户"
  30. }
  31. },
  32. {
  33. "path": "pages/index/authorize",
  34. "style": {
  35. "navigationBarTitleText": "授权"
  36. }
  37. },
  38. {
  39. "path": "pages/index/register",
  40. "style": {
  41. "navigationBarTitleText": "注册信息"
  42. }
  43. },
  44. {
  45. "path": "pages/index/registerState",
  46. "style": {
  47. "navigationBarTitleText": "千家地"
  48. }
  49. }
  50. ],
  51. "subPackages": [{
  52. "root": "pagesGood",
  53. "pages": [{
  54. "path": "goodList",
  55. "style": {
  56. "navigationBarTitleText": "商品列表",
  57. "enablePullDownRefresh": true
  58. }
  59. }, {
  60. "path": "goodForm",
  61. "style": {
  62. "navigationBarTitleText": "千家地"
  63. }
  64. }]
  65. }, {
  66. "root": "pagesMedia",
  67. "pages": [{
  68. "path": "liveOption",
  69. "style": {
  70. "navigationBarTitleText": "直播信息"
  71. }
  72. }, {
  73. "path": "liveDetail",
  74. "style": {
  75. "navigationBarTitleText": "正在直播"
  76. }
  77. }, {
  78. "path": "videoForm",
  79. "style": {
  80. "navigationBarTitleText": "视频上传"
  81. }
  82. }, {
  83. "path": "videoDetail",
  84. "style": {
  85. "navigationBarTitleText": "正在播放短视频"
  86. }
  87. }, {
  88. "path": "pickVideo",
  89. "style": {
  90. "navigationBarTitleText": "自助采摘"
  91. }
  92. }]
  93. }, {
  94. "root": "pagesMain",
  95. "pages": [{
  96. "path": "orderList",
  97. "style": {
  98. "navigationBarTitleText": "订单列表",
  99. "enablePullDownRefresh": true
  100. }
  101. }, {
  102. "path": "orderDetail",
  103. "style": {
  104. "navigationBarTitleText": "订单详情",
  105. "backgroundColor": "#f7f7f7"
  106. }
  107. }, {
  108. "path": "bindOrder",
  109. "style": {
  110. "navigationBarTitleText": "绑定快递"
  111. }
  112. }, {
  113. "path": "logisticsDeatil",
  114. "style": {
  115. "navigationBarTitleText": "物流追踪"
  116. }
  117. }, {
  118. "path": "evaluateForm",
  119. "style": {
  120. "navigationBarTitleText": "回复评价"
  121. }
  122. }, {
  123. "path": "messageList",
  124. "style": {
  125. "navigationBarTitleText": "留言板",
  126. "enablePullDownRefresh": true
  127. }
  128. }, {
  129. "path": "messageForm",
  130. "style": {
  131. "navigationBarTitleText": "发布留言"
  132. }
  133. }, {
  134. "path": "couponList",
  135. "style": {
  136. "navigationBarTitleText": "我的优惠券",
  137. "enablePullDownRefresh": true
  138. }
  139. }, {
  140. "path": "couponForm",
  141. "style": {
  142. "navigationBarTitleText": "发放优惠券"
  143. }
  144. }, {
  145. "path": "authorizeList",
  146. "style": {
  147. "navigationBarTitleText": "授权列表",
  148. "enablePullDownRefresh": true
  149. }
  150. }, {
  151. "path": "authorizeForm",
  152. "style": {
  153. "navigationBarTitleText": "授权用户"
  154. }
  155. }, {
  156. "path": "registerForm",
  157. "style": {
  158. "navigationBarTitleText": "商户信息"
  159. }
  160. }, {
  161. "path": "pickOrderList",
  162. "style": {
  163. "navigationBarTitleText": "自助采摘订单",
  164. "enablePullDownRefresh": true
  165. }
  166. }, {
  167. "path": "aboutUs",
  168. "style": {
  169. "navigationBarTitleText": "关于我们"
  170. }
  171. }]
  172. }],
  173. "globalStyle": {
  174. "navigationStyle": "default",
  175. "navigationBarTextStyle": "black",
  176. "navigationBarTitleText": "千家地",
  177. "navigationBarBackgroundColor": "#ffffff",
  178. "backgroundColor": "#F8F8F8"
  179. },
  180. "tabBar": {
  181. "borderStyle": "black",
  182. "backgroundColor": "#fff",
  183. "color": "#9A9A9A",
  184. "selectedColor": "#52A63A",
  185. "list": [{
  186. "pagePath": "pages/index/home",
  187. "iconPath": "static/images/icon-index.png",
  188. "selectedIconPath": "static/images/icon-index-active.png",
  189. "text": "首页"
  190. }, {
  191. "pagePath": "pages/media/index",
  192. "iconPath": "static/images/icon-media.png",
  193. "selectedIconPath": "static/images/icon-media-active.png",
  194. "text": "直播"
  195. }, {
  196. "pagePath": "pages/user/index",
  197. "iconPath": "static/images/icon-mine.png",
  198. "selectedIconPath": "static/images/icon-mine-active.png",
  199. "text": "个人"
  200. }]
  201. },
  202. "condition" : { //模式配置,仅开发期间生效
  203. "current": 0, //当前激活的模式(list 的索引项)
  204. "list": [
  205. {
  206. "name": "", //模式名称
  207. "path": "", //启动页面,必选
  208. "query": "" //启动参数,在页面的onLoad函数里面得到
  209. }
  210. ]
  211. }
  212. }