pages.json 11 KB

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