pages.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. {
  2. // "leftWindow" : {
  3. // "path" : "windows/left-window.vue",
  4. // "style" : {
  5. // "width" : "350px"
  6. // }
  7. // },
  8. // "topWindow" : {
  9. // "path" : "windows/top-window.vue",
  10. // "style" : {
  11. // "height" : "60px"
  12. // }
  13. // },
  14. "pages" : [
  15. {
  16. "path" : "pages/ai/main/main",
  17. "style": {
  18. "usingComponents": {
  19. // #ifdef MP-WEIXIN
  20. "towxml": "/static/towxml/towxml"
  21. // #endif
  22. }
  23. }
  24. },
  25. {
  26. "path" : "pages/ai/chat/chat",
  27. //
  28. "style": {
  29. "usingComponents": {
  30. // #ifdef MP-WEIXIN
  31. "towxml": "/static/towxml/towxml"
  32. // #endif
  33. }
  34. }
  35. },
  36. {
  37. "path" : "pages/ai/share/share",
  38. "style": {
  39. "usingComponents": {
  40. // #ifdef MP-WEIXIN
  41. "towxml": "/static/towxml/towxml"
  42. // #endif
  43. }
  44. }
  45. },
  46. {
  47. "path" : "pages/ai/share/drawshare",
  48. "style": {
  49. "usingComponents": {
  50. // #ifdef MP-WEIXIN
  51. "towxml": "/static/towxml/towxml"
  52. // #endif
  53. }
  54. }
  55. },
  56. {
  57. "path": "pages/explore/explore"
  58. },
  59. {
  60. "path": "pages/webpage/webpage"
  61. },
  62. {
  63. "path": "pages/about/about",
  64. "style": {
  65. "backgroundColor": "#33373f",
  66. "backgroundTextStyle": "dark",
  67. "enablePullDownRefresh": true
  68. }
  69. },
  70. {
  71. "path" : "pages/about/vip/vip",
  72. "style" :
  73. {
  74. "navigationBarTitleText": "会员充值",
  75. "enablePullDownRefresh": false
  76. }
  77. }
  78. ,{
  79. "path" : "pages/about/orderlist/orderlist",
  80. "style" :
  81. {
  82. "navigationBarTitleText": "订单列表",
  83. "enablePullDownRefresh": false
  84. }
  85. }
  86. ,{
  87. "path" : "pages/ai/draw/draw",
  88. "style" :
  89. {
  90. "navigationBarTitleText": "AI降临派 - 绘画",
  91. "enablePullDownRefresh": false
  92. }
  93. }
  94. ,{
  95. "path" : "pages/about/versions/versions",
  96. "style" :
  97. {
  98. "navigationBarTitleText": "版本历史",
  99. "enablePullDownRefresh": false
  100. }
  101. }
  102. ],
  103. "subPackages" : [],
  104. "globalStyle" : {
  105. "pageOrientation" : "portrait",
  106. "navigationBarTitleText" : "AI 降临派",
  107. "navigationBarTextStyle" : "white",
  108. "navigationBarBackgroundColor" : "#33373f",
  109. "backgroundColor" : "#33373f",
  110. "backgroundColorTop" : "#33373f",
  111. "backgroundColorBottom" : "#33373f",
  112. "mp-360" : {
  113. "navigationStyle" : "custom"
  114. },
  115. "h5" : {
  116. "maxWidth" : 1190,
  117. "navigationBarTextStyle" : "black",
  118. "navigationBarBackgroundColor" : "#33373f"
  119. }
  120. },
  121. "tabBar": {
  122. "color": "#dedede",
  123. "selectedColor": "#23a27e",
  124. "borderStyle": "black",
  125. "backgroundColor": "#33373f",
  126. "iconWidth": "18px",
  127. "iconfontSrc":"/static/icon/iconfont.ttf", // app tabbar 字体.ttf文件路径 app 3.4.4+
  128. "list": [
  129. {
  130. "pagePath": "pages/ai/main/main",
  131. "iconPath": "/static/ai/home.png",
  132. "selectedIconPath": "/static/ai/home_selected.png",
  133. "text": "首页"
  134. // "iconfont": { // 优先级高于 iconPath,该属性依赖 tabbar 根节点的 iconfontSrc
  135. // "text": "\ue6bb",
  136. // "selectedText": "\ue6bb;",
  137. // "fontSize": "16px",
  138. // "color": "#FFFFFF",
  139. // "selectedColor": "#23a27e"
  140. // }
  141. },
  142. {
  143. "pagePath": "pages/explore/explore",
  144. "text": "探索",
  145. "iconPath": "/static/ai/explore.png",
  146. "selectedIconPath": "/static/ai/explore_selected.png"
  147. // "iconfont": { // 优先级高于 iconPath,该属性依赖 tabbar 根节点的 iconfontSrc
  148. // "text": "\ue64b",
  149. // "selectedText": "\ue64b;",
  150. // "fontSize": "16px",
  151. // "color": "#FFFFFF",
  152. // "selectedColor": "#23a27e"
  153. // }
  154. },
  155. {
  156. "pagePath": "pages/about/about",
  157. "text": "我的",
  158. "iconPath": "/static/ai/aboutme.png",
  159. "selectedIconPath": "/static/ai/aboutme_selected.png"
  160. // "iconfont": { // 优先级高于 iconPath,该属性依赖 tabbar 根节点的 iconfontSrc
  161. // "text": "\ue6bb",
  162. // "selectedText": "\ue6bb;",
  163. // "fontSize": "16px",
  164. // "color": "#FFFFFF",
  165. // "selectedColor": "#23a27e"
  166. // }
  167. }]
  168. },
  169. "condition" : { //模式配置,仅开发期间生效
  170. "current": 1, //当前激活的模式(list 的索引项)
  171. "list": [
  172. {
  173. "name": "画图分享进入", //模式名称
  174. "path": "pages/ai/share/drawshare", //启动页面,必选
  175. "query": "uid=3&sid=5975" //启动参数,在页面的onLoad函数里面得到
  176. },
  177. {
  178. "name": "分享进入", //模式名称
  179. "path": "pages/ai/share/share", //启动页面,必选
  180. "query": "uid=3&sid=1431" //启动参数,在页面的onLoad函数里面得到
  181. },
  182. {
  183. "name": "我的",
  184. "path": "pages/about/about"//启动页面,必选
  185. }
  186. ]
  187. }
  188. }