pages.json 11 KB

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