pages.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/common/launch"
  8. },
  9. {
  10. "path": "pages/auth/login",
  11. "style": {
  12. "navigationBarTitleText": "授权登录",
  13. "navigationStyle": "custom"
  14. }
  15. },
  16. {
  17. "path": "pages/auth/wxLogin",
  18. "style": {
  19. "navigationBarTitleText": "公众号授权",
  20. "navigationStyle": "custom"
  21. }
  22. },
  23. {
  24. "path": "pages/home/index",
  25. "style": {
  26. "navigationBarTitleText": "企业端",
  27. "enablePullDownRefresh": false,
  28. "navigationStyle": "custom",
  29. "app-plus": {
  30. "titleNView": false
  31. }
  32. }
  33. },
  34. {
  35. "path": "pages/user/index",
  36. "style": {
  37. "navigationBarTitleText": "我的",
  38. "navigationStyle": "custom",
  39. "app-plus": {
  40. "titleNView": false
  41. }
  42. }
  43. },
  44. {
  45. "path": "pages/auth/register",
  46. "style": {
  47. "navigationBarTitleText": "角色绑定"
  48. }
  49. },
  50. {
  51. "path": "pages/auth/changePassword",
  52. "style": {
  53. "navigationBarTitleText": "修改密码"
  54. }
  55. },
  56. {
  57. "path": "pages/auth/forgetPassword",
  58. "style": {
  59. "navigationBarTitleText": "忘记密码"
  60. }
  61. },
  62. {
  63. "path": "pages/auth/setting",
  64. "style": {
  65. "navigationBarTitleText": "设置中心"
  66. }
  67. },
  68. {
  69. "path": "pages/auth/registerUser",
  70. "style": {
  71. "navigationBarTitleText": "注册",
  72. "navigationStyle": "custom"
  73. }
  74. }
  75. ],
  76. "subPackages": [
  77. {
  78. "root": "pages_task",
  79. "pages": [
  80. {
  81. // 填写任务
  82. "path": "createTask",
  83. "style": {
  84. "navigationBarTitleText": "创建任务",
  85. "app-plus": {
  86. "titleNView": false
  87. }
  88. }
  89. },
  90. {
  91. // 选择客户
  92. "path": "selectCustomer",
  93. "style": {
  94. "navigationBarTitleText": "创建任务",
  95. "app-plus": {
  96. "titleNView": false
  97. }
  98. }
  99. },
  100. {
  101. // 积分设置
  102. "path": "pointsSettings",
  103. "style": {
  104. "navigationBarTitleText": "创建任务",
  105. "app-plus": {
  106. "titleNView": false
  107. }
  108. }
  109. },
  110. {
  111. // 提交成功
  112. "path": "success",
  113. "style": {
  114. "navigationBarTitleText": "创建任务",
  115. "app-plus": {
  116. "titleNView": false
  117. }
  118. }
  119. },
  120. {
  121. "path": "statistics",
  122. "style": {
  123. "navigationBarTitleText": "数据统计",
  124. "enablePullDownRefresh": false,
  125. "navigationBarBackgroundColor": "#fff",
  126. "navigationBarTextStyle": "black",
  127. "app-plus": {
  128. "titleNView": false
  129. }
  130. }
  131. },
  132. {
  133. "path": "completeTask",
  134. "style": {
  135. "navigationBarTitleText": "完成任务",
  136. "app-plus": {
  137. "titleNView": false
  138. }
  139. }
  140. },
  141. {
  142. "path": "taskCompleteSuccess",
  143. "style": {
  144. "navigationBarTitleText": "完成任务",
  145. "app-plus": {
  146. "titleNView": false
  147. }
  148. }
  149. },
  150. {
  151. "path": "science",
  152. "style": {
  153. "navigationBarTitleText": "科普创作",
  154. "app-plus": {
  155. "titleNView": false
  156. }
  157. }
  158. },
  159. {
  160. "path": "xlTask",
  161. "style": {
  162. "navigationBarTitleText": "任务申请",
  163. "app-plus": {
  164. "titleNView": false
  165. }
  166. }
  167. },
  168. {
  169. // 任务详情
  170. "path": "taskDetail",
  171. "style": {
  172. "navigationStyle": "custom",
  173. "app-plus": {
  174. "titleNView": false
  175. }
  176. }
  177. },
  178. {
  179. //填写任务
  180. "path": "fillTask",
  181. "style": {
  182. "navigationBarTitleText": "编辑任务",
  183. "app-plus": {
  184. "titleNView": false
  185. }
  186. }
  187. },
  188. {
  189. //选择客户
  190. "path": "editSelectCustomer",
  191. "style": {
  192. "navigationBarTitleText": "编辑任务",
  193. "app-plus": {
  194. "titleNView": false
  195. }
  196. }
  197. },
  198. {
  199. //审批中心
  200. "path": "approvalCenter",
  201. "style": {
  202. "navigationBarTitleText": "审批中心",
  203. "app-plus": {
  204. "titleNView": false
  205. }
  206. }
  207. },
  208. {
  209. // 审批中心-任务详情
  210. "path": "approvalTaskDetail",
  211. "style": {
  212. "navigationStyle": "custom",
  213. "app-plus": {
  214. "titleNView": false
  215. }
  216. }
  217. }
  218. ]
  219. },
  220. {
  221. "root": "pages_user",
  222. "pages": [
  223. {
  224. "path": "userInfo",
  225. "style": {
  226. "navigationBarTitleText": "个人信息"
  227. }
  228. },
  229. {
  230. "path": "userAgreement",
  231. "style": {
  232. "navigationBarTitleText": "用户协议"
  233. }
  234. },
  235. {
  236. "path": "privacyPolicy",
  237. "style": {
  238. "navigationBarTitleText": "隐私政策"
  239. }
  240. }
  241. ]
  242. },
  243. {
  244. // 讲者邀请
  245. "root": "pages_speaker",
  246. "pages": [
  247. {
  248. "path": "speakerInvitation",
  249. "style": {
  250. "navigationStyle": "custom",
  251. "app-plus": {
  252. "titleNView": false
  253. }
  254. }
  255. },
  256. {
  257. // lecturerDetail 讲师信息
  258. "path": "lecturerDetail",
  259. "style": {
  260. "navigationStyle": "custom",
  261. "app-plus": {
  262. "titleNView": false
  263. }
  264. }
  265. },
  266. {
  267. "path": "index",
  268. "style": {
  269. "navigationBarTitleText": "讲者管理"
  270. }
  271. },
  272. {
  273. "path": "gradeApplication",
  274. "style": {
  275. "navigationBarTitleText": "定级材料"
  276. }
  277. }
  278. ]
  279. }
  280. ],
  281. "globalStyle": {
  282. "navigationBarTextStyle": "black",
  283. "navigationBarTitleText": "企业端",
  284. "navigationBarBackgroundColor": "#FFFFFF",
  285. "backgroundColor": "#FFFFFF"
  286. },
  287. "tabBar": {
  288. "color": "#999999",
  289. "selectedColor": "#333333",
  290. "borderStyle": "white",
  291. "backgroundColor": "#ffffff",
  292. "height": "64px",
  293. "fontSize": "12px",
  294. "iconWidth": "18px",
  295. "spacing": "4px",
  296. "list": [
  297. {
  298. "pagePath": "pages/home/index",
  299. "iconPath": "/static/tabbar/icon_home.png",
  300. "selectedIconPath": "/static/tabbar/icon_sel_home.png",
  301. "text": "首页"
  302. },
  303. {
  304. "pagePath": "pages/user/index",
  305. "iconPath": "/static/tabbar/icon_me.png",
  306. "selectedIconPath": "/static/tabbar/icon_sel_me.png",
  307. "text": "我的"
  308. }
  309. ]
  310. }
  311. }