pages.json 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  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. "path": "hxqm",
  136. "style": {
  137. "navigationBarTitleText": "券码"
  138. }
  139. }
  140. ]
  141. },
  142. {
  143. "root": "pages/shop",
  144. "name": "shop",
  145. "pages": [{
  146. "path": "accessory",
  147. "style": {
  148. "navigationBarTitleText": "配件"
  149. }
  150. },
  151. {
  152. "path": "rent",
  153. "style": {
  154. "navigationBarTitleText": "租电"
  155. }
  156. },
  157. {
  158. "path": "action",
  159. "style": {
  160. "navigationBarTitleText": ""
  161. }
  162. },
  163. {
  164. "path": "attestation",
  165. "style": {
  166. "navigationBarTitleText": "身份认证"
  167. }
  168. },
  169. {
  170. "path": "shopTab",
  171. "style": {
  172. // "enablePullDownRefresh": true,
  173. "navigationStyle": "custom",
  174. "navigationBarTitleText": "附近门店",
  175. "app-plus": {
  176. "titleNView": false
  177. }
  178. }
  179. },
  180. {
  181. "path": "upimg",
  182. "style": {
  183. "navigationBarTitleText": ""
  184. }
  185. }
  186. ]
  187. }, {
  188. "root": "pages/user_home",
  189. "name": "user",
  190. "pages": [{
  191. "path": "realName/realNameAuthentication",
  192. "style": {
  193. "navigationBarTitleText": "实名认证"
  194. }
  195. },
  196. {
  197. "path": "realName/cropper",
  198. "style": {
  199. "navigationBarTitleText": "图片裁切"
  200. }
  201. },
  202. {
  203. "path": "myteam",
  204. "style": {
  205. "navigationBarTitleText": "我的团队"
  206. }
  207. },
  208. {
  209. "path": "award/award",
  210. "style": {
  211. "navigationStyle": "custom",
  212. "navigationBarTitleText": "佣金"
  213. }
  214. },
  215. {
  216. "path": "award/withdrawal",
  217. "style": {
  218. "navigationBarTitleText": "提现"
  219. }
  220. },
  221. {
  222. "path": "award/changeWallet",
  223. "style": {
  224. "navigationBarTitleText": "卡券转换"
  225. }
  226. },
  227. {
  228. "path": "money/pay",
  229. "style": {
  230. "navigationBarTitleText": "支付",
  231. "navigationBarBackgroundColor": "#0BBB62",
  232. "navigationBarTextStyle": "white"
  233. }
  234. },
  235. {
  236. "path": "money/paySuccess",
  237. "style": {
  238. "navigationBarTitleText": "支付成功"
  239. }
  240. },
  241. {
  242. "path": "money/wallet",
  243. "style": {
  244. "navigationBarTitleText": "我的卡券",
  245. "navigationBarBackgroundColor": "#6DD6B8",
  246. "navigationBarTextStyle": "white"
  247. }
  248. },
  249. {
  250. "path": "money/walletList",
  251. "style": {
  252. "navigationBarTitleText": "卡券明细"
  253. }
  254. },
  255. {
  256. "path": "money/qxq",
  257. "style": {
  258. "navigationStyle": "custom",
  259. "navigationBarTitleText": "骑行券"
  260. }
  261. },
  262. {
  263. "path": "award/account",
  264. "style": {
  265. "navigationBarTitleText": "提现账号"
  266. }
  267. },
  268. {
  269. "path": "money/recharge",
  270. "style": {
  271. "navigationBarTitleText": "充值",
  272. "navigationBarBackgroundColor": "#6DD6B8",
  273. "navigationBarTextStyle": "white"
  274. }
  275. },
  276. {
  277. "path": "shareQrCode",
  278. "style": {
  279. "navigationBarTitleText": "邀请好友"
  280. }
  281. },
  282. {
  283. "path": "myRent",
  284. "style": {
  285. "navigationBarTitleText": "我的电池"
  286. }
  287. }
  288. ]
  289. }, {
  290. "root": "pages/set",
  291. "name": "set",
  292. "pages": [{
  293. "path": "set",
  294. "style": {
  295. "navigationBarTitleText": "设置"
  296. }
  297. },
  298. {
  299. "path": "address",
  300. "style": {
  301. "navigationBarTitleText": "收货地址"
  302. }
  303. },
  304. {
  305. "path": "addressManage",
  306. "style": {
  307. "navigationBarTitleText": ""
  308. }
  309. },
  310. {
  311. "path": "phone",
  312. "style": {
  313. "navigationBarTitleText": "手机认证"
  314. }
  315. },
  316. {
  317. "path": "password",
  318. "style": {
  319. "navigationBarTitleText": "修改密码"
  320. }
  321. },
  322. {
  323. "path": "userinfo",
  324. "style": {
  325. "navigationBarTitleText": "修改资料"
  326. }
  327. }
  328. ]
  329. }, {
  330. "root": "pages/public",
  331. "name": "public",
  332. "pages": [
  333. // #ifdef H5
  334. {
  335. "path": "domApp",
  336. "style": {
  337. "navigationBarTitleText": "app下载",
  338. "app-plus": {
  339. "titleNView": false
  340. }
  341. }
  342. },
  343. // #endif
  344. // #ifndef MP
  345. {
  346. "path": "workwork",
  347. "style": {
  348. "navigationBarTitleText": "关于我们"
  349. }
  350. },
  351. // #endif
  352. {
  353. "path": "register",
  354. "style": {
  355. "navigationBarTitleText": "注册",
  356. "app-plus": {
  357. "titleNView": false
  358. }
  359. }
  360. },
  361. {
  362. "path": "phoneLogin",
  363. "style": {
  364. "navigationBarTitleText": "手机登录",
  365. "app-plus": {
  366. "titleNView": false
  367. }
  368. }
  369. },
  370. {
  371. "path": "login",
  372. "style": {
  373. "navigationBarTitleText": "登录",
  374. "app-plus": {
  375. "titleNView": false
  376. }
  377. }
  378. },
  379. // #ifdef MP || H5
  380. {
  381. "path": "wxLogin",
  382. "style": {
  383. "navigationBarTitleText": "微信登录",
  384. "app-plus": {
  385. "titleNView": {
  386. "type": "transparent"
  387. }
  388. }
  389. }
  390. },
  391. // #endif
  392. {
  393. "path": "forget",
  394. "style": {
  395. "navigationBarTitleText": "忘记密码",
  396. "app-plus": {
  397. "titleNView": false
  398. }
  399. }
  400. },
  401. {
  402. "path": "redirect",
  403. "style": {
  404. "navigationBarTitleText": "微信登录跳转页面",
  405. "app-plus": {
  406. "titleNView": false
  407. }
  408. }
  409. },
  410. {
  411. "path": "userAgreement",
  412. "style": {
  413. "navigationBarTitleText": "用户协议"
  414. }
  415. },
  416. {
  417. "path": "privacyAgreement",
  418. "style": {
  419. "navigationBarTitleText": "隐私协议"
  420. }
  421. }
  422. ]
  423. }
  424. ],
  425. "globalStyle": {
  426. "navigationBarTextStyle": "black",
  427. "navigationBarTitleText": "卡羚能服",
  428. "navigationBarBackgroundColor": "#FFFFFF",
  429. "backgroundColor": "#f8f8f8"
  430. },
  431. "tabBar": {
  432. "color": "#666666",
  433. "selectedColor": "#6DD6B8",
  434. "borderStyle": "black",
  435. "backgroundColor": "#ffffff",
  436. "list": [{
  437. "pagePath": "pages/index/index",
  438. "iconPath": "static/tabBar/tab-home.png",
  439. "selectedIconPath": "static/tabBar/tab-home-current.png",
  440. "text": "首页"
  441. },
  442. {
  443. "pagePath": "pages/mall/mall",
  444. "iconPath": "static/tabBar/tab-cart.png",
  445. "selectedIconPath": "static/tabBar/tab-cart-current.png",
  446. "text": "商城"
  447. },
  448. {
  449. "pagePath": "pages/user/user",
  450. "iconPath": "static/tabBar/tab-my.png",
  451. "selectedIconPath": "static/tabBar/tab-my-current.png",
  452. "text": "我的"
  453. }
  454. ]
  455. },
  456. "condition": { //模式配置,仅开发期间生效
  457. "current": 0, //当前激活的模式(list 的索引项)
  458. "list": [{
  459. "name": "", //模式名称
  460. "path": "", //启动页面,必选
  461. "query": "" //启动参数,在页面的onLoad函数里面得到
  462. }]
  463. }
  464. }