pages.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  1. {
  2. "pages": [{
  3. "path": "pages/home/index",
  4. "style": {
  5. // #ifndef MP
  6. "navigationStyle": "custom",
  7. "app-plus": {
  8. "titleNView": false
  9. },
  10. // #endif
  11. // #ifdef MP
  12. "navigationBarBackgroundColor": "#ff629f",
  13. "navigationBarTextStyle": "white",
  14. // #endif
  15. "navigationBarTitleText": "小井康泉"
  16. }
  17. },
  18. {
  19. "path": "pages/home/cart",
  20. "style": {
  21. // #ifndef MP-WEIXIN
  22. "navigationStyle": "custom",
  23. // #endif
  24. "navigationBarTitleText": "购物车"
  25. }
  26. },
  27. {
  28. "path": "pages/home/order",
  29. "style": {
  30. "navigationStyle": "custom",
  31. "navigationBarTitleText": "订单"
  32. }
  33. },
  34. {
  35. "path": "pages/home/category",
  36. "style": {
  37. "navigationStyle": "custom",
  38. // #ifndef MP
  39. // "app-plus": {
  40. // "bounce": "none",
  41. // "titleNView": {
  42. // "searchInput": {
  43. // "backgroundColor": "rgba(231, 231, 231,.7)",
  44. // "borderRadius": "16px",
  45. // "placeholder": "商品搜索",
  46. // "disabled": true,
  47. // "placeholderColor": "#606266",
  48. // "align": "left"
  49. // }
  50. // }
  51. // },
  52. // #endif
  53. "navigationBarTitleText": "分类"
  54. }
  55. },
  56. {
  57. "path": "pages/home/user",
  58. "style": {
  59. "navigationStyle": "custom",
  60. "navigationBarTitleText": "个人中心"
  61. }
  62. }
  63. ],
  64. "subPackages": [{
  65. "root": "pages/water",
  66. "name": "water",
  67. "pages": [{
  68. "path": "/waterList",
  69. "style": {
  70. "navigationBarTitleText": "充水票"
  71. }
  72. },
  73. {
  74. "path": "/waterDetail",
  75. "style": {
  76. "navigationBarTitleText": "水票购买"
  77. }
  78. }
  79. ]
  80. },
  81. {
  82. "root": "pages/order",
  83. "name": "order",
  84. "pages": [{
  85. "path": "/orderAfter",
  86. "style": {
  87. "navigationBarTitleText": "售后管理"
  88. }
  89. },
  90. {
  91. "path": "/orderDetail",
  92. "style": {
  93. "navigationBarTitleText": "订单详情",
  94. "app-plus": {
  95. "bounce": "none"
  96. }
  97. }
  98. },
  99. // {
  100. // "path": "/evaluate",
  101. // "style": {
  102. // "navigationBarTitleText": "评论"
  103. // }
  104. // },
  105. {
  106. "path": "/orderRefund",
  107. "style": {
  108. "navigationBarTitleText": "申请退款"
  109. }
  110. },
  111. {
  112. "path": "/createOrder",
  113. "style": {
  114. "navigationBarTitleText": "创建订单"
  115. }
  116. },
  117. {
  118. "path": "/shopList",
  119. "style": {
  120. "navigationBarTitleText": "门店列表",
  121. "app-plus": {
  122. "titleNView": {
  123. "searchInput": {
  124. "backgroundColor": "rgba(231, 231, 231,.7)",
  125. "borderRadius": "16px",
  126. "placeholder": "请输入关键字",
  127. "placeholderColor": "#606266",
  128. "align": "left"
  129. },
  130. "buttons": [{
  131. "text": "搜索",
  132. "fontSize": "14",
  133. "color": "#303133",
  134. "background": "rgba(0,0,0,0)",
  135. "width": "40px"
  136. }]
  137. }
  138. }
  139. }
  140. }
  141. ]
  142. },
  143. {
  144. "root": "pages/product",
  145. "name": "product",
  146. "pages": [
  147. // {
  148. // "path": "/reply",
  149. // "style": {
  150. // "navigationBarTitleText": "商品评价",
  151. // "app-plus": {
  152. // "titleNView": {
  153. // "type": "transparent"
  154. // }
  155. // }
  156. // }
  157. // },
  158. {
  159. "path": "/product",
  160. "style": {
  161. "navigationBarTitleText": "详情展示",
  162. "app-plus": {
  163. "titleNView": {
  164. "type": "transparent"
  165. }
  166. }
  167. }
  168. },
  169. {
  170. "path": "/showImg",
  171. "style": {
  172. "navigationBarTitleText": "图片预览",
  173. "app-plus": {
  174. "animationType": "fade-in",
  175. "titleNView": {
  176. "type": "transparent"
  177. },
  178. "animationDuration": 300
  179. }
  180. }
  181. },
  182. // {
  183. // "path": "/seckill",
  184. // "style": {
  185. // "navigationBarTitleText": "限时秒杀"
  186. // }
  187. // },
  188. // {
  189. // "path": "/list",
  190. // "style": {
  191. // "enablePullDownRefresh": true,
  192. // "navigationBarTitleText": "商品列表"
  193. // }
  194. // },
  195. {
  196. "path": "/search",
  197. "style": {
  198. "enablePullDownRefresh": true,
  199. // #ifdef APP-PLUS
  200. "navigationStyle": "custom",
  201. // #endif
  202. // #ifndef MP || APP-PLUS
  203. "app-plus": {
  204. "titleNView": {
  205. "searchInput": {
  206. "backgroundColor": "rgba(231, 231, 231,.7)",
  207. "borderRadius": "16px",
  208. "placeholder": "请输入关键字",
  209. "disabled": false,
  210. "placeholderColor": "#606266",
  211. "align": "left"
  212. },
  213. "buttons": [{
  214. "text": "搜索",
  215. "fontSize": "14",
  216. "color": "#303133",
  217. "background": "rgba(0,0,0,0)",
  218. "width": "40px"
  219. }]
  220. }
  221. },
  222. // #endif
  223. "navigationBarTitleText": "搜索"
  224. }
  225. }
  226. // {
  227. // "path": "pages/product/classify",
  228. // "style": {
  229. // "navigationStyle": "custom",
  230. // "app-plus": {
  231. // "titleNView": {
  232. // "type": "transparent"
  233. // }
  234. // }
  235. // }
  236. // },
  237. ]
  238. },
  239. {
  240. "root": "pages/user",
  241. "name": "user",
  242. "pages": [
  243. {
  244. "path": "realName/cropper",
  245. "style": {
  246. "navigationBarTitleText": "图片裁切"
  247. }
  248. },
  249. {
  250. "path": "myteam",
  251. "style": {
  252. "navigationBarTitleText": "我的团队"
  253. }
  254. },
  255. {
  256. "path": "teamph",
  257. "style": {
  258. "navigationBarTitleText": "我的团队"
  259. }
  260. },
  261. {
  262. "path": "award/award",
  263. "style": {
  264. "navigationBarTitleText": "佣金",
  265. "navigationBarBackgroundColor": "#f6ab0b",
  266. "navigationBarTextStyle": "white"
  267. }
  268. },
  269. {
  270. "path": "award/awardList",
  271. "style": {
  272. "navigationBarTitleText": "佣金明细"
  273. }
  274. },
  275. {
  276. "path": "award/withdrawal",
  277. "style": {
  278. "navigationBarTitleText": "提现"
  279. }
  280. },
  281. {
  282. "path": "money/pay",
  283. "style": {
  284. "navigationBarTitleText": "支付",
  285. "navigationBarBackgroundColor": "#0BBB62",
  286. "navigationBarTextStyle": "white"
  287. }
  288. },
  289. {
  290. "path": "money/paySuccess",
  291. "style": {
  292. "navigationBarTitleText": "支付成功"
  293. }
  294. },
  295. {
  296. "path": "money/wallet",
  297. "style": {
  298. "navigationBarTitleText": "我的钱包",
  299. "navigationBarBackgroundColor": "#0BBB62",
  300. "navigationBarTextStyle": "white"
  301. }
  302. },
  303. {
  304. "path": "money/walletList",
  305. "style": {
  306. "navigationBarTitleText": "余额明细"
  307. }
  308. },
  309. {
  310. "path": "award/account",
  311. "style": {
  312. "navigationBarTitleText": "提现账号"
  313. }
  314. },
  315. {
  316. "path": "money/recharge",
  317. "style": {
  318. "navigationBarTitleText": "充值",
  319. "navigationBarBackgroundColor": "#0BBB62",
  320. "navigationBarTextStyle": "white"
  321. }
  322. },
  323. {
  324. "path": "shareQrCode",
  325. "style": {
  326. "navigationBarTitleText": "邀请好友"
  327. }
  328. }
  329. ]
  330. }, {
  331. "root": "pages/set",
  332. "name": "set",
  333. "pages": [{
  334. "path": "set",
  335. "style": {
  336. "navigationBarTitleText": "设置"
  337. }
  338. },
  339. {
  340. "path": "address",
  341. "style": {
  342. "navigationBarTitleText": "收货地址"
  343. }
  344. },
  345. {
  346. "path": "addressManage",
  347. "style": {
  348. "navigationBarTitleText": ""
  349. }
  350. },
  351. {
  352. "path": "phone",
  353. "style": {
  354. "navigationBarTitleText": "手机认证"
  355. }
  356. },
  357. {
  358. "path": "password",
  359. "style": {
  360. "navigationBarTitleText": "修改密码"
  361. }
  362. },
  363. {
  364. "path": "userinfo",
  365. "style": {
  366. "navigationBarTitleText": "修改资料"
  367. }
  368. }
  369. ]
  370. }, {
  371. "root": "pages/public",
  372. "name": "public",
  373. "pages": [
  374. // #ifdef H5
  375. {
  376. "path": "domApp",
  377. "style": {
  378. "navigationBarTitleText": "app下载",
  379. "app-plus": {
  380. "titleNView": false
  381. }
  382. }
  383. },
  384. // #endif
  385. // #ifndef MP
  386. {
  387. "path": "workwork",
  388. "style": {
  389. "navigationBarTitleText": "关于我们"
  390. }
  391. },
  392. // #endif
  393. {
  394. "path": "register",
  395. "style": {
  396. "navigationBarTitleText": "注册",
  397. "app-plus": {
  398. "titleNView": false
  399. }
  400. }
  401. },
  402. {
  403. "path": "phoneLogin",
  404. "style": {
  405. "navigationBarTitleText": "手机登录",
  406. "app-plus": {
  407. "titleNView": false
  408. }
  409. }
  410. },
  411. {
  412. "path": "login",
  413. "style": {
  414. "navigationBarTitleText": "登录",
  415. "app-plus": {
  416. "titleNView": false
  417. }
  418. }
  419. },
  420. // #ifdef MP || H5
  421. {
  422. "path": "wxLogin",
  423. "style": {
  424. "navigationBarTitleText": "微信登录",
  425. "app-plus": {
  426. "titleNView": {
  427. "type": "transparent"
  428. }
  429. }
  430. }
  431. },
  432. // #endif
  433. {
  434. "path": "forget",
  435. "style": {
  436. "navigationBarTitleText": "忘记密码",
  437. "app-plus": {
  438. "titleNView": false
  439. }
  440. }
  441. },
  442. {
  443. "path": "redirect",
  444. "style": {
  445. "navigationBarTitleText": "微信登录跳转页面",
  446. "app-plus": {
  447. "titleNView": false
  448. }
  449. }
  450. },
  451. {
  452. "path": "userAgreement",
  453. "style": {
  454. "navigationBarTitleText": "用户协议"
  455. }
  456. },
  457. {
  458. "path": "privacyAgreement",
  459. "style": {
  460. "navigationBarTitleText": "隐私协议"
  461. }
  462. }
  463. ]
  464. }
  465. ],
  466. "globalStyle": {
  467. "navigationBarTextStyle": "black",
  468. "navigationBarTitleText": "uni-app",
  469. "navigationBarBackgroundColor": "#FFFFFF",
  470. "backgroundColor": "#f8f8f8"
  471. },
  472. "tabBar": {
  473. "color": "#999999",
  474. "selectedColor": "#323C5B",
  475. "borderStyle": "black",
  476. "backgroundColor": "#ffffff",
  477. "list": [{
  478. "pagePath": "pages/home/index",
  479. "iconPath": "static/tabBar/tab-home.png",
  480. "selectedIconPath": "static/tabBar/tab-home-current.png",
  481. "text": "首页"
  482. },
  483. {
  484. "pagePath": "pages/home/category",
  485. "iconPath": "static/tabBar/tab-cate.png",
  486. "selectedIconPath": "static/tabBar/tab-cate-current.png",
  487. "text": "分类"
  488. },
  489. {
  490. "pagePath": "pages/home/cart",
  491. "iconPath": "static/tabBar/tab-cart.png",
  492. "selectedIconPath": "static/tabBar/tab-cart-current.png",
  493. "text": "购物车"
  494. },
  495. {
  496. "pagePath": "pages/home/order",
  497. "iconPath": "static/tabBar/tab-order.png",
  498. "selectedIconPath": "static/tabBar/tab-order-current.png",
  499. "text": "订单"
  500. },
  501. {
  502. "pagePath": "pages/home/user",
  503. "iconPath": "static/tabBar/tab-my.png",
  504. "selectedIconPath": "static/tabBar/tab-my-current.png",
  505. "text": "我的"
  506. }
  507. ]
  508. },
  509. "condition": { //模式配置,仅开发期间生效
  510. "current": 0, //当前激活的模式(list 的索引项)
  511. "list": [{
  512. "name": "", //模式名称
  513. "path": "", //启动页面,必选
  514. "query": "" //启动参数,在页面的onLoad函数里面得到
  515. }]
  516. }
  517. }