pages.json 11 KB

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