pages.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. {
  2. "pages": [{
  3. "path": "pages/conversations",
  4. "style": {
  5. "navigationBarTitleText": "会话",
  6. "navigationBarBackgroundColor": "#ffffff",
  7. "navigationBarTextStyle": "black",
  8. "app-plus": {
  9. "titleNView": true
  10. }
  11. }
  12. },
  13. {
  14. "path": "pages/login",
  15. "style": {
  16. "navigationBarTitleText": "登录",
  17. "navigationBarBackgroundColor": "#ffffff",
  18. "navigationBarTextStyle": "white",
  19. "app-plus": {
  20. "titleNView": true
  21. }
  22. }
  23. },
  24. {
  25. "path": "pages/contacts",
  26. "style": {
  27. "navigationBarTitleText": "通讯录",
  28. "navigationBarBackgroundColor": "#ffffff",
  29. "navigationBarTextStyle": "black"
  30. }
  31. },
  32. {
  33. "path": "pages/mine",
  34. "style": {
  35. "navigationBarTitleText": "我的",
  36. "navigationBarBackgroundColor": "#ffffff",
  37. "navigationBarTextStyle": "black"
  38. }
  39. },
  40. {
  41. "path": "pages/privateChat",
  42. "style": {
  43. "navigationBarTitleText": "uni-app",
  44. "navigationBarBackgroundColor": "#F1F1F1",
  45. "enablePullDownRefresh": true
  46. }
  47. },
  48. {
  49. "path": "pages/qunfa",
  50. "style": {
  51. "navigationBarTitleText": "群发",
  52. "navigationBarBackgroundColor": "#F1F1F1",
  53. "enablePullDownRefresh": true
  54. }
  55. },
  56. {
  57. "path": "pages/ck",
  58. "style": {
  59. "navigationBarTitleText": "供应商",
  60. "navigationBarBackgroundColor": "#F1F1F1",
  61. "enablePullDownRefresh": true
  62. }
  63. },
  64. {
  65. "path": "pages/groupChat",
  66. "style": {
  67. "navigationBarTitleText": "群",
  68. "navigationBarBackgroundColor": "#F1F1F1",
  69. "enablePullDownRefresh": true
  70. }
  71. },
  72. {
  73. "path": "pages/member",
  74. "style": {
  75. "navigationBarTitleText": "群成员",
  76. "navigationBarBackgroundColor": "#ffffff",
  77. "navigationBarTextStyle": "black"
  78. }
  79. },
  80. {
  81. "path": "pages/rtc/private/ring",
  82. "style": {
  83. "disableSwipeBack": true,
  84. "navigationBarTitleText": "",
  85. "disableScroll": true,
  86. "navigationStyle": "custom",
  87. "app-plus": {
  88. "backgroundColorTop": "transparent",
  89. "background": "transparent",
  90. "scrollIndicator": false
  91. }
  92. }
  93. },
  94. {
  95. "path": "pages/rtc/private/call",
  96. "style": {
  97. "disableSwipeBack": true,
  98. "navigationBarTitleText": "",
  99. "disableScroll": true,
  100. "navigationStyle": "custom",
  101. "app-plus": {
  102. "backgroundColorTop": "transparent",
  103. "background": "transparent",
  104. "scrollIndicator": false
  105. }
  106. }
  107. },
  108. {
  109. "path": "pages/rtc/private/dial",
  110. "style": {
  111. "disableSwipeBack": true,
  112. "navigationBarTitleText": "",
  113. "disableScroll": true,
  114. "navigationStyle": "custom",
  115. "app-plus": {
  116. "backgroundColorTop": "transparent",
  117. "background": "transparent",
  118. "scrollIndicator": false
  119. }
  120. }
  121. },
  122. {
  123. "path": "pages/rtc/group/ring",
  124. "style": {
  125. "disableSwipeBack": true,
  126. "navigationBarTitleText": "",
  127. "disableScroll": true,
  128. "navigationStyle": "custom",
  129. "app-plus": {
  130. "backgroundColorTop": "transparent",
  131. "background": "transparent",
  132. "scrollIndicator": false
  133. }
  134. }
  135. },
  136. {
  137. "path": "pages/rtc/group/call",
  138. "style": {
  139. "disableSwipeBack": true,
  140. "navigationBarTitleText": "",
  141. "disableScroll": true,
  142. "navigationStyle": "custom",
  143. "app-plus": {
  144. "backgroundColorTop": "transparent",
  145. "background": "transparent",
  146. "scrollIndicator": false
  147. }
  148. }
  149. },
  150. {
  151. "path": "pages/rtc/group/dial",
  152. "style": {
  153. "disableSwipeBack": true,
  154. "navigationBarTitleText": "",
  155. "disableScroll": true,
  156. "navigationStyle": "custom",
  157. "app-plus": {
  158. "backgroundColorTop": "transparent",
  159. "background": "transparent",
  160. "scrollIndicator": false
  161. }
  162. }
  163. },
  164. {
  165. "path" : "pages/rtc/group/chooseCallee",
  166. "style": {
  167. "navigationBarTitleText": "",
  168. "disableScroll": true,
  169. "navigationStyle": "custom",
  170. "app-plus": {
  171. "backgroundColorTop": "transparent",
  172. "background": "transparent",
  173. "scrollIndicator": false
  174. }
  175. }
  176. }
  177. ],
  178. "globalStyle": {
  179. "navigationBarTextStyle": "black",
  180. "navigationBarTitleText": "",
  181. "navigationBarBackgroundColor": "#F3F4F7",
  182. "backgroundColor": "#F8F8F8"
  183. },
  184. "tabBar": {
  185. "color": "#454750",
  186. "selectedColor": "#618DFF",
  187. "borderStyle": "black",
  188. "backgroundColor": "#ffffff",
  189. "height": "60px",
  190. "list": [{
  191. "pagePath": "pages/conversations",
  192. "iconPath": "static/images/msg.png",
  193. "selectedIconPath": "static/images/msg-active.png"
  194. },
  195. {
  196. "pagePath": "pages/contacts",
  197. "iconPath": "static/images/contacts.png",
  198. "selectedIconPath": "static/images/contacts-active.png"
  199. },
  200. {
  201. "pagePath": "pages/mine",
  202. "iconPath": "static/images/mine.png",
  203. "selectedIconPath": "static/images/mine-active.png"
  204. }
  205. ]
  206. },
  207. "condition": { //模式配置,仅开发期间生效
  208. "current": 0, //当前激活的模式(list 的索引项)
  209. "list": [{
  210. "name": "", //模式名称
  211. "path": "", //启动页面,必选
  212. "query": "" //启动参数,在页面的onLoad函数里面得到
  213. }]
  214. }
  215. }