pages.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
  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. }, {
  357. "root": "pages/set",
  358. "name": "set",
  359. "pages": [{
  360. "path": "set",
  361. "style": {
  362. "navigationBarTitleText": "设置"
  363. }
  364. },
  365. {
  366. "path": "address",
  367. "style": {
  368. "navigationBarTitleText": "收货地址"
  369. }
  370. },
  371. {
  372. "path": "addressManage",
  373. "style": {
  374. "navigationBarTitleText": ""
  375. }
  376. },
  377. {
  378. "path": "phone",
  379. "style": {
  380. "navigationBarTitleText": "手机认证"
  381. }
  382. },
  383. {
  384. "path": "password",
  385. "style": {
  386. "navigationBarTitleText": "修改密码"
  387. }
  388. },
  389. {
  390. "path": "userinfo",
  391. "style": {
  392. "navigationBarTitleText": "修改资料"
  393. }
  394. }
  395. ]
  396. }, {
  397. "root": "pages/public",
  398. "name": "public",
  399. "pages": [
  400. // #ifdef H5
  401. {
  402. "path": "domApp",
  403. "style": {
  404. "navigationBarTitleText": "app下载",
  405. "app-plus": {
  406. "titleNView": false
  407. }
  408. }
  409. },
  410. // #endif
  411. // #ifndef MP
  412. {
  413. "path": "workwork",
  414. "style": {
  415. "navigationBarTitleText": "关于我们"
  416. }
  417. },
  418. // #endif
  419. {
  420. "path": "register",
  421. "style": {
  422. "navigationBarTitleText": "注册",
  423. "app-plus": {
  424. "titleNView": false
  425. }
  426. }
  427. },
  428. {
  429. "path": "phoneLogin",
  430. "style": {
  431. "navigationBarTitleText": "手机登录",
  432. "app-plus": {
  433. "titleNView": false
  434. }
  435. }
  436. },
  437. {
  438. "path": "login",
  439. "style": {
  440. "navigationBarTitleText": "登录",
  441. "app-plus": {
  442. "titleNView": false
  443. }
  444. }
  445. },
  446. // #ifdef MP || H5
  447. {
  448. "path": "wxLogin",
  449. "style": {
  450. "navigationBarTitleText": "微信登录",
  451. "app-plus": {
  452. "titleNView": {
  453. "type": "transparent"
  454. }
  455. }
  456. }
  457. },
  458. // #endif
  459. {
  460. "path": "forget",
  461. "style": {
  462. "navigationBarTitleText": "忘记密码",
  463. "app-plus": {
  464. "titleNView": false
  465. }
  466. }
  467. },
  468. {
  469. "path": "redirect",
  470. "style": {
  471. "navigationBarTitleText": "微信登录跳转页面",
  472. "app-plus": {
  473. "titleNView": false
  474. }
  475. }
  476. },
  477. {
  478. "path": "userAgreement",
  479. "style": {
  480. "navigationBarTitleText": "用户协议"
  481. }
  482. },
  483. {
  484. "path": "privacyAgreement",
  485. "style": {
  486. "navigationBarTitleText": "隐私协议"
  487. }
  488. }
  489. ]
  490. }
  491. ],
  492. "globalStyle": {
  493. "navigationBarTextStyle": "black",
  494. "navigationBarTitleText": "uni-app",
  495. "navigationBarBackgroundColor": "#FFFFFF",
  496. "backgroundColor": "#f8f8f8"
  497. },
  498. "tabBar": {
  499. "color": "#999999",
  500. "selectedColor": "#323C5B",
  501. "borderStyle": "black",
  502. "backgroundColor": "#ffffff",
  503. "list": [{
  504. "pagePath": "pages/home/index",
  505. "iconPath": "static/tabBar/tab-home.png",
  506. "selectedIconPath": "static/tabBar/tab-home-current.png",
  507. "text": "首页"
  508. },
  509. {
  510. "pagePath": "pages/home/category",
  511. "iconPath": "static/tabBar/tab-cate.png",
  512. "selectedIconPath": "static/tabBar/tab-cate-current.png",
  513. "text": "分类"
  514. },
  515. {
  516. "pagePath": "pages/home/cart",
  517. "iconPath": "static/tabBar/tab-cart.png",
  518. "selectedIconPath": "static/tabBar/tab-cart-current.png",
  519. "text": "购物车"
  520. },
  521. {
  522. "pagePath": "pages/home/order",
  523. "iconPath": "static/tabBar/tab-order.png",
  524. "selectedIconPath": "static/tabBar/tab-order-current.png",
  525. "text": "订单"
  526. },
  527. {
  528. "pagePath": "pages/home/user",
  529. "iconPath": "static/tabBar/tab-my.png",
  530. "selectedIconPath": "static/tabBar/tab-my-current.png",
  531. "text": "我的"
  532. }
  533. ]
  534. },
  535. "condition": { //模式配置,仅开发期间生效
  536. "current": 0, //当前激活的模式(list 的索引项)
  537. "list": [{
  538. "name": "", //模式名称
  539. "path": "", //启动页面,必选
  540. "query": "" //启动参数,在页面的onLoad函数里面得到
  541. }]
  542. }
  543. }