pages.json 8.6 KB

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