pages.json 11 KB

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