pages.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/accommodation/accommodation",
  8. "style": {
  9. "navigationBarTitleText": "住宿",
  10. "enablePullDownRefresh": false
  11. }
  12. },{
  13. "path": "pages/food/food",
  14. "style": {
  15. "navigationBarTitleText": "美食",
  16. "enablePullDownRefresh": false,
  17. "navigationStyle":"custom"
  18. }
  19. },
  20. {
  21. "path": "pages/my/my",
  22. "style": {
  23. "navigationBarTitleText": "我的"
  24. }
  25. }
  26. , {
  27. "path": "pages/play/play",
  28. "style": {
  29. "navigationBarTitleText": "游玩",
  30. "enablePullDownRefresh": false
  31. }
  32. }, {
  33. "path": "pages/find/find",
  34. "style": {
  35. "navigationBarTitleText": "发现",
  36. "enablePullDownRefresh": false
  37. }
  38. }
  39. ],
  40. "tabBar": {
  41. "custom": false,
  42. "color": "#656765",
  43. "selectedColor": "#fbb612",
  44. "borderStyle": "white",
  45. "backgroundColor": "#ffffff",
  46. "list": [{
  47. "pagePath": "pages/accommodation/accommodation",
  48. "iconPath": "static/image/nav-icon/riLine-hotel-line.png",
  49. "selectedIconPath": "static/image/nav-icon/riLine-hotel-line Copy.png",
  50. "text": "住宿"
  51. },
  52. {
  53. "pagePath": "pages/food/food",
  54. "iconPath": "static/image/nav-icon/md-restaurant_menu.png",
  55. "selectedIconPath": "static/image/nav-icon/md-restaurant_menu Copy.png",
  56. "text": "美食"
  57. },
  58. {
  59. "pagePath": "pages/play/play",
  60. "iconPath": "static/image/nav-icon/iconPark-landscape.png",
  61. "selectedIconPath": "static/image/nav-icon/iconPark-landscape Copy.png",
  62. "text": "游玩"
  63. },
  64. {
  65. "pagePath": "pages/find/find",
  66. "iconPath": "static/image/nav-icon/antOutline-compass.png",
  67. "selectedIconPath": "static/image/nav-icon/antOutline-compass Copy.png",
  68. "text": "发现"
  69. },
  70. {
  71. "pagePath": "pages/my/my",
  72. "iconPath": "static/image/nav-icon/antOutline-user.png",
  73. "selectedIconPath": "static/image/nav-icon/antOutline-user Copy.png",
  74. "text": "我的"
  75. }
  76. ]
  77. },
  78. "globalStyle": {
  79. "navigationBarTextStyle": "black",
  80. "navigationBarTitleText": "uni-app",
  81. "navigationBarBackgroundColor": "#fff",
  82. "backgroundColor": "#F8F8F8"
  83. },
  84. "uniIdRouter": {},
  85. "subPackages": [{
  86. "root": "pageA",
  87. "pages": [{
  88. "path": "find/createLifeService",
  89. "style": {
  90. "navigationBarTitleText": "全品类入驻",
  91. "enablePullDownRefresh": false
  92. }
  93. },
  94. {
  95. "path": "find/search",
  96. "style": {
  97. "navigationBarTitleText": "搜索",
  98. "enablePullDownRefresh": false
  99. }
  100. }, {
  101. "path": "food/search",
  102. "style": {
  103. "navigationBarTitleText": "美食搜索",
  104. "enablePullDownRefresh": false
  105. }
  106. }, {
  107. "path": "food/groupBuying",
  108. "style": {
  109. "navigationBarTitleText": "",
  110. "enablePullDownRefresh": false
  111. }
  112. }, {
  113. "path": "food/menu",
  114. "style": {
  115. "navigationBarTitleText": "菜单",
  116. "enablePullDownRefresh": false,
  117. "navigationBarBackgroundColor": "#fff"
  118. }
  119. }
  120. ,{
  121. "path" : "food/fondMap",
  122. "style" :
  123. {
  124. "navigationBarTitleText": "美食地图",
  125. "enablePullDownRefresh": false
  126. }
  127. },
  128. {
  129. "path" : "enter/cateringindustry",
  130. "style" :
  131. {
  132. "navigationBarTitleText": "餐饮",
  133. "enablePullDownRefresh": false
  134. }
  135. }
  136. ,{
  137. "path" : "enter/hotel",
  138. "style" :
  139. {
  140. "navigationBarTitleText": "酒店",
  141. "enablePullDownRefresh": false
  142. }
  143. }
  144. ,{
  145. "path" : "enter/homestay",
  146. "style" :
  147. {
  148. "navigationBarTitleText": "民宿",
  149. "enablePullDownRefresh": false
  150. }
  151. }
  152. ,{
  153. "path" : "webview",
  154. "style" :
  155. {
  156. "navigationBarTitleText": "",
  157. "enablePullDownRefresh": false
  158. }
  159. }
  160. ,{
  161. "path" : "enter/myCateringdustry/index",
  162. "style" :
  163. {
  164. "navigationBarTitleText": "餐饮",
  165. "enablePullDownRefresh": false
  166. }
  167. }
  168. ,{
  169. "path" : "enter/enter",
  170. "style" :
  171. {
  172. "navigationBarTitleText": "入驻",
  173. "enablePullDownRefresh": false,
  174. "navigationStyle":"custom"
  175. }
  176. }
  177. ,{
  178. "path" : "enter/myCateringdustry/addfood",
  179. "style" :
  180. {
  181. "navigationBarTitleText": "添加菜品",
  182. "enablePullDownRefresh": false
  183. }
  184. }
  185. ,{
  186. "path" : "enter/myCateringdustry/addGroupBuying",
  187. "style" :
  188. {
  189. "navigationBarTitleText": "添加团购",
  190. "enablePullDownRefresh": false
  191. }
  192. },
  193. {
  194. "path" : "enter/myCateringdustry/addGroupBuyingNext",
  195. "style" :
  196. {
  197. "navigationBarTitleText": "添加团购",
  198. "enablePullDownRefresh": false
  199. }
  200. }
  201. ,{
  202. "path" : "enter/myCateringdustry/shopSetting/index",
  203. "style" :
  204. {
  205. "navigationBarTitleText": "设置",
  206. "enablePullDownRefresh": false
  207. }
  208. }
  209. ,{
  210. "path" : "enter/myCateringdustry/shopSetting/editShopInformation",
  211. "style" :
  212. {
  213. "navigationBarTitleText": "店铺信息",
  214. "enablePullDownRefresh": false
  215. }
  216. }
  217. ,{
  218. "path" : "enter/myCateringdustry/shopSetting/editShopImage",
  219. "style" :
  220. {
  221. "navigationBarTitleText": "店铺图片",
  222. "enablePullDownRefresh": false
  223. }
  224. }
  225. ,{
  226. "path" : "enter/myCateringdustry/shopSetting/editCertificate",
  227. "style" :
  228. {
  229. "navigationBarTitleText": "证照",
  230. "enablePullDownRefresh": false
  231. }
  232. }
  233. ,{
  234. "path" : "enter/myCateringdustry/shopSetting/editFoodClassify",
  235. "style" :
  236. {
  237. "navigationBarTitleText": "菜品分类",
  238. "enablePullDownRefresh": false
  239. }
  240. }
  241. ,{
  242. "path" : "enter/myCateringdustry/shopSetting/foodInfomation",
  243. "style" :
  244. {
  245. "navigationBarTitleText": "菜品",
  246. "enablePullDownRefresh": false
  247. }
  248. }
  249. ,{
  250. "path" : "enter/myCateringdustry/shopSetting/groupBuying",
  251. "style" :
  252. {
  253. "navigationBarTitleText": "团购",
  254. "enablePullDownRefresh": false
  255. }
  256. }
  257. ,{
  258. "path" : "enter/myCateringdustry/shopSetting/lookGroupBuying",
  259. "style" :
  260. {
  261. "navigationBarTitleText": "团购详情",
  262. "enablePullDownRefresh": false
  263. }
  264. }
  265. ,{
  266. "path" : "enter/myCateringdustry/shopSetting/saleroom",
  267. "style" :
  268. {
  269. "navigationBarTitleText": "销售记录",
  270. "enablePullDownRefresh": false
  271. }
  272. }
  273. ,{
  274. "path" : "enter/myHomestay/index",
  275. "style" :
  276. {
  277. "navigationBarTitleText": "民宿",
  278. "enablePullDownRefresh": false
  279. }
  280. }
  281. ,{
  282. "path" : "enter/myHomestay/add",
  283. "style" :
  284. {
  285. "navigationBarTitleText": "民宿",
  286. "enablePullDownRefresh": false
  287. }
  288. }
  289. ,{
  290. "path" : "enter/myHomestay/edit",
  291. "style" :
  292. {
  293. "navigationBarTitleText": "民宿",
  294. "enablePullDownRefresh": false
  295. }
  296. }
  297. ,{
  298. "path" : "enter/myHomestay/search",
  299. "style" :
  300. {
  301. "navigationBarTitleText": "搜索",
  302. "enablePullDownRefresh": false
  303. }
  304. }
  305. ,{
  306. "path" : "notice/noticedetail",
  307. "style" :
  308. {
  309. "navigationBarTitleText": "通知详情",
  310. "enablePullDownRefresh": false
  311. }
  312. },
  313. {
  314. "path" : "notice/index",
  315. "style" :
  316. {
  317. "navigationBarTitleText": "通知",
  318. "enablePullDownRefresh": false,
  319. "navigationStyle":"custom"
  320. }
  321. }
  322. ,{
  323. "path" : "my/bill",
  324. "style" :
  325. {
  326. "navigationBarTitleText": "账单",
  327. "enablePullDownRefresh": false
  328. }
  329. }
  330. ,{
  331. "path" : "my/my",
  332. "style" :
  333. {
  334. "navigationBarTitleText": "我的",
  335. "enablePullDownRefresh": false,
  336. "navigationStyle":"custom"
  337. }
  338. }
  339. ,{
  340. "path" : "enter/myCateringdustry/edit",
  341. "style" :
  342. {
  343. "navigationBarTitleText": "店铺信息",
  344. "enablePullDownRefresh": false
  345. }
  346. }
  347. ,{
  348. "path" : "food/detailMap",
  349. "style" :
  350. {
  351. "navigationBarTitleText": "店铺详情",
  352. "enablePullDownRefresh": false
  353. }
  354. }
  355. ]
  356. }],
  357. "preloadRule": {
  358. "pages/accommodation/accommodation": {
  359. "network": "all",
  360. "packages": ["pageA"]
  361. }
  362. }
  363. }