pages.json 9.1 KB

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