pages.json 5.9 KB

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