pages.json 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [
  6. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  7. {
  8. "path": "pages/index/index",
  9. "style": {
  10. "navigationStyle": "custom",
  11. // 隐藏系统导航栏
  12. "navigationBarTitleText": "首页",
  13. "enablePullDownRefresh": true,
  14. "app-plus": {
  15. "pullToRefresh": {
  16. "support": true,
  17. "color": "#2979ff",
  18. //小圈圈的颜色
  19. "style": "circle"
  20. //小圈圈的样式
  21. }
  22. }
  23. }
  24. },
  25. {
  26. "path": "pages/center/center",
  27. "style": {
  28. "navigationStyle": "custom",
  29. // 隐藏系统导航栏
  30. "navigationBarTitleText": "我的"
  31. }
  32. },
  33. {
  34. "path": "pages/login/login",
  35. "style": {
  36. "navigationStyle": "custom",
  37. // 隐藏系统导航栏
  38. "navigationBarTitleText": "密码登录",
  39. "enablePullDownRefresh": false
  40. }
  41. },
  42. {
  43. "path": "pages/login/code",
  44. "style": {
  45. // "navigationStyle": "custom" ,// 隐藏系统导航栏
  46. "navigationBarTitleText": "获取验证码",
  47. "enablePullDownRefresh": false
  48. }
  49. },
  50. {
  51. "path": "pages/login/account",
  52. "style": {
  53. "navigationStyle": "custom",
  54. // 隐藏系统导航栏
  55. "navigationBarTitleText": "短信登录",
  56. "enablePullDownRefresh": false
  57. }
  58. },
  59. {
  60. "path": "pages/login/problem",
  61. "style": {
  62. "navigationStyle": "custom",
  63. // 隐藏系统导航栏
  64. "navigationBarTitleText": "常见问题",
  65. "enablePullDownRefresh": false
  66. }
  67. },
  68. {
  69. "path": "pages/profile/setting",
  70. "style": {
  71. "navigationStyle": "custom",
  72. // 隐藏系统导航栏
  73. "navigationBarTitleText": "",
  74. "enablePullDownRefresh": false
  75. }
  76. },
  77. {
  78. "path": "pages/profile/profile",
  79. "style": {
  80. "navigationStyle": "custom",
  81. // 隐藏系统导航栏
  82. "enablePullDownRefresh": false
  83. }
  84. },
  85. {
  86. "path": "pages/profile/password",
  87. "style": {
  88. "navigationStyle": "custom",
  89. // 隐藏系统导航栏
  90. "navigationBarTitleText": "修改密码",
  91. "enablePullDownRefresh": false
  92. }
  93. },
  94. {
  95. "path": "pages/search/search",
  96. "style": {
  97. "navigationStyle": "custom",
  98. // 隐藏系统导航栏
  99. "enablePullDownRefresh": false
  100. }
  101. },
  102. {
  103. "path": "pages/location/location",
  104. "style": {
  105. "navigationStyle": "custom",
  106. // 隐藏系统导航栏
  107. "navigationBarTitleText": "选择城市"
  108. }
  109. },
  110. {
  111. "path": "pages/notice/notice",
  112. "style": {
  113. "navigationStyle": "custom",
  114. // 隐藏系统导航栏
  115. "navigationBarTitleText": "通知公告"
  116. }
  117. },
  118. {
  119. "path": "pages/content/content",
  120. "style": {
  121. "navigationStyle": "custom",
  122. // 隐藏系统导航栏
  123. "navigationBarTitleText": "资讯"
  124. }
  125. },
  126. {
  127. "path": "pages/profile/aboutMe",
  128. "style": {
  129. "navigationBarTitleText": "关于我",
  130. "enablePullDownRefresh": false,
  131. "navigationStyle": "custom"
  132. // 隐藏系统导航栏
  133. }
  134. },
  135. {
  136. "path": "pages/search/searchList",
  137. "style": {
  138. "navigationBarTitleText": "房源列表",
  139. "enablePullDownRefresh": true,
  140. // "navigationStyle": "custom" ,// 隐藏系统导航栏
  141. "app-plus": {
  142. "pullToRefresh": {
  143. "support": true,
  144. "color": "#2979ff",
  145. //小圈圈的颜色
  146. "style": "circle"
  147. //小圈圈的样式
  148. }
  149. }
  150. }
  151. },
  152. {
  153. "path": "pages/detail/detail",
  154. "style": {
  155. "navigationStyle": "custom",
  156. // 隐藏系统导航栏
  157. "navigationBarTitleText": "房源详情",
  158. "enablePullDownRefresh": false
  159. }
  160. },
  161. {
  162. "path": "pages/detail/addHouse",
  163. "style": {
  164. "navigationBarTitleText": "房源",
  165. "enablePullDownRefresh": false
  166. }
  167. },
  168. {
  169. "path": "pages/detail/preHouse",
  170. "style": {
  171. "navigationStyle": "custom",
  172. // 隐藏系统导航栏
  173. "navigationBarTitleText": "预增房源",
  174. "enablePullDownRefresh": false
  175. }
  176. },
  177. {
  178. "path": "pages/center/tips",
  179. "style": {
  180. "navigationStyle": "custom",
  181. // 隐藏系统导航栏
  182. "navigationBarTitleText": "避坑指南"
  183. }
  184. },
  185. {
  186. "path": "pages/center/order",
  187. "style": {
  188. "navigationStyle": "custom",
  189. // 隐藏系统导航栏
  190. "navigationBarTitleText": "我的委托",
  191. "enablePullDownRefresh": false
  192. }
  193. },
  194. {
  195. "path": "pages/center/heart",
  196. "style": {
  197. "navigationStyle": "custom",
  198. // 隐藏系统导航栏
  199. "navigationBarTitleText": "收藏",
  200. "enablePullDownRefresh": false
  201. }
  202. },
  203. {
  204. "path": "pages/center/history",
  205. "style": {
  206. "navigationStyle": "custom",
  207. // 隐藏系统导航栏
  208. "navigationBarTitleText": "浏览记录",
  209. "enablePullDownRefresh": false
  210. }
  211. },
  212. {
  213. "path": "pages/profile/avatar",
  214. "style": {
  215. "navigationStyle": "custom",
  216. // 隐藏系统导航栏
  217. "navigationBarTitleText": "设置头像",
  218. "enablePullDownRefresh": false
  219. }
  220. },
  221. {
  222. "path": "pages/chooseAddress/index",
  223. "style": {
  224. "navigationBarBackgroundColor": "#f8f8f8",
  225. "navigationBarTitleText": "地图",
  226. "backgroundColorTop": "#f8f8f8",
  227. "backgroundColorBottom": "#ffffff"
  228. }
  229. },
  230. {
  231. "path": "pages/chooseAddress/search",
  232. "style": {
  233. "navigationBarTitleText": "地址搜索"
  234. }
  235. },
  236. {
  237. "path": "pages/chooseAddress/cityList",
  238. "style": {
  239. "navigationBarTitleText": "选择城市"
  240. }
  241. },
  242. {
  243. "path": "pages/webview/webview",
  244. "style": {
  245. "navigationBarTitleText": "开源字节"
  246. }
  247. },
  248. {
  249. "path": "pages/detail/evalList",
  250. "style": {
  251. "navigationBarTitleText": "房源评价",
  252. "enablePullDownRefresh": false
  253. }
  254. }
  255. ],
  256. "globalStyle": {
  257. "navigationBarTextStyle": "black",
  258. "navigationBarTitleText": "World",
  259. "navigationBarBackgroundColor": "#ffffff",
  260. "backgroundColor": "#ffffff"
  261. },
  262. "tabBar": {
  263. "color": "#909399",
  264. "selectedColor": "#2979ff",
  265. // "borderStyle": "#909399",
  266. "borderStyle": "white",
  267. "backgroundColor": "#ffffff",
  268. "list": [
  269. {
  270. "pagePath": "pages/index/index",
  271. "iconPath": "static/index.png",
  272. "selectedIconPath": "static/index-selected.png",
  273. "text": "首页"
  274. },
  275. {
  276. "pagePath": "pages/center/center",
  277. "iconPath": "static/center.png",
  278. "selectedIconPath": "static/center-selected.png",
  279. "text": "我的"
  280. }
  281. ]
  282. },
  283. "condition": {
  284. //模式配置,仅开发期间生效
  285. "current": 0,
  286. //当前激活的模式(list 的索引项)
  287. "list": [
  288. {
  289. "name": "",
  290. //模式名称
  291. "path": "",
  292. //启动页面,必选
  293. "query": ""
  294. //启动参数,在页面的onLoad函数里面得到
  295. }
  296. ]
  297. }
  298. }