pages.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. {
  2. "easycom": {
  3. "custom": {
  4. "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
  5. "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
  6. "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
  7. }
  8. },
  9. "pages": [{
  10. "path": "pages/index/index",
  11. "style": {
  12. "navigationBarTitleText": "系统页",
  13. "navigationStyle": "custom",
  14. "app-plus": {
  15. "titleNView": false //禁用原生导航栏
  16. }
  17. }
  18. },
  19. {
  20. "path": "pages/home/index",
  21. "style": {
  22. "navigationBarTitleText": "赋强公证",
  23. "navigationStyle": "custom",
  24. "app-plus": {
  25. "titleNView": false //禁用原生导航栏
  26. }
  27. }
  28. },
  29. {
  30. "path": "pages/my/index",
  31. "style": {
  32. "navigationBarTitleText": "个人中心"
  33. }
  34. }
  35. ],
  36. "subPackages": [ //分包配置
  37. {
  38. "root": "pagesHome",
  39. "pages": [ //分包
  40. {
  41. "path": "agree/index",
  42. "style": {
  43. "navigationBarTitleText": "用户协议",
  44. "enablePullDownRefresh": false,
  45. "navigationBarTextStyle": "black",
  46. "navigationBarBackgroundColor": "#F8F8F8",
  47. "backgroundColor": "#F8F8F8",
  48. "backgroundColorTop": "#F4F5F6",
  49. "backgroundColorBottom": "#F4F5F6"
  50. }
  51. },
  52. {
  53. "path": "login/index",
  54. "style": {
  55. "navigationBarTitleText": "用户登录",
  56. "enablePullDownRefresh": false,
  57. "navigationBarTextStyle": "black",
  58. "navigationBarBackgroundColor": "#F8F8F8",
  59. "backgroundColor": "#F8F8F8",
  60. "backgroundColorTop": "#F4F5F6",
  61. "backgroundColorBottom": "#F4F5F6"
  62. }
  63. },
  64. {
  65. "path": "notarization/index",
  66. "style": {
  67. "navigationBarTitleText": "赋强公证",
  68. "enablePullDownRefresh": true
  69. }
  70. },
  71. {
  72. "path": "notarization/detail",
  73. "style": {
  74. "navigationBarTitleText": "详情"
  75. }
  76. },
  77. {
  78. "path": "notarization/sign",
  79. "style": {
  80. "navigationBarTitleText": "签字"
  81. }
  82. },
  83. {
  84. "path": "address/index",
  85. "style": {
  86. "navigationBarTitleText": "收货地址"
  87. }
  88. },
  89. {
  90. "path": "address/add",
  91. "style": {
  92. "navigationBarTitleText": "新增地址"
  93. }
  94. },
  95. {
  96. "path": "notice/index",
  97. "style": {
  98. "navigationBarTitleText": "办证须知"
  99. }
  100. },
  101. {
  102. "path": "customer/index",
  103. "style": {
  104. "navigationBarTitleText": "在线咨询"
  105. }
  106. },
  107. {
  108. "path": "personnel/index",
  109. "style": {
  110. "navigationBarTitleText": "公证员介绍",
  111. "enablePullDownRefresh": true
  112. }
  113. },
  114. {
  115. "path": "personnel/detail",
  116. "style": {
  117. "navigationBarTitleText": "公证员详情"
  118. }
  119. },
  120. {
  121. "path": "path/index",
  122. "style": {
  123. "navigationBarTitleText": "申办流程"
  124. }
  125. }
  126. ]
  127. },
  128. {
  129. "root": "pagesMy",
  130. "pages": [ //分包
  131. {
  132. "path": "basic/index",
  133. "style": {
  134. "navigationBarTitleText": "我的信息"
  135. }
  136. },
  137. {
  138. "path": "record/index",
  139. "style": {
  140. "navigationBarTitleText": "申办记录",
  141. "enablePullDownRefresh": true
  142. }
  143. }
  144. ]
  145. }
  146. ],
  147. "globalStyle": {
  148. "navigationBarTextStyle": "white",
  149. "navigationBarTitleText": "二手车",
  150. "navigationBarBackgroundColor": "#2979ff",
  151. "backgroundColor": "#ffffff"
  152. },
  153. "tabBar": {
  154. "color": "#2c2c2c",
  155. "selectedColor": "#2979ff",
  156. "borderStyle": "black",
  157. "backgroundColor": "#ffffff",
  158. "list": [{
  159. "pagePath": "pages/home/index",
  160. "iconPath": "static/homeHL.png",
  161. "selectedIconPath": "static/home.png",
  162. "text": "赋强公证"
  163. },
  164. {
  165. "pagePath": "pages/my/index",
  166. "iconPath": "static/myHL.png",
  167. "selectedIconPath": "static/my.png",
  168. "text": "个人中心"
  169. }
  170. ]
  171. },
  172. "condition": { //模式配置,仅开发期间生效
  173. "current": 0, //当前激活的模式(list 的索引项)
  174. "list": [{
  175. "name": "赋强公证", //模式名称
  176. "path": "pages/index/index", //启动页面,必选
  177. "query": "" //启动参数,在页面的onLoad函数里面得到
  178. }]
  179. }
  180. }