You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

289 lines
15 KiB

  1. {
  2. // 页面配置;数组中第一项是首页
  3. // 注意:新增页面必须在这里写好配置,否则无法跳转;页面的标题、下拉刷新等均在此处配置
  4. // 注意:阿里小程序不要给导航栏设置颜色,否则无法正确显示导航栏文字
  5. "pages": [
  6. // 主页(tabBar #1)
  7. {
  8. "path": "pages/home",
  9. "style": {
  10. "navigationBarTitleText": "数字化智慧校园",
  11. // #ifndef MP-ALIPAY
  12. "navigationBarBackgroundColor": "#0c86d8",
  13. "navigationBarTextStyle": "white",
  14. // #endif
  15. "backgroundColorTop": "#0c86d8",
  16. "backgroundColorBottom": "#f3f3f3",
  17. "enablePullDownRefresh": true
  18. }
  19. },
  20. { "path": "pages/home/more", "style": { "navigationBarTitleText": "更多应用" } },
  21. { "path": "pages/home/notice", "style": { "navigationBarTitleText": "新闻与通知" } },
  22. // 示例系统表单
  23. { "path": "pages/DemoLeaveForm", "style": { "navigationBarTitleText": "请假系统表单" } },
  24. // 登录/注册页
  25. { "path": "pages/login", "style": { "navigationStyle": "custom", "disableScroll": true } },
  26. { "path": "pages/weixinLogin", "style": { "navigationStyle": "custom", "disableScroll": true } },
  27. { "path": "pages/signup", "style": { "navigationBarTitleText": "注册账号", "disableScroll": true } },
  28. // 消息(tabBar #2)
  29. { "path": "pages/msg", "style": { "navigationBarTitleText": "消息", "enablePullDownRefresh": true } },
  30. { "path": "pages/msg/chat", "style": { "navigationBarTitleText": "对话列表", "enablePullDownRefresh": true } },
  31. // 通讯录(tabBar #3)
  32. { "path": "pages/contact", "style": { "navigationBarTitleText": "通讯录" } },
  33. // 我的(tabBar #4)
  34. {
  35. "path": "pages/my",
  36. "style": {
  37. // #ifndef MP-ALIPAY
  38. "navigationBarBackgroundColor": "#0c86d8",
  39. "navigationBarTextStyle": "white",
  40. // #endif
  41. "navigationBarTitleText": "我的",
  42. "backgroundColorTop": "#0c86d8",
  43. "backgroundColorBottom": "#f3f3f3"
  44. }
  45. },
  46. { "path": "pages/my/info", "style": { "navigationBarTitleText": "我的信息" } },
  47. { "path": "pages/my/contact", "style": { "navigationBarTitleText": "我的联系方式" } },
  48. { "path": "pages/my/qrcode", "style": { "navigationBarTitleText": "我的二维码" } },
  49. { "path": "pages/my/password", "style": { "navigationBarTitleText": "更改密码" } },
  50. { "path": "pages/my/newpassword", "style": { "navigationBarTitleText": "设置密码" } },
  51. {
  52. "path": "pages/my/learun",
  53. "style": {
  54. "navigationBarTitleText": "关于泉江",
  55. // #ifndef MP-ALIPAY
  56. "navigationBarBackgroundColor": "#0c86d8",
  57. "navigationBarTextStyle": "white",
  58. // #endif
  59. "backgroundColor": "#FFFFFF"
  60. }
  61. },
  62. {
  63. "path": "pages/my/framework",
  64. "style": {
  65. "navigationBarTitleText": "数字化智慧校园",
  66. // #ifndef MP-ALIPAY
  67. "navigationBarBackgroundColor": "#0c86d8",
  68. "navigationBarTextStyle": "white",
  69. // #endif
  70. "backgroundColor": "#FFFFFF"
  71. }
  72. },
  73. // 通用页面
  74. { "path": "pages/common/select-organize", "style": { "navigationBarTitleText": "选择公司/部门/员工" } },
  75. { "path": "pages/common/select-layer", "style": { "navigationBarTitleText": "选择一个选项" } },
  76. // 自定义应用
  77. { "path": "pages/customapp/list", "style": { "navigationBarTitleText": "自定义应用" } },
  78. { "path": "pages/customapp/single", "style": { "navigationBarTitleText": "自定义应用详情页" } },
  79. // 工作流
  80. { "path": "pages/nworkflow/myflow/list", "style": { "navigationBarTitleText": "我的任务", "disableScroll": true } },
  81. {
  82. "path": "pages/nworkflow/myflow/single",
  83. "style": {
  84. "navigationBarTitleText": "任务详情",
  85. "backgroundColorTop": "#FFFFFF"
  86. }
  87. },
  88. {
  89. "path": "pages/nworkflow/myflow/sign",
  90. "style": {
  91. "navigationBarTitleText": "流程加签与审核",
  92. "backgroundColor": "#FFFFFF"
  93. }
  94. },
  95. { "path": "pages/nworkflow/releasetask/list", "style": { "navigationBarTitleText": "流程发起", "disableScroll": true } },
  96. { "path": "pages/nworkflow/releasetask/single", "style": { "navigationBarTitleText": "流程信息录入" } },
  97. // 组件演示
  98. { "path": "pages/demo/list", "style": { "navigationBarTitleText": "组件演示" } },
  99. { "path": "pages/demo/component/form", "style": { "navigationBarTitleText": "表单 · Form" } },
  100. { "path": "pages/demo/component/card", "style": { "navigationBarTitleText": "卡片 · Card" } },
  101. { "path": "pages/demo/component/list", "style": { "navigationBarTitleText": "列表/宫格 · List" } },
  102. { "path": "pages/demo/component/modal", "style": { "navigationBarTitleText": "弹出框 · Modal" } },
  103. { "path": "pages/demo/component/bar", "style": { "navigationBarTitleText": "操作条 · Bar" } },
  104. { "path": "pages/demo/component/timeline", "style": { "navigationBarTitleText": "时间轴 · Timeline" } },
  105. { "path": "pages/demo/component/step", "style": { "navigationBarTitleText": "步骤条 · Step" } },
  106. { "path": "pages/demo/component/nav", "style": { "navigationBarTitleText": "导航栏/页签 · Nav" } },
  107. { "path": "pages/demo/component/chat", "style": { "navigationBarTitleText": "聊天消息 · Chat" } },
  108. { "path": "pages/demo/element/layout", "style": { "navigationBarTitleText": "布局 · Layout" } },
  109. { "path": "pages/demo/element/support", "style": { "navigationBarTitleText": "辅助类 · Support" } },
  110. { "path": "pages/demo/element/button", "style": { "navigationBarTitleText": "按钮 · Button" } },
  111. { "path": "pages/demo/element/avatar", "style": { "navigationBarTitleText": "头像 · Avatar" } },
  112. { "path": "pages/demo/element/icon", "style": { "navigationBarTitleText": "图标 · Icon" } },
  113. { "path": "pages/demo/element/background", "style": { "navigationBarTitleText": "背景/底色 · Background" } },
  114. { "path": "pages/demo/element/loading", "style": { "navigationBarTitleText": "加载中动画 · Loading" } },
  115. { "path": "pages/demo/element/progress", "style": { "navigationBarTitleText": "进度条 · Progress" } },
  116. { "path": "pages/demo/element/shadow", "style": { "navigationBarTitleText": "边框/阴影 · Shadow" } },
  117. { "path": "pages/demo/element/tag", "style": { "navigationBarTitleText": "标签/角标 · Tag" } },
  118. { "path": "pages/demo/element/text", "style": { "navigationBarTitleText": "文本 · Text" } },
  119. // crm功能 (业务示例,页面均由 app 代码生成器生成)
  120. { "path": "pages/crm/invoice/list", "style": { "navigationBarTitleText": "开票管理" } },
  121. { "path": "pages/crm/invoice/single", "style": { "navigationBarTitleText": "票据详情" } },
  122. { "path": "pages/crm/order/list", "style": { "navigationBarTitleText": "订单管理" } },
  123. { "path": "pages/crm/order/single", "style": { "navigationBarTitleText": "订单详情" } },
  124. // 考勤记录
  125. { "path": "pages/LogisticsManagement/ADR_Record/list", "style": { "navigationBarTitleText": "考勤里列表" } },
  126. { "path": "pages/LogisticsManagement/ADR_Record/single", "style": { "navigationBarTitleText": "考勤详情" } },
  127. //班级自诊打卡
  128. { "path": "pages/EducationalAdministration/Thermography/list", "style": { "navigationBarTitleText": "列表" } },
  129. { "path": "pages/EducationalAdministration/Thermography/single", "style": { "navigationBarTitleText": "详情" } },
  130. //借阅信息
  131. { "path": "pages/EducationalAdministration/BookBorrow/list", "style": { "navigationBarTitleText": "借阅信息" } },
  132. //校长信箱
  133. { "path": "pages/EducationalAdministration/StuMail/list", "style": { "navigationBarTitleText": "校长信箱" } },
  134. { "path": "pages/EducationalAdministration/StuMail/single", "style": { "navigationBarTitleText": "详细" } },
  135. //社团管理
  136. { "path": "pages/PersonnelManagement/CommunityInfo/list", "style": { "navigationBarTitleText": "社团列表" } },
  137. { "path": "pages/PersonnelManagement/CommunityInfo/single", "style": { "navigationBarTitleText": "社团详情" } },
  138. { "path": "pages/PersonnelManagement/CommunityMember/list", "style": { "navigationBarTitleText": "我的社团" } },
  139. //个人信息
  140. { "path": "pages/EducationalAdministration/StuInfoBasic/list", "style": { "navigationBarTitleText": "个人信息" } },
  141. //学生消费记录
  142. { "path": "pages/EducationalAdministration/StuConsumption/list", "style": { "navigationBarTitleText": "消费记录" } },
  143. { "path": "pages/EducationalAdministration/StuConsumption/single", "style": { "navigationBarTitleText": "消费详情" } },
  144. //工作日志
  145. { "path": "pages/EducationalAdministration/JournalSend/list", "style": { "navigationBarTitleText": "工作日志" } },
  146. { "path": "pages/EducationalAdministration/JournalSend/single", "style": { "navigationBarTitleText": "日志详情" } },
  147. //公文查看
  148. { "path": "pages/EducationalAdministration/Sys_ReceiveFile/list", "style": { "navigationBarTitleText": "公文查看" } },
  149. { "path": "pages/EducationalAdministration/Sys_ReceiveFile/single", "style": { "navigationBarTitleText": "公文详情" } },
  150. //教师个人信息
  151. { "path": "pages/EducationalAdministration/EmpInfo/list", "style": { "navigationBarTitleText": "个人信息" } },
  152. //收件箱
  153. { "path": "pages/EducationalAdministration/SYS_ReceiveMessage/list", "style": { "navigationBarTitleText": "收件箱" } },
  154. { "path": "pages/EducationalAdministration/SYS_ReceiveMessage/single", "style": { "navigationBarTitleText": "邮件详情" } },
  155. //活动安排
  156. { "path": "pages/PersonnelManagement/ActivitySchedule/list", "style": { "navigationBarTitleText": "活动安排" } },
  157. { "path": "pages/PersonnelManagement/ActivitySchedule/single", "style": { "navigationBarTitleText": "活动详情" } },
  158. //班级活动记事
  159. { "path": "pages/PersonnelManagement/ClassWork/list", "style": { "navigationBarTitleText": "班级工作记事" } },
  160. { "path": "pages/PersonnelManagement/ClassWork/single", "style": { "navigationBarTitleText": "详情" } },
  161. //值班安排
  162. { "path": "pages/PersonnelManagement/DutySchedule/list", "style": { "navigationBarTitleText": "值班安排" } },
  163. { "path": "pages/PersonnelManagement/DutySchedule/single", "style": { "navigationBarTitleText": "详情" } },
  164. //掌上报修
  165. { "path": "pages/PersonnelManagement/EmpRepair/list", "style": { "navigationBarTitleText": "掌上报修" } },
  166. { "path": "pages/PersonnelManagement/EmpRepair/single", "style": { "navigationBarTitleText": "详情" } },
  167. //日程安排
  168. { "path": "pages/PersonnelManagement/Schedule/list", "style": { "navigationBarTitleText": "日程安排" } },
  169. { "path": "pages/PersonnelManagement/Schedule/single", "style": { "navigationBarTitleText": "详情" } },
  170. //调度信息
  171. { "path": "pages/EducationalAdministration/ArrangeLessonTermAttemper/list", "style": { "navigationBarTitleText": "调度信息" } },
  172. //请假管理
  173. { "path": "pages/EducationalAdministration/StuAttendanceLeave/list", "style": { "navigationBarTitleText": "请假管理" } },
  174. { "path": "pages/EducationalAdministration/StuAttendanceLeave/single", "style": { "navigationBarTitleText": "审核" } },
  175. //疫情详细信息
  176. { "path": "pages/PersonnelManagement/ContactsDetails/list", "style": { "navigationBarTitleText": "疫情详细信息" } },
  177. { "path": "pages/PersonnelManagement/ContactsDetails/single", "style": { "navigationBarTitleText": "详情" } },
  178. //听课记录
  179. { "path": "pages/LogisticsManagement/ListenClassRecord/list", "style": { "navigationBarTitleText": "听课记录" } },
  180. { "path": "pages/LogisticsManagement/ListenClassRecord/single", "style": { "navigationBarTitleText": "详情" } },
  181. //掌上评教
  182. { "path": "pages/EducationalAdministration/EvaluationTeach/list", "style": { "navigationBarTitleText": "课程列表" } },
  183. { "path": "pages/EducationalAdministration/EvaluationTeach/single", "style": { "navigationBarTitleText": "评教" } }
  184. ],
  185. // 全局样式
  186. "globalStyle": {
  187. "navigationBarTextStyle": "black",//导航栏标题颜色及状态栏前景颜色
  188. "enablePullDownRefresh": false,//是否开启下拉刷新
  189. "navigationBarBackgroundColor": "#FFF",//导航栏背景颜色
  190. "backgroundColor": "#f3f3f3",//窗口背景色
  191. "navigationBarTitleText": "数字化校园",//导航栏标题文字内容
  192. "mp-alipay": { "allowsBounceVertical": "NO" }
  193. },
  194. // 底边栏
  195. "tabBar": {
  196. "color": "#8c8c8c",
  197. "selectedColor": "#3398DC",
  198. "borderStyle": "black",
  199. "backgroundColor": "#f5f5f5",
  200. "list": [{
  201. "pagePath": "pages/home",
  202. "iconPath": "static/img-bar/tab-home.png",
  203. "selectedIconPath": "static/img-bar/tab-home-active.png",
  204. "text": "首页"
  205. }, {
  206. "pagePath": "pages/msg",
  207. "iconPath": "static/img-bar/tab-msg.png",
  208. "selectedIconPath": "static/img-bar/tab-msg-active.png",
  209. "text": "消息"
  210. },
  211. {
  212. "pagePath": "pages/contact",
  213. "iconPath": "static/img-bar/tab-contact.png",
  214. "selectedIconPath": "static/img-bar/tab-contact-active.png",
  215. "text": "通讯录"
  216. }, {
  217. "pagePath": "pages/my",
  218. "iconPath": "static/img-bar/tab-my.png",
  219. "selectedIconPath": "static/img-bar/tab-my-active.png",
  220. "text": "我的"
  221. }
  222. ]
  223. },
  224. // 自动引入组件配置
  225. "easycom": {
  226. "custom": {
  227. // 组件演示页专用组件,用于点击展开显示组件用法
  228. "l-demo-description": "@/components/learun-app/demo-description.vue",
  229. // 滚动列表,支持下拉刷新/上拉加载
  230. "l-scroll-list": "@/components/learun-app/scroll-list.vue",
  231. // 动态表单
  232. "l-customform-table": "@/components/learun-app/customform-table.vue",
  233. "l-customform": "@/components/learun-app/customform.vue",
  234. // 扩展表单选项
  235. "l-layer-picker": "@/components/learun-app/layer-picker.vue",
  236. "l-organize-picker": "@/components/learun-app/organize-picker.vue",
  237. "l-upload-file": "@/components/learun-app/upload-file.vue",
  238. "l-organize-tree": "@/components/learun-app/organize-tree.vue",
  239. "l-organize-single-item": "@/components/learun-app/organize-single-item.vue",
  240. // 工作流页面专用
  241. "l-workflow-action": "@/components/learun-app/workflow-action.vue",
  242. "l-workflow-timeline": "@/components/learun-app/workflow-timeline.vue",
  243. // 自定义业务页面专用
  244. "l-customlist-banner": "@/components/learun-app/customlist-banner.vue",
  245. "l-customlist-add": "@/components/learun-app/customlist-add.vue",
  246. "l-customlist-action": "@/components/learun-app/customlist-action.vue",
  247. "l-customlist-sidepage-datefilter": "@/components/learun-app/customlist-sidepage-datefilter.vue",
  248. "l-customlist": "@/components/learun-app/customlist.vue",
  249. // jshint ignore:start
  250. // LearunMPUI 小程序 UI 库基础组件
  251. // 引入分为阿里小程序版和非阿里小程序版,因为阿里小程序需要单独适配
  252. // #ifdef MP-ALIPAY
  253. "l-(.*)": "@/components/learun-mpui/learun-ui-ali/$1.vue",
  254. // #endif
  255. // #ifndef MP-ALIPAY
  256. "l-(.*)": "@/components/learun-mpui/learun-ui-mp/$1.vue",
  257. // #endif
  258. // jshint ignore:end
  259. // 第三方组件
  260. "tki-qrcode": "@/components/tki-qrcode/tki-qrcode.vue",
  261. "u-parse": "@/components/u-parse/u-parse.vue"
  262. }
  263. }
  264. }