pages.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  6. }
  7. },
  8. "pages": [
  9. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  10. {
  11. "path": "pages/login/index",
  12. "style": {
  13. "navigationBarTitleText": "登陆",
  14. "navigationStyle": "custom"
  15. }
  16. },
  17. {
  18. "path": "pages/tabbar/index/index",
  19. "style": {
  20. "navigationBarTitleText": "首页",
  21. "navigationStyle": "custom"
  22. }
  23. },
  24. {
  25. "path": "pages/tabbar/order/index",
  26. "style": {
  27. "navigationBarTitleText": "订单",
  28. "navigationStyle": "custom"
  29. }
  30. },
  31. {
  32. "path": "pages/tabbar/user/index",
  33. "style": {
  34. "navigationBarTitleText": "个人中心",
  35. "navigationStyle": "custom"
  36. }
  37. }
  38. ],
  39. "subpackages":[
  40. {
  41. "root": "pages_module",
  42. "name":"pages_module",
  43. "pages":[
  44. {
  45. "path": "scanCode/index",
  46. "style": {
  47. "navigationBarTitleText": "扫码验劵",
  48. "enablePullDownRefresh": true,
  49. "navigationStyle":"custom"
  50. }
  51. },
  52. {
  53. "path": "scanCoupons/index",
  54. "style": {
  55. "navigationBarTitleText": "输码验劵",
  56. "enablePullDownRefresh": true,
  57. "navigationStyle":"custom"
  58. }
  59. },
  60. {
  61. "path": "orderVerifica/index",
  62. "style": {
  63. "navigationBarTitleText": "订单核销",
  64. "enablePullDownRefresh": true,
  65. "navigationStyle":"custom"
  66. }
  67. }
  68. ]
  69. },
  70. {
  71. "root": "user_module",
  72. "name":"user_module",
  73. "pages":[
  74. {
  75. "path": "businessInfo/index",
  76. "style": {
  77. "navigationBarTitleText": "商家信息"
  78. }
  79. },
  80. {
  81. "path": "changeLogo/index",
  82. "style": {
  83. "navigationBarTitleText": "店铺LOGO",
  84. "navigationBarBackgroundColor":"#000",
  85. "navigationBarTextStyle":"white"
  86. }
  87. },
  88. {
  89. "path": "changeInfo/index",
  90. "style": {
  91. "navigationBarTitleText": "信息修改"
  92. }
  93. },
  94. {
  95. "path": "merchantCode/index",
  96. "style": {
  97. "navigationBarTitleText": "商家码",
  98. "navigationBarBackgroundColor":"#F7F7F7",
  99. "navigationBarTextStyle":"black"
  100. }
  101. },
  102. {
  103. "path": "codeDetail/index",
  104. "style": {
  105. "navigationBarTitleText": "商家码详情",
  106. "navigationStyle": "custom"
  107. }
  108. }
  109. ]
  110. }
  111. ],
  112. "globalStyle": {
  113. "navigationBarTextStyle": "black",
  114. "navigationBarTitleText": "uni-app",
  115. "navigationBarBackgroundColor": "#FFFFFF",
  116. "backgroundColor": "#F8F8F8"
  117. },
  118. "tabBar": {
  119. "borderStyle": "white",
  120. "backgroundColor": "white",
  121. "color": "#000",
  122. "selectedColor": "#ef530e",
  123. "list": [
  124. {
  125. "pagePath": "pages/tabbar/index/index",
  126. "text": "首页",
  127. "iconPath": "static/image/tab-icon/home.png",
  128. "selectedIconPath": "static/image/tab-icon/home-active.png"
  129. },
  130. {
  131. "pagePath": "pages/tabbar/order/index",
  132. "text": "订单",
  133. "iconPath": "static/image/tab-icon/order.png",
  134. "selectedIconPath": "static/image/tab-icon/order-active.png"
  135. },
  136. {
  137. "pagePath": "pages/tabbar/user/index",
  138. "text": "我的",
  139. "iconPath": "static/image/tab-icon/user.png",
  140. "selectedIconPath": "static/image/tab-icon/user-active.png"
  141. }
  142. ]
  143. },
  144. "uniIdRouter": {}
  145. }