pages.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  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": "#3C82E6",
  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. // #ifndef MP || APP-PLUS
  353. "app-plus": {
  354. "titleNView": {
  355. "searchInput": {
  356. "backgroundColor": "rgba(231, 231, 231,.7)",
  357. "borderRadius": "16px",
  358. "placeholder": "请输入用户名/手机号",
  359. "disabled": false,
  360. "placeholderColor": "#606266",
  361. "align": "left"
  362. },
  363. "buttons": [{
  364. "text": "搜索",
  365. "fontSize": "14",
  366. "color": "#303133",
  367. "background": "rgba(0,0,0,0)",
  368. "width": "40px"
  369. }]
  370. }
  371. },
  372. // #endif
  373. "navigationBarTitleText": "空桶管理"
  374. }
  375. },
  376. {
  377. "path": "admin/useradmin",
  378. "style": {
  379. // #ifndef MP || APP-PLUS
  380. "app-plus": {
  381. "titleNView": {
  382. "searchInput": {
  383. "backgroundColor": "rgba(231, 231, 231,.7)",
  384. "borderRadius": "16px",
  385. "placeholder": "请输入用户名/手机号",
  386. "disabled": false,
  387. "placeholderColor": "#606266",
  388. "align": "left"
  389. },
  390. "buttons": [{
  391. "text": "搜索",
  392. "fontSize": "14",
  393. "color": "#303133",
  394. "background": "rgba(0,0,0,0)",
  395. "width": "40px"
  396. }]
  397. }
  398. },
  399. // #endif
  400. "navigationBarTitleText": "用户管理"
  401. }
  402. },
  403. {
  404. "path": "admin/orderAdmin",
  405. "style": {
  406. "navigationBarTitleText": "配送订单"
  407. }
  408. }
  409. ]
  410. }, {
  411. "root": "pages/set",
  412. "name": "set",
  413. "pages": [{
  414. "path": "set",
  415. "style": {
  416. "navigationBarTitleText": "设置"
  417. }
  418. },
  419. {
  420. "path": "address",
  421. "style": {
  422. "navigationBarTitleText": "收货地址"
  423. }
  424. },
  425. {
  426. "path": "addressManage",
  427. "style": {
  428. "navigationBarTitleText": ""
  429. }
  430. },
  431. {
  432. "path": "phone",
  433. "style": {
  434. "navigationBarTitleText": "手机认证"
  435. }
  436. },
  437. {
  438. "path": "password",
  439. "style": {
  440. "navigationBarTitleText": "修改密码"
  441. }
  442. },
  443. {
  444. "path": "userinfo",
  445. "style": {
  446. "navigationBarTitleText": "修改资料"
  447. }
  448. }
  449. ]
  450. }, {
  451. "root": "pages/public",
  452. "name": "public",
  453. "pages": [
  454. // #ifdef H5
  455. {
  456. "path": "domApp",
  457. "style": {
  458. "navigationBarTitleText": "app下载",
  459. "app-plus": {
  460. "titleNView": false
  461. }
  462. }
  463. },
  464. // #endif
  465. // #ifndef MP
  466. {
  467. "path": "workwork",
  468. "style": {
  469. "navigationBarTitleText": "关于我们"
  470. }
  471. },
  472. // #endif
  473. {
  474. "path": "register",
  475. "style": {
  476. "navigationBarTitleText": "注册",
  477. "app-plus": {
  478. "titleNView": false
  479. }
  480. }
  481. },
  482. {
  483. "path": "phoneLogin",
  484. "style": {
  485. "navigationBarTitleText": "手机登录",
  486. "app-plus": {
  487. "titleNView": false
  488. }
  489. }
  490. },
  491. {
  492. "path": "login",
  493. "style": {
  494. "navigationBarTitleText": "登录",
  495. "app-plus": {
  496. "titleNView": false
  497. }
  498. }
  499. },
  500. // #ifdef MP || H5
  501. {
  502. "path": "wxLogin",
  503. "style": {
  504. "navigationBarTitleText": "微信登录",
  505. "app-plus": {
  506. "titleNView": {
  507. "type": "transparent"
  508. }
  509. }
  510. }
  511. },
  512. // #endif
  513. {
  514. "path": "forget",
  515. "style": {
  516. "navigationBarTitleText": "忘记密码",
  517. "app-plus": {
  518. "titleNView": false
  519. }
  520. }
  521. },
  522. {
  523. "path": "redirect",
  524. "style": {
  525. "navigationBarTitleText": "微信登录跳转页面",
  526. "app-plus": {
  527. "titleNView": false
  528. }
  529. }
  530. },
  531. {
  532. "path": "userAgreement",
  533. "style": {
  534. "navigationBarTitleText": "用户协议"
  535. }
  536. },
  537. {
  538. "path": "privacyAgreement",
  539. "style": {
  540. "navigationBarTitleText": "隐私协议"
  541. }
  542. },
  543. {
  544. "path": "artList",
  545. "style": {
  546. "navigationBarTitleText": "新闻资讯"
  547. }
  548. },
  549. {
  550. "path": "artDetail",
  551. "style": {
  552. "navigationBarTitleText": ""
  553. }
  554. }
  555. ]
  556. }
  557. ],
  558. "globalStyle": {
  559. "navigationBarTextStyle": "black",
  560. "navigationBarTitleText": "uni-app",
  561. "navigationBarBackgroundColor": "#FFFFFF",
  562. "backgroundColor": "#f8f8f8"
  563. },
  564. "tabBar": {
  565. "color": "#999999",
  566. "selectedColor": "#323C5B",
  567. "borderStyle": "black",
  568. "backgroundColor": "#ffffff",
  569. "list": [{
  570. "pagePath": "pages/home/index",
  571. "iconPath": "static/tabBar/tab-home.png",
  572. "selectedIconPath": "static/tabBar/tab-home-current.png",
  573. "text": "首页"
  574. },
  575. {
  576. "pagePath": "pages/home/category",
  577. "iconPath": "static/tabBar/tab-cate.png",
  578. "selectedIconPath": "static/tabBar/tab-cate-current.png",
  579. "text": "分类"
  580. },
  581. {
  582. "pagePath": "pages/home/cart",
  583. "iconPath": "static/tabBar/tab-cart.png",
  584. "selectedIconPath": "static/tabBar/tab-cart-current.png",
  585. "text": "购物车"
  586. },
  587. {
  588. "pagePath": "pages/home/order",
  589. "iconPath": "static/tabBar/tab-order.png",
  590. "selectedIconPath": "static/tabBar/tab-order-current.png",
  591. "text": "订单"
  592. },
  593. {
  594. "pagePath": "pages/home/user",
  595. "iconPath": "static/tabBar/tab-my.png",
  596. "selectedIconPath": "static/tabBar/tab-my-current.png",
  597. "text": "我的"
  598. }
  599. ]
  600. },
  601. "condition": { //模式配置,仅开发期间生效
  602. "current": 0, //当前激活的模式(list 的索引项)
  603. "list": [{
  604. "name": "", //模式名称
  605. "path": "", //启动页面,必选
  606. "query": "" //启动参数,在页面的onLoad函数里面得到
  607. }]
  608. }
  609. }