pages.json 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. // 登录页面
  4. {
  5. "path": "pages/login/login",
  6. "style": {
  7. "navigationStyle": "custom",
  8. "navigationBarTitleText": "WeChat",
  9. "app-plus": {
  10. "titleNView": false
  11. },
  12. "navigationBarTextStyle": "black"
  13. }
  14. },
  15. //
  16. {
  17. "path": "pages/authentication/city",
  18. "style": {
  19. "navigationBarTitleText": "认证房屋",
  20. // "app-plus":{"titleNView":false},
  21. "navigationBarTextStyle": "black"
  22. }
  23. },
  24. // 首页
  25. {
  26. "path": "pages/index/index",
  27. "style": {
  28. "navigationStyle": "custom",
  29. // "app-plus":{"titleNView":false}
  30. "enablePullDownRefresh":true
  31. }
  32. },
  33. //定位城市
  34. {
  35. "path": "pages/authentication/authentication",
  36. "style": {
  37. "navigationBarTitleText": "认证房屋",
  38. // "app-plus":{"titleNView":false},
  39. "navigationBarTextStyle": "black"
  40. }
  41. },
  42. // 在线投诉
  43. {
  44. "path": "pages/complain/index",
  45. "style": {
  46. "navigationBarTitleText": "在线投诉",
  47. "navigationBarTextStyle": "black"
  48. }
  49. },
  50. // 投诉成功完成
  51. {
  52. "path": "pages/complain/compalinSuccess",
  53. "style": {
  54. "navigationBarTitleText": "我要投诉",
  55. "navigationBarTextStyle": "black"
  56. }
  57. },
  58. // 报修成功完成
  59. {
  60. "path": "pages/onlineRpair/repairSuccess",
  61. "style": {
  62. "navigationBarTitleText": "我要报修",
  63. "navigationBarTextStyle": "black"
  64. }
  65. },
  66. // 投诉评价
  67. {
  68. "path": "pages/complain/evaluateCompalin",
  69. "style": {
  70. "navigationStyle": "custom",
  71. "app-plus": {
  72. "titleNView": false
  73. }
  74. }
  75. },
  76. // 我要投诉
  77. {
  78. "path": "pages/complain/wantCompalin",
  79. "style": {
  80. "navigationStyle": "custom",
  81. "app-plus": {
  82. "titleNView": false
  83. }
  84. }
  85. },
  86. // 报修评价完成
  87. {
  88. "path": "pages/onlineRpair/evalueSuccess",
  89. "style": {
  90. "navigationBarTitleText": "评价",
  91. "navigationBarTextStyle": "black"
  92. }
  93. },
  94. // 我的评价
  95. {
  96. "path": "pages/onlineRpair/repairsEvaluate",
  97. "style": {
  98. "navigationStyle": "custom",
  99. "app-plus": {
  100. "titleNView": false
  101. }
  102. }
  103. },
  104. // 我要保修
  105. {
  106. "path": "pages/onlineRpair/wantRepair",
  107. "style": {
  108. "navigationStyle": "custom",
  109. "app-plus": {
  110. "titleNView": false
  111. }
  112. }
  113. },
  114. // 在线保修
  115. {
  116. "path": "pages/onlineRpair/index",
  117. "style": {
  118. "navigationBarTitleText": "在线报修",
  119. "navigationBarTextStyle": "black"
  120. }
  121. },
  122. // 一键开门
  123. {
  124. "path": "pages/openDoor/openDoor",
  125. "style": {
  126. "navigationBarTitleText": "一键开门",
  127. "navigationBarTextStyle": "black",
  128. "enablePullDownRefresh":true
  129. }
  130. },
  131. // 解锁记录
  132. {
  133. "path": "pages/openDoor/openDoorList",
  134. "style": {
  135. "navigationBarTitleText": "解锁记录",
  136. "navigationBarTextStyle": "black",
  137. "enablePullDownRefresh":true
  138. }
  139. },
  140. // 开门码
  141. {
  142. "path": "pages/visitor/doorCode",
  143. "style": {
  144. "navigationStyle": "custom",
  145. "app-plus": {
  146. "titleNView": false
  147. }
  148. }
  149. },
  150. // 历史记录
  151. {
  152. "path": "pages/visitor/historyList",
  153. "style": {
  154. "navigationBarTitleText": "历史记录",
  155. "navigationBarTextStyle": "black"
  156. }
  157. },
  158. // 认证房屋审核成功
  159. {
  160. "path": "pages/authentication/checkSuccess",
  161. "style": {
  162. "navigationBarTitleText": "审核成功",
  163. "navigationBarTextStyle": "black"
  164. }
  165. },
  166. // 认证房屋审核中
  167. {
  168. "path": "pages/authentication/checkIng",
  169. "style": {
  170. "navigationBarTitleText": "审核中",
  171. "navigationBarTextStyle": "black"
  172. }
  173. },
  174. //家人关怀
  175. {
  176. "path": "pages/family/family",
  177. "style": {
  178. "navigationStyle": "custom",
  179. "app-plus": {
  180. "titleNView": false
  181. },
  182. "enablePullDownRefresh":true
  183. }
  184. },
  185. // 注册页面
  186. {
  187. "path": "pages/register/register",
  188. "style": {
  189. "navigationStyle": "custom",
  190. "navigationBarTitleText": "WeChat",
  191. "app-plus": {
  192. "titleNView": false
  193. },
  194. "navigationBarTextStyle": "black"
  195. }
  196. },
  197. //邻里圈
  198. {
  199. "path": "pages/circle/circles",
  200. "style": {
  201. "navigationStyle": "custom",
  202. "app-plus": {
  203. "titleNView": false
  204. },
  205. "enablePullDownRefresh":true
  206. }
  207. },
  208. //发布邻里圈
  209. {
  210. "path": "pages/circle/publish",
  211. "style": {
  212. "navigationBarTitleText": "发布邻里圈",
  213. "navigationBarTextStyle": "black"
  214. }
  215. },
  216. //我的
  217. {
  218. "path": "pages/mine/mine",
  219. "style": {
  220. "navigationStyle": "custom",
  221. "app-plus": {
  222. "titleNView": false
  223. }
  224. }
  225. },
  226. //个人资料
  227. {
  228. "path": "pages/mine/myInfo",
  229. "style": {
  230. "navigationBarTitleText": "个人资料",
  231. "navigationBarTextStyle": "black"
  232. }
  233. },
  234. //我的汽车
  235. {
  236. "path": "pages/mine/myCar",
  237. "style": {
  238. "navigationBarTitleText": "我的汽车",
  239. "navigationBarTextStyle": "black",
  240. "disableScroll":true
  241. }
  242. },
  243. //我的电动车
  244. {
  245. "path": "pages/mine/myBike",
  246. "style": {
  247. "navigationBarTitleText": "我的电动车",
  248. "navigationBarTextStyle": "black",
  249. "disableScroll":true
  250. }
  251. },
  252. //汽车通行记录
  253. {
  254. "path": "pages/mine/carList",
  255. "style": {
  256. "navigationBarTitleText": "通行记录",
  257. "navigationBarTextStyle": "black",
  258. "disableScroll":true
  259. }
  260. },
  261. //绑定新车辆
  262. {
  263. "path": "pages/mine/addCar",
  264. "style": {
  265. "navigationBarTitleText": "绑定新的车辆",
  266. "navigationBarTextStyle": "black"
  267. }
  268. },
  269. //我的房屋
  270. {
  271. "path": "pages/mine/myHouse",
  272. "style": {
  273. "navigationBarTitleText": "我的房屋",
  274. "navigationBarTextStyle": "black",
  275. "enablePullDownRefresh":true
  276. }
  277. },
  278. //我的房屋
  279. {
  280. "path": "pages/index/changeHouse",
  281. "style": {
  282. "navigationBarTitleText": "我的房屋",
  283. "navigationBarTextStyle": "black"
  284. }
  285. },
  286. //人脸模板
  287. {
  288. "path": "pages/mine/face",
  289. "style": {
  290. "navigationStyle": "custom",
  291. "app-plus": {
  292. "titleNView": false
  293. }
  294. }
  295. },
  296. //我的家人
  297. {
  298. "path": "pages/mine/family",
  299. "style": {
  300. "navigationBarTitleText": "我的家人",
  301. "navigationBarTextStyle": "black",
  302. // "disableScroll":true,
  303. "app-plus":{
  304. "bounce":"none"
  305. }
  306. }
  307. },
  308. //添加家人信息
  309. {
  310. "path": "pages/mine/addFamily",
  311. "style": {
  312. "navigationBarTitleText": "我的家人",
  313. "navigationBarTextStyle": "black"
  314. }
  315. },
  316. //我的消息
  317. {
  318. "path": "pages/mine/message",
  319. "style": {
  320. "navigationBarTitleText": "我的消息",
  321. "navigationBarTextStyle": "black"
  322. }
  323. },
  324. // 选择小区
  325. {
  326. "path": "pages/authentication/selectHouse",
  327. "style": {
  328. "navigationStyle": "custom",
  329. "navigationBarTitleText": "WeChat",
  330. "app-plus": {
  331. "titleNView": false
  332. },
  333. "navigationBarTextStyle": "black"
  334. }
  335. },
  336. // 授权登录
  337. {
  338. "path": "pages/login/authorization",
  339. "style": {
  340. "navigationBarTitleText": "授权登录",
  341. "navigationBarTextStyle": "black"
  342. }
  343. },
  344. // 物业公告
  345. {
  346. "path": "pages/index/more",
  347. "style": {
  348. "navigationBarTitleText": "物业公告",
  349. "navigationBarTextStyle": "black",
  350. "enablePullDownRefresh":true
  351. }
  352. },
  353. // 物业公告详情
  354. {
  355. "path": "pages/index/detail",
  356. "style": {
  357. "navigationStyle": "custom",
  358. "app-plus": {
  359. "titleNView": false
  360. }
  361. }
  362. },
  363. // 访客密码
  364. {
  365. "path": "pages/index/visitorPass",
  366. "style": {
  367. "navigationStyle": "custom",
  368. "app-plus": {
  369. "titleNView": false
  370. }
  371. }
  372. }
  373. ],
  374. "tabBar": {
  375. "color": "#8a8a8a",
  376. "selectedColor": "#298AFD",
  377. "borderStyle": "black",
  378. "backgroundColor": "#ffffff",
  379. "list": [{
  380. "pagePath": "pages/index/index",
  381. "text": "首页",
  382. "iconPath": "static/tab_home_nor@2x.png",
  383. "selectedIconPath": "static/tab_home_set@2x.png"
  384. },
  385. {
  386. "pagePath": "pages/family/family",
  387. "text": "家人关怀",
  388. "iconPath": "static/tab_care_nor@2x.png",
  389. "selectedIconPath": "static/tab_care_set@2x.png"
  390. },
  391. {
  392. "pagePath": "pages/circle/circles",
  393. "text": "邻里圈",
  394. "iconPath": "static/tab_circle_nor@2x.png",
  395. "selectedIconPath": "static/tab_circle_set@2x.png"
  396. },
  397. {
  398. "pagePath": "pages/mine/mine",
  399. "text": "我的",
  400. "iconPath": "static/tab_my_nor@2x.png",
  401. "selectedIconPath": "static/tab_my_set@2x.png"
  402. }
  403. ]
  404. },
  405. "navigateToMiniProgramAppIdList": ["wx68bb6c19ba719554"],
  406. "permission": {
  407. "scope.userLocation": {
  408. "desc": "你的位置信息将用于小程序位置接口的效果展示" // 高速公路行驶持续后台定位
  409. }
  410. },
  411. "globalStyle": {
  412. "navigationBarTextStyle": "black",
  413. "navigationBarTitleText": "uni-app",
  414. "navigationBarBackgroundColor": "#F8F8F8",
  415. "backgroundColor": "#F8F8F8"
  416. },
  417. "condition": { //模式配置,仅开发期间生效
  418. "current": 0, //当前激活的模式(list 的索引项)
  419. "list": [{
  420. "name": "", //模式名称
  421. "path": "", //启动页面,必选
  422. "query": "" //启动参数,在页面的onLoad函数里面得到
  423. }]
  424. }
  425. }