pages.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. // "condition": { //模式配置,仅开发期间生效
  6. // "current": 0, //当前激活的模式(list 的索引项)
  7. // "list": [{
  8. // "name": "test", //模式名称
  9. // "path": "pages/componentsC/test/index", //启动页面,必选
  10. // "query": "uuid=c4bba940-f69e-11ea-a419-6bafda9d095e&__id__=1" //启动参数,在页面的onLoad函数里面得到
  11. // }]
  12. // },
  13. "pages": [{
  14. "path": "pages/shop/index",
  15. "style": {}
  16. }, {
  17. "path": "pages/shop/search",
  18. "style": {
  19. "navigationStyle": "custom", // 隐藏系统导航栏
  20. "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选
  21. }
  22. }, {
  23. "path": "pages/shop/cart",
  24. "style": {
  25. "navigationStyle": "custom", // 隐藏系统导航栏
  26. "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选
  27. }
  28. },
  29. {
  30. "path": "pages/user/profile",
  31. "style": {
  32. "navigationBarTitleText": "我的"
  33. }
  34. },
  35. {
  36. "path": "pages/login/login",
  37. "style": {
  38. "navigationBarTitleText": ""
  39. }
  40. },
  41. {
  42. "path": "pages/login/passwordLogin",
  43. "style": {
  44. "navigationBarTitleText": ""
  45. }
  46. },
  47. {
  48. "path": "pages/login/smsCode",
  49. "style": {
  50. "navigationBarTitleText": "登录获取验证码"
  51. }
  52. }, {
  53. "path": "pages/login/privateProtocol",
  54. "style": {
  55. "navigationBarTitleText": "隐私协议"
  56. }
  57. }, {
  58. "path": "pages/login/userProtocol",
  59. "style": {
  60. "navigationBarTitleText": "平台使用协议"
  61. }
  62. }, {
  63. "path": "pages/goods/goods",
  64. "style": {}
  65. }, {
  66. "path": "pages/goods/list",
  67. "style": {}
  68. }, {
  69. "path": "pages/topic/detail",
  70. "style": {}
  71. }, {
  72. "path": "pages/order/list",
  73. "style": {
  74. "navigationBarTitleText": "订单"
  75. }
  76. }, {
  77. "path": "pages/order/detail",
  78. "style": {
  79. "navigationBarTitleText": "订单详情"
  80. }
  81. }, {
  82. "path": "pages/favorite/favorite",
  83. "style": {
  84. "navigationStyle": "custom", // 隐藏系统导航栏
  85. "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选
  86. }
  87. }, {
  88. "path": "pages/address/list",
  89. "style": {
  90. "navigationBarTitleText": "收货地址"
  91. }
  92. }, {
  93. "path": "pages/address/address",
  94. "style": {
  95. "navigationBarTitleText": "编辑收货地址"
  96. }
  97. }, {
  98. "path": "pages/checkout/checkout",
  99. "style": {
  100. "navigationBarTitleText": "提交订单"
  101. }
  102. }, {
  103. "path": "pages/setting/setting",
  104. "style": {
  105. "navigationBarTitleText": "设置"
  106. }
  107. },{
  108. "path" : "pages/setting/updatePwd",
  109. "style": {
  110. "navigationBarTitleText": "修改密码"
  111. }
  112. }
  113. ,{
  114. "path" : "pages/setting/updateMobile",
  115. "style": {
  116. "navigationBarTitleText": "更换手机号"
  117. }
  118. }
  119. ,{
  120. "path" : "pages/setting/updateAvatar",
  121. "style": {
  122. "navigationBarTitleText": "设置头像"
  123. }
  124. }
  125. ,{
  126. "path" : "pages/setting/about",
  127. "style": {
  128. "navigationBarTitleText": "关于邻家小铺"
  129. }
  130. },
  131. {
  132. "path" : "pages/setting/document",
  133. "style" : {}
  134. }
  135. ,{
  136. "path" : "pages/setting/app",
  137. "style" : {}
  138. }
  139. ,{
  140. "path" : "pages/order/payment/payment",
  141. "style" : {
  142. "navigationBarTitleText":"收银台"
  143. }
  144. }
  145. ,{
  146. "path" : "pages/order/express",
  147. "style" :
  148. {
  149. "navigationBarTitleText": "物流信息",
  150. "enablePullDownRefresh": false
  151. }
  152. }
  153. ,{
  154. "path" : "pages/order/payment/callback",
  155. "style" :
  156. {
  157. "navigationBarTitleText": "支付结果",
  158. "enablePullDownRefresh": false
  159. }
  160. }
  161. ,{
  162. "path" : "pages/menu/index",
  163. "style" :
  164. {
  165. "navigationBarTitleText":"分类",
  166. "enablePullDownRefresh": false
  167. }
  168. }
  169. ,{
  170. "path" : "pages/menu/list",
  171. "style" :
  172. {
  173. "navigationBarTitleText": "商品列表",
  174. "enablePullDownRefresh": false
  175. }
  176. }
  177. ],
  178. "globalStyle": {
  179. "navigationBarTextStyle": "black",
  180. "navigationBarTitleText": "邻家小铺",
  181. "navigationBarBackgroundColor": "#FFFFFF",
  182. "backgroundColor": "#FFFFFF"
  183. },
  184. "tabBar": {
  185. "color": "#909399",
  186. "selectedColor": "#303133",
  187. "backgroundColor": "#FFFFFF",
  188. "borderStyle": "black",
  189. "list": [{
  190. "pagePath": "pages/shop/index",
  191. "iconPath": "static/img/nav/home.png",
  192. "selectedIconPath": "static/img/nav/home_sel.png",
  193. "text": "首页"
  194. },
  195. {
  196. "pagePath": "pages/menu/index",
  197. "iconPath": "static/img/nav/category.png",
  198. "selectedIconPath": "static/img/nav/category_sel.png",
  199. "text": "分类"
  200. },
  201. {
  202. "pagePath": "pages/shop/cart",
  203. "iconPath": "static/img/nav/cart.png",
  204. "selectedIconPath": "static/img/nav/cart_sel.png",
  205. "text": "购物车"
  206. },
  207. {
  208. "pagePath": "pages/user/profile",
  209. "iconPath": "static/img/nav/user.png",
  210. "selectedIconPath": "static/img/nav/user_sel.png",
  211. "text": "我的"
  212. }
  213. ]
  214. }
  215. }