pages.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. // #ifdef MP
  6. "navigationBarTitleText": "kxmall",
  7. // #endif
  8. "mp-weixin": {
  9. "navigationStyle": "custom"
  10. },
  11. "app-plus": {
  12. "titleNView": false
  13. // {
  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. "path": "pages/groupshop/list",
  44. "style": {
  45. "navigationBarTitleText": "团购"
  46. }
  47. }, {
  48. "path": "pages/address/list",
  49. "style": {
  50. "navigationBarTitleText": "收货地址"
  51. }
  52. }, {
  53. "path": "pages/address/create",
  54. "style": {
  55. "navigationBarTitleText": "",
  56. "disableScroll": true
  57. }
  58. }, {
  59. "path": "pages/product/search",
  60. "style": {
  61. "navigationBarTitleText": "搜索"
  62. }
  63. },
  64. {
  65. "path": "pages/product/detail",
  66. "style": {
  67. "navigationBarTitleText": "商品详情",
  68. "app-plus": {
  69. "titleNView": {
  70. "type": "transparent"
  71. }
  72. }
  73. }
  74. }, {
  75. "path": "pages/product/favorite",
  76. "style": {
  77. "enablePullDownRefresh": true,
  78. "navigationBarTitleText": "商品收藏"
  79. }
  80. }, {
  81. "path": "pages/product/footprint",
  82. "style": {
  83. "enablePullDownRefresh": true,
  84. "navigationBarTitleText": "商品足迹"
  85. }
  86. }, {
  87. "path": "pages/user/promotion",
  88. "style": {
  89. "enablePullDownRefresh": true,
  90. "navigationBarTitleText": "我的推广"
  91. }
  92. }, {
  93. "path": "pages/user/promotion/Poster",
  94. "style": {
  95. "enablePullDownRefresh": false,
  96. "navigationBarTitleText": "我的邀请码"
  97. }
  98. }, {
  99. "path": "pages/user/promotion/PromoterList",
  100. "style": {
  101. "enablePullDownRefresh": false,
  102. "navigationBarTitleText": "分销列表"
  103. }
  104. }, {
  105. "path": "pages/user/promotion/CommissionDetails",
  106. "style": {
  107. "enablePullDownRefresh": false,
  108. "navigationBarTitleText": "佣金明细"
  109. }
  110. }, {
  111. "path": "pages/user/promotion/PromoterOrder",
  112. "style": {
  113. "enablePullDownRefresh": false,
  114. "navigationBarTitleText": "推广订单"
  115. }
  116. }, {
  117. "path": "pages/user/promotion/UserCash",
  118. "style": {
  119. "enablePullDownRefresh": false,
  120. "navigationBarTitleText": "立即体现"
  121. }
  122. }, {
  123. "path": "pages/user/promotion/CashRecord",
  124. "style": {
  125. "enablePullDownRefresh": false,
  126. "navigationBarTitleText": "体现记录"
  127. }
  128. }, {
  129. "path": "pages/user/userVip",
  130. "style": {
  131. "enablePullDownRefresh": true,
  132. "navigationBarTitleText": "会员中心"
  133. }
  134. }, {
  135. "path": "pages/product/list",
  136. "style": {
  137. "enablePullDownRefresh": true,
  138. "navigationBarTitleText": "商品列表"
  139. }
  140. }, {
  141. "path": "pages/product/appraise",
  142. "style": {
  143. "navigationBarTitleText": "全部评价"
  144. }
  145. }, {
  146. "path": "pages/user/profile",
  147. "style": {
  148. "navigationBarTitleText": "修改资料"
  149. }
  150. }, {
  151. "path": "pages/cart/cart",
  152. "style": {
  153. "navigationBarTitleText": "购物车"
  154. }
  155. }, {
  156. "path": "pages/public/login",
  157. "style": {
  158. "navigationBarTitleText": "登录/注册",
  159. // "navigationStyle": "custom",
  160. "app-plus": {
  161. //"titleNView": false,
  162. "animationType": "slide-in-bottom"
  163. }
  164. }
  165. }, {
  166. "path": "pages/public/register",
  167. "style": {
  168. "navigationBarTitleText": "",
  169. "navigationStyle": "custom",
  170. "app-plus": {
  171. "titleNView": false,
  172. "animationType": "slide-in-bottom"
  173. }
  174. }
  175. }, {
  176. "path": "pages/user/user",
  177. "style": {
  178. "navigationBarTitleText": "我的",
  179. // #ifdef MP
  180. "navigationStyle": "custom",
  181. // #endif
  182. "app-plus": {
  183. "bounce": "none",
  184. "titleNView": {
  185. "type": "transparent",
  186. "buttons": [{
  187. "fontSrc": "/static/yticon.ttf",
  188. "text": "\ue60f",
  189. "fontSize": "24",
  190. "color": "#303133",
  191. "width": "46px",
  192. "background": "rgba(0,0,0,0)"
  193. },
  194. {
  195. "fontSrc": "/static/yticon.ttf",
  196. "text": "\ue744",
  197. "fontSize": "28",
  198. "color": "#303133",
  199. "background": "rgba(0,0,0,0)",
  200. "redDot": true
  201. }
  202. ]
  203. }
  204. }
  205. }
  206. }, {
  207. "path": "pages/user/about",
  208. "style": {
  209. "navigationBarTitleText": "关于"
  210. }
  211. }, {
  212. "path": "pages/order/list",
  213. "style": {
  214. "navigationBarTitleText": "我的订单",
  215. "enablePullDownRefresh": true,
  216. "app-plus": {
  217. "bounce": "none"
  218. }
  219. }
  220. }, {
  221. "path": "pages/order/create",
  222. "style": {
  223. "navigationBarTitleText": "创建订单"
  224. }
  225. }, {
  226. "path": "pages/order/detail",
  227. "style": {
  228. "navigationBarTitleText": "订单详情"
  229. }
  230. }, {
  231. "path": "pages/order/refund",
  232. "style": {
  233. "navigationBarTitleText": "申请售后"
  234. }
  235. }, {
  236. "path": "pages/refund/index",
  237. "style": {
  238. "navigationBarTitleText": "售后列表"
  239. }
  240. }, { "path": "pages/refund/detail",
  241. "style": {
  242. "navigationBarTitleText": "售后详情"
  243. }
  244. }, {
  245. "path": "pages/order/appraise",
  246. "style": {
  247. "navigationBarTitleText": "评价订单"
  248. }
  249. }, {
  250. "path": "pages/order/trace",
  251. "style": {
  252. "navigationBarTitleText": "查看物流"
  253. }
  254. }, {
  255. "path": "pages/pay/pay",
  256. "style": {
  257. "navigationBarTitleText": "支付"
  258. }
  259. }, {
  260. "path": "pages/pay/success",
  261. "style": {
  262. "navigationBarTitleText": "支付成功"
  263. }
  264. }, {
  265. "path": "pages/notice/notice",
  266. "style": {
  267. "navigationBarTitleText": "通知"
  268. }
  269. }, {
  270. "path": "pages/product/pointList",
  271. "style": {
  272. "navigationBarTitleText": "积分商城"
  273. }
  274. }, {
  275. "path": "pages/category/category",
  276. "style": {
  277. "navigationBarTitleText": "分类",
  278. "mp-weixin": {
  279. "navigationStyle": "custom"
  280. },
  281. "app-plus": {
  282. "titleNView": false,
  283. "bounce": "none"
  284. }
  285. }
  286. }, {
  287. "path": "pages/service/service",
  288. "style": {
  289. "navigationBarTitleText": "客户服务"
  290. }
  291. }, {
  292. "path": "pages/user/coupons",
  293. "style": {
  294. "navigationBarTitleText": "我的优惠券"
  295. }
  296. }, {
  297. "path": "pages/user/integral",
  298. "style": {
  299. "navigationBarTitleText": "我的积分"
  300. }
  301. }, {
  302. "path": "pages/user/money",
  303. "style": {
  304. "navigationBarTitleText": "我的余额"
  305. }
  306. }, {
  307. "path": "pages/user/sign",
  308. "style": {
  309. "navigationBarTitleText": "积分签到"
  310. }
  311. }, {
  312. "path": "pages/set/set",
  313. "style": {
  314. "navigationBarTitleText": "设置"
  315. }
  316. }, {
  317. "path": "pages/dishFood/dishFood",
  318. "style": {
  319. "navigationBarTitleText": "家常菜"
  320. }
  321. }, {
  322. "path": "pages/dishFood/dishDetail",
  323. "style": {
  324. "navigationBarTitleText": "家常菜详情"
  325. }
  326. },
  327. {
  328. "path": "pages/parity/parity",
  329. "style": {
  330. "navigationBarTitleText": "平价菜场"
  331. }
  332. }, {
  333. "path": "pages/Invitation/Invitation",
  334. "style": {
  335. "navigationBarTitleText": "邀请好友"
  336. }
  337. }, {
  338. "path": "pages/share/inviteNewPeople",
  339. "style": {
  340. "navigationBarTitleText": "邀请好友"
  341. }
  342. }, {
  343. "path": "pages/InvitationList/InvitationList",
  344. "style": {
  345. "navigationBarTitleText": "我的邀请"
  346. }
  347. },
  348. {
  349. "path": "pages/product/seckill",
  350. "style": {
  351. "navigationBarTitleText": "秒杀"
  352. }
  353. },
  354. {
  355. "path": "pages/index/redirect",
  356. "style": {
  357. "navigationBarTitleText": ""
  358. }
  359. },
  360. {
  361. "path" : "pages/index/locationList",
  362. "style" :
  363. {
  364. "navigationBarTitleText" : ""
  365. }
  366. }
  367. ],
  368. "globalStyle": {
  369. "navigationBarTextStyle": "black",
  370. "navigationBarTitleText": "kxmall生鲜",
  371. "navigationBarBackgroundColor": "#FFFFFF",
  372. "backgroundColor": "#f8f8f8"
  373. },
  374. "tabBar": {
  375. "color": "#999999",
  376. "selectedColor": "#2AAC34",
  377. "borderStyle": "black",
  378. "backgroundColor": "#ffffff",
  379. "list": [{
  380. "pagePath": "pages/index/index",
  381. "iconPath": "static/tab-icon/tab1.png",
  382. "selectedIconPath": "static/tab-icon/tab1_2.png",
  383. "iconWidth": "20px",
  384. "text": "首页"
  385. },
  386. {
  387. "pagePath": "pages/category/category",
  388. "iconPath": "static/tab-icon/tab2.png",
  389. "selectedIconPath": "static/tab-icon/tab2_2.png",
  390. "iconWidth": "20px",
  391. "text": "分类"
  392. },
  393. {
  394. "pagePath": "pages/cart/cart",
  395. "iconPath": "static/tab-icon/tab3.png",
  396. "selectedIconPath": "static/tab-icon/tab3_2.png",
  397. "iconWidth": "20px",
  398. "text": "购物车"
  399. },
  400. {
  401. "pagePath": "pages/user/user",
  402. "iconPath": "static/tab-icon/tab4.png",
  403. "selectedIconPath": "static/tab-icon/tab4_2.png",
  404. "iconWidth": "20px",
  405. "text": "我的"
  406. }
  407. ]
  408. },
  409. "condition": { //模式配置,仅开发期间生效
  410. "current": 0, //当前激活的模式(list 的索引项)
  411. "list": [{
  412. "name": "", //模式名称
  413. "path": "", //启动页面,必选
  414. "query": "" //启动参数,在页面的onLoad函数里面得到
  415. }]
  416. }
  417. }