pages.json 11 KB

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