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.
 
 
 
 
 
 

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