pages.json 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "enablePullDownRefresh": true,
  7. // #ifdef MP
  8. "navigationBarTitleText": "喂喂商城",
  9. //"navigationStyle": "custom",
  10. // #endif
  11. "app-plus": {
  12. "titleNView": {
  13. "titleText": "喂喂商城"
  14. //"type": "transparent"
  15. // "searchInput": {
  16. // "backgroundColor": "rgba(231, 231, 231,.7)",
  17. // "borderRadius": "16px",
  18. // "placeholder": "请输入地址 如:大钟寺",
  19. // "disabled": true,
  20. // "placeholderColor": "#606266"
  21. // },
  22. // "buttons": [{
  23. // "fontSrc": "/static/yticon.ttf",
  24. // "text": "\ue60d",
  25. // "fontSize": "26",
  26. // "color": "#303133",
  27. // "float": "left",
  28. // "background": "rgba(0,0,0,0)"
  29. // },
  30. // {
  31. // "fontSrc": "/static/yticon.ttf",
  32. // "text": "\ue744",
  33. // "fontSize": "27",
  34. // "color": "#303133",
  35. // "background": "rgba(0,0,0,0)",
  36. // "redDot": true
  37. // }
  38. // ]
  39. }
  40. }
  41. }
  42. },
  43. {
  44. "path": "pages/product/product",
  45. "style": {
  46. "navigationBarTitleText": "详情展示",
  47. "enablePullDownRefresh": true,
  48. "app-plus": {
  49. "titleNView": {
  50. "type": "transparent"
  51. }
  52. }
  53. }
  54. }, {
  55. "path": "pages/set/set",
  56. "style": {
  57. "navigationBarTitleText": "设置"
  58. }
  59. },
  60. {
  61. "path": "pages/userinfo/userinfo",
  62. "style": {
  63. "navigationBarTitleText": "修改资料"
  64. }
  65. }, {
  66. "path": "pages/cart/cart",
  67. "style": {
  68. "enablePullDownRefresh": true,
  69. "navigationBarTitleText": "购物车"
  70. }
  71. }, {
  72. "path": "pages/public/login",
  73. "style": {
  74. "navigationBarTitleText": "",
  75. "navigationStyle": "custom",
  76. "app-plus": {
  77. "titleNView": false,
  78. "animationType": "slide-in-bottom"
  79. }
  80. }
  81. }, {
  82. "path": "pages/public/register",
  83. "style": {
  84. "navigationBarTitleText": "",
  85. "navigationStyle": "custom",
  86. "app-plus": {
  87. "titleNView": false,
  88. "animationType": "slide-in-bottom"
  89. }
  90. }
  91. }, {
  92. "path": "pages/user/user",
  93. "style": {
  94. "navigationBarTitleText": "我的",
  95. // #ifdef MP
  96. "navigationStyle": "custom",
  97. // #endif
  98. "app-plus": {
  99. "bounce": "none",
  100. "titleNView": {
  101. "type": "transparent"
  102. // "buttons": [{
  103. // "fontSrc": "/static/yticon.ttf",
  104. // "text": "\ue60f",
  105. // "fontSize": "24",
  106. // "color": "#303133",
  107. // "width": "46px",
  108. // "background": "rgba(0,0,0,0)"
  109. // },
  110. // {
  111. // "fontSrc": "/static/yticon.ttf",
  112. // "text": "\ue744",
  113. // "fontSize": "28",
  114. // "color": "#303133",
  115. // "background": "rgba(0,0,0,0)",
  116. // "redDot": true
  117. // }
  118. // ]
  119. }
  120. }
  121. }
  122. }, {
  123. "path": "pages/order/order",
  124. "style": {
  125. "navigationBarTitleText": "我的订单",
  126. "enablePullDownRefresh": true,
  127. "app-plus": {
  128. "bounce": "none"
  129. }
  130. }
  131. },
  132. {
  133. "path": "pages/order/orderDetail",
  134. "style": {
  135. "enablePullDownRefresh": true,
  136. "navigationBarTitleText": "订单详情",
  137. "app-plus": {
  138. "bounce": "none",
  139. "titleNView": {
  140. "type": "transparent"
  141. }
  142. }
  143. }
  144. },{
  145. "path": "pages/money/money",
  146. "style": {}
  147. }, {
  148. "path": "pages/order/createOrder",
  149. "style": {
  150. "navigationBarTitleText": "创建订单"
  151. }
  152. }, {
  153. "path": "pages/address/address",
  154. "style": {
  155. "navigationBarTitleText": "收货地址"
  156. }
  157. }, {
  158. "path": "pages/address/addressManage",
  159. "style": {
  160. "navigationBarTitleText": ""
  161. }
  162. }, {
  163. "path": "pages/money/pay",
  164. "style": {
  165. "navigationBarTitleText": "支付"
  166. }
  167. },
  168. {
  169. "path": "pages/money/paySuccess",
  170. "style": {
  171. "navigationBarTitleText": "支付成功"
  172. }
  173. }
  174. ,{
  175. "path" : "pages/notice/notice",
  176. "style" : {
  177. "navigationBarTitleText": "通知"
  178. }
  179. }
  180. ,{
  181. "path" : "pages/category/category",
  182. "style" : {
  183. "navigationBarTitleText": "分类",
  184. "enablePullDownRefresh": true,
  185. "app-plus": {
  186. "bounce": "none"
  187. }
  188. }
  189. }
  190. ,{
  191. "path" : "pages/product/list",
  192. "style" : {
  193. "enablePullDownRefresh": true,
  194. "navigationBarTitleText": "商品列表"
  195. }
  196. }
  197. ,{
  198. "path" : "pages/flash/list",
  199. "style" : {
  200. "enablePullDownRefresh": true,
  201. "navigationBarTitleText": "限时秒杀"
  202. }
  203. },
  204. {
  205. "path" : "pages/favorite/favorite",
  206. "style" : {
  207. "enablePullDownRefresh": true,
  208. "navigationBarTitleText": "我的收藏"
  209. }
  210. },
  211. {
  212. "path" : "pages/public/webview",
  213. "style" : {
  214. "enablePullDownRefresh": true,
  215. "navigationBarTitleText": "物流"
  216. }
  217. },
  218. {
  219. "path" : "pages/order/evaluate",
  220. "style" : {
  221. "enablePullDownRefresh": true,
  222. "navigationBarTitleText": "发表评论"
  223. }
  224. },
  225. {
  226. "path" : "pages/order/refund",
  227. "style" : {
  228. "enablePullDownRefresh": true,
  229. "navigationBarTitleText": "申请售后"
  230. }
  231. },
  232. {
  233. "path" : "pages/product/evaluate",
  234. "style" : {
  235. "enablePullDownRefresh": true,
  236. "navigationBarTitleText": "评价"
  237. }
  238. },
  239. {
  240. "path" : "pages/order/delivery",
  241. "style" : {
  242. "enablePullDownRefresh": false,
  243. "navigationBarTitleText": "运费模板"
  244. }
  245. }
  246. ],
  247. "globalStyle": {
  248. "navigationBarTextStyle": "black",
  249. "navigationBarTitleText": "uni-app",
  250. "navigationBarBackgroundColor": "#FFFFFF",
  251. "backgroundColor": "#f8f8f8"
  252. },
  253. "tabBar": {
  254. "color": "#C0C4CC",
  255. "selectedColor": "#fa436a",
  256. "borderStyle": "black",
  257. "backgroundColor": "#ffffff",
  258. "list": [{
  259. "pagePath": "pages/index/index",
  260. "iconPath": "static/tab-home.png",
  261. "selectedIconPath": "static/tab-home-current.png",
  262. "text": "首页"
  263. },
  264. {
  265. "pagePath": "pages/category/category",
  266. "iconPath": "static/tab-cate.png",
  267. "selectedIconPath": "static/tab-cate-current.png",
  268. "text": "分类"
  269. },
  270. {
  271. "pagePath": "pages/cart/cart",
  272. "iconPath": "static/tab-cart.png",
  273. "selectedIconPath": "static/tab-cart-current.png",
  274. "text": "购物车"
  275. },
  276. {
  277. "pagePath": "pages/user/user",
  278. "iconPath": "static/tab-my.png",
  279. "selectedIconPath": "static/tab-my-current.png",
  280. "text": "我的"
  281. }
  282. ]
  283. },
  284. "condition" : { //模式配置,仅开发期间生效
  285. "current": 0, //当前激活的模式(list 的索引项)
  286. "list": [
  287. {
  288. "name": "index", //模式名称
  289. "path": "pages/index/index", //启动页面,必选
  290. "query": "" //启动参数,在页面的onLoad函数里面得到
  291. },
  292. {
  293. "name": "comment",
  294. "path": "pages/order/comment",
  295. "query":"order_id=nAyML8YWRXU1O2b&image=/shop/20200315/5507a02e4f1a43c72d8360e4194b42a5.png&title=万里无一万里无一万里无一万里无一万里无一万里无一苹果X&spec=白色"
  296. },
  297. {
  298. "name": "orderDetail",
  299. "path":"pages/order/orderDetail",
  300. "query":"order_id=XDW6kZLJD4ijNEE"
  301. },
  302. {
  303. "name":"orderRefund",
  304. "path":"pages/order/refund",
  305. "query":"order_id=7Rw23P1oW1CyPgO"
  306. },
  307. {
  308. "name":"userinfo",
  309. "path":"pages/userinfo/userinfo",
  310. "query":""
  311. },
  312. {
  313. "name": "deliveryTemplate",
  314. "path":"pages/order/delivery",
  315. "query":""
  316. }
  317. ]
  318. }
  319. }