pages.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. // #ifndef MP
  6. "navigationStyle": "custom",
  7. "app-plus": {
  8. "titleNView": false
  9. },
  10. // #endif
  11. "navigationBarTitleText": "租电"
  12. }
  13. },
  14. {
  15. "path": "pages/index/share",
  16. "style": {
  17. "navigationBarTitleText": "邀好友赚佣金"
  18. }
  19. },
  20. {
  21. "path": "pages/mall/mall",
  22. "style": {
  23. "navigationStyle": "custom",
  24. "navigationBarTitleText": "商城"
  25. }
  26. },
  27. {
  28. "path": "pages/user/user",
  29. "style": {
  30. "navigationStyle": "custom",
  31. "navigationBarTitleText": "个人中心"
  32. }
  33. },
  34. {
  35. "path": "pages/product/reply",
  36. "style": {
  37. "navigationBarTitleText": "商品评价",
  38. "app-plus": {
  39. "titleNView": {
  40. "type": "transparent"
  41. }
  42. }
  43. }
  44. },
  45. {
  46. "path": "pages/product/product",
  47. "style": {
  48. "navigationBarTitleText": "详情展示",
  49. "app-plus": {
  50. "titleNView": {
  51. "type": "transparent"
  52. }
  53. }
  54. }
  55. },
  56. {
  57. "path": "pages/product/list",
  58. "style": {
  59. "enablePullDownRefresh": true,
  60. "navigationBarTitleText": "商品列表"
  61. }
  62. },
  63. {
  64. "path": "pages/product/search",
  65. "style": {
  66. "enablePullDownRefresh": true,
  67. // #ifdef APP-PLUS
  68. "navigationStyle": "custom",
  69. // #endif
  70. // #ifndef MP || APP-PLUS
  71. "app-plus": {
  72. "titleNView": {
  73. "searchInput": {
  74. "backgroundColor": "rgba(231, 231, 231,.7)",
  75. "borderRadius": "16px",
  76. "placeholder": "请输入关键字",
  77. "disabled": false,
  78. "placeholderColor": "#606266",
  79. "align": "left"
  80. },
  81. "buttons": [{
  82. "text": "搜索",
  83. "fontSize": "14",
  84. "color": "#303133",
  85. "background": "rgba(0,0,0,0)",
  86. "width": "40px"
  87. }]
  88. }
  89. },
  90. // #endif
  91. "navigationBarTitleText": "搜索"
  92. }
  93. }
  94. ],
  95. "subPackages": [{
  96. "root": "pages/order",
  97. "name": "order",
  98. "pages": [{
  99. "path": "order",
  100. "style": {
  101. "navigationBarTitleText": "我的订单",
  102. "app-plus": {
  103. "bounce": "none"
  104. }
  105. }
  106. },
  107. {
  108. "path": "orderDetail",
  109. "style": {
  110. "navigationBarTitleText": "订单详情",
  111. "app-plus": {
  112. "bounce": "none"
  113. }
  114. }
  115. },
  116. {
  117. "path": "evaluate",
  118. "style": {
  119. "navigationBarTitleText": "评论"
  120. }
  121. },
  122. {
  123. "path": "orderRefund",
  124. "style": {
  125. "navigationBarTitleText": "申请退款"
  126. }
  127. },
  128. {
  129. "path": "createOrder",
  130. "style": {
  131. "navigationBarTitleText": "创建订单"
  132. }
  133. }
  134. ]
  135. },
  136. {
  137. "root": "pages/shop",
  138. "name": "shop",
  139. "pages": [{
  140. "path": "accessory",
  141. "style": {
  142. "navigationBarTitleText": "配件"
  143. }
  144. },
  145. {
  146. "path": "rent",
  147. "style": {
  148. "navigationBarTitleText": "租电"
  149. }
  150. },
  151. {
  152. "path": "attestation",
  153. "style": {
  154. "navigationBarTitleText": "身份认证"
  155. }
  156. },
  157. {
  158. "path": "shopTab",
  159. "style": {
  160. // "enablePullDownRefresh": true,
  161. "navigationStyle": "custom",
  162. "navigationBarTitleText": "附近门店",
  163. "app-plus": {
  164. "titleNView": false
  165. }
  166. }
  167. }
  168. ]
  169. }, {
  170. "root": "pages/user_home",
  171. "name": "user",
  172. "pages": [{
  173. "path": "realName/realNameAuthentication",
  174. "style": {
  175. "navigationBarTitleText": "实名认证"
  176. }
  177. },
  178. {
  179. "path": "realName/cropper",
  180. "style": {
  181. "navigationBarTitleText": "图片裁切"
  182. }
  183. },
  184. {
  185. "path": "myteam",
  186. "style": {
  187. "navigationBarTitleText": "我的团队"
  188. }
  189. },
  190. {
  191. "path": "award/award",
  192. "style": {
  193. "navigationStyle": "custom",
  194. "navigationBarTitleText": "佣金"
  195. }
  196. },
  197. {
  198. "path": "award/withdrawal",
  199. "style": {
  200. "navigationBarTitleText": "提现"
  201. }
  202. },
  203. {
  204. "path": "award/changeWallet",
  205. "style": {
  206. "navigationBarTitleText": "卡券转换"
  207. }
  208. },
  209. {
  210. "path": "money/pay",
  211. "style": {
  212. "navigationBarTitleText": "支付",
  213. "navigationBarBackgroundColor": "#0BBB62",
  214. "navigationBarTextStyle": "white"
  215. }
  216. },
  217. {
  218. "path": "money/paySuccess",
  219. "style": {
  220. "navigationBarTitleText": "支付成功"
  221. }
  222. },
  223. {
  224. "path": "money/wallet",
  225. "style": {
  226. "navigationBarTitleText": "我的卡券",
  227. "navigationBarBackgroundColor": "#6DD6B8",
  228. "navigationBarTextStyle": "white"
  229. }
  230. },
  231. {
  232. "path": "money/walletList",
  233. "style": {
  234. "navigationBarTitleText": "卡券明细"
  235. }
  236. },
  237. {
  238. "path": "award/account",
  239. "style": {
  240. "navigationBarTitleText": "提现账号"
  241. }
  242. },
  243. {
  244. "path": "money/recharge",
  245. "style": {
  246. "navigationBarTitleText": "充值",
  247. "navigationBarBackgroundColor": "#6DD6B8",
  248. "navigationBarTextStyle": "white"
  249. }
  250. },
  251. {
  252. "path": "shareQrCode",
  253. "style": {
  254. "navigationBarTitleText": "邀请好友"
  255. }
  256. }
  257. ]
  258. }, {
  259. "root": "pages/set",
  260. "name": "set",
  261. "pages": [{
  262. "path": "set",
  263. "style": {
  264. "navigationBarTitleText": "设置"
  265. }
  266. },
  267. {
  268. "path": "address",
  269. "style": {
  270. "navigationBarTitleText": "收货地址"
  271. }
  272. },
  273. {
  274. "path": "addressManage",
  275. "style": {
  276. "navigationBarTitleText": ""
  277. }
  278. },
  279. {
  280. "path": "phone",
  281. "style": {
  282. "navigationBarTitleText": "手机认证"
  283. }
  284. },
  285. {
  286. "path": "password",
  287. "style": {
  288. "navigationBarTitleText": "修改密码"
  289. }
  290. },
  291. {
  292. "path": "userinfo",
  293. "style": {
  294. "navigationBarTitleText": "修改资料"
  295. }
  296. }
  297. ]
  298. }, {
  299. "root": "pages/public",
  300. "name": "public",
  301. "pages": [
  302. // #ifdef H5
  303. {
  304. "path": "domApp",
  305. "style": {
  306. "navigationBarTitleText": "app下载",
  307. "app-plus": {
  308. "titleNView": false
  309. }
  310. }
  311. },
  312. // #endif
  313. // #ifndef MP
  314. {
  315. "path": "workwork",
  316. "style": {
  317. "navigationBarTitleText": "关于我们"
  318. }
  319. },
  320. // #endif
  321. {
  322. "path": "register",
  323. "style": {
  324. "navigationBarTitleText": "注册",
  325. "app-plus": {
  326. "titleNView": false
  327. }
  328. }
  329. },
  330. {
  331. "path": "phoneLogin",
  332. "style": {
  333. "navigationBarTitleText": "手机登录",
  334. "app-plus": {
  335. "titleNView": false
  336. }
  337. }
  338. },
  339. {
  340. "path": "login",
  341. "style": {
  342. "navigationBarTitleText": "登录",
  343. "app-plus": {
  344. "titleNView": false
  345. }
  346. }
  347. },
  348. // #ifdef MP || H5
  349. {
  350. "path": "wxLogin",
  351. "style": {
  352. "navigationBarTitleText": "微信登录",
  353. "app-plus": {
  354. "titleNView": {
  355. "type": "transparent"
  356. }
  357. }
  358. }
  359. },
  360. // #endif
  361. {
  362. "path": "forget",
  363. "style": {
  364. "navigationBarTitleText": "忘记密码",
  365. "app-plus": {
  366. "titleNView": false
  367. }
  368. }
  369. },
  370. {
  371. "path": "redirect",
  372. "style": {
  373. "navigationBarTitleText": "微信登录跳转页面",
  374. "app-plus": {
  375. "titleNView": false
  376. }
  377. }
  378. },
  379. {
  380. "path": "userAgreement",
  381. "style": {
  382. "navigationBarTitleText": "用户协议"
  383. }
  384. },
  385. {
  386. "path": "privacyAgreement",
  387. "style": {
  388. "navigationBarTitleText": "隐私协议"
  389. }
  390. }
  391. ]
  392. }
  393. ],
  394. "globalStyle": {
  395. "navigationBarTextStyle": "black",
  396. "navigationBarTitleText": "uni-app",
  397. "navigationBarBackgroundColor": "#FFFFFF",
  398. "backgroundColor": "#f8f8f8"
  399. },
  400. "tabBar": {
  401. "color": "#666666",
  402. "selectedColor": "#6DD6B8",
  403. "borderStyle": "black",
  404. "backgroundColor": "#ffffff",
  405. "list": [{
  406. "pagePath": "pages/index/index",
  407. "iconPath": "static/tabBar/tab-home.png",
  408. "selectedIconPath": "static/tabBar/tab-home-current.png",
  409. "text": "首页"
  410. },
  411. {
  412. "pagePath": "pages/mall/mall",
  413. "iconPath": "static/tabBar/tab-cart.png",
  414. "selectedIconPath": "static/tabBar/tab-cart-current.png",
  415. "text": "商城"
  416. },
  417. {
  418. "pagePath": "pages/user/user",
  419. "iconPath": "static/tabBar/tab-my.png",
  420. "selectedIconPath": "static/tabBar/tab-my-current.png",
  421. "text": "我的"
  422. }
  423. ]
  424. },
  425. "condition": { //模式配置,仅开发期间生效
  426. "current": 0, //当前激活的模式(list 的索引项)
  427. "list": [{
  428. "name": "", //模式名称
  429. "path": "", //启动页面,必选
  430. "query": "" //启动参数,在页面的onLoad函数里面得到
  431. }]
  432. }
  433. }