|
- {
- // 页面配置;数组中第一项是首页
-
- // 注意:新增页面必须在这里写好配置,否则无法跳转;页面的标题、下拉刷新等均在此处配置
- // 注意:阿里小程序不要给导航栏设置颜色,否则无法正确显示导航栏文字
- "pages": [
- // 主页(tabBar #1)
- {
- "path": "pages/home",
- "style": {
- "navigationBarTitleText": "数字化智慧校园",
- // #ifndef MP-ALIPAY
- "navigationBarBackgroundColor": "#0c86d8",
- "navigationBarTextStyle": "white",
- // #endif
- "backgroundColorTop": "#0c86d8",
- "backgroundColorBottom": "#f3f3f3",
- "enablePullDownRefresh": true
- }
- },
- { "path": "pages/home/more", "style": { "navigationBarTitleText": "更多应用" } },
- { "path": "pages/home/notice", "style": { "navigationBarTitleText": "新闻与通知" } },
-
- // 示例系统表单
- { "path": "pages/DemoLeaveForm", "style": { "navigationBarTitleText": "请假系统表单" } },
-
- // 登录/注册页
- { "path": "pages/login", "style": { "navigationStyle": "custom", "disableScroll": true } },
- { "path": "pages/signup", "style": { "navigationBarTitleText": "注册账号", "disableScroll": true } },
-
- // 消息(tabBar #2)
- { "path": "pages/msg", "style": { "navigationBarTitleText": "消息", "enablePullDownRefresh": true } },
- { "path": "pages/msg/chat", "style": { "navigationBarTitleText": "对话列表", "enablePullDownRefresh": true } },
-
- // 通讯录(tabBar #3)
- { "path": "pages/contact", "style": { "navigationBarTitleText": "通讯录" } },
-
- // 我的(tabBar #4)
- {
- "path": "pages/my",
- "style": {
- // #ifndef MP-ALIPAY
- "navigationBarBackgroundColor": "#0c86d8",
- "navigationBarTextStyle": "white",
- // #endif
- "navigationBarTitleText": "我的",
- "backgroundColorTop": "#0c86d8",
- "backgroundColorBottom": "#f3f3f3"
- }
- },
- { "path": "pages/my/info", "style": { "navigationBarTitleText": "我的信息" } },
- { "path": "pages/my/contact", "style": { "navigationBarTitleText": "我的联系方式" } },
- { "path": "pages/my/qrcode", "style": { "navigationBarTitleText": "我的二维码" } },
- { "path": "pages/my/password", "style": { "navigationBarTitleText": "更改密码" } },
- {
- "path": "pages/my/learun",
- "style": {
- "navigationBarTitleText": "关于泉江",
- // #ifndef MP-ALIPAY
- "navigationBarBackgroundColor": "#0c86d8",
- "navigationBarTextStyle": "white",
- // #endif
- "backgroundColor": "#FFFFFF"
- }
- },
- {
- "path": "pages/my/framework",
- "style": {
- "navigationBarTitleText": "数字化智慧校园",
- // #ifndef MP-ALIPAY
- "navigationBarBackgroundColor": "#0c86d8",
- "navigationBarTextStyle": "white",
- // #endif
- "backgroundColor": "#FFFFFF"
- }
- },
-
- // 通用页面
- { "path": "pages/common/select-organize", "style": { "navigationBarTitleText": "选择公司/部门/员工" } },
- { "path": "pages/common/select-layer", "style": { "navigationBarTitleText": "选择一个选项" } },
-
- // 自定义应用
- { "path": "pages/customapp/list", "style": { "navigationBarTitleText": "自定义应用" } },
- { "path": "pages/customapp/single", "style": { "navigationBarTitleText": "自定义应用详情页" } },
-
- // 工作流
- { "path": "pages/nworkflow/myflow/list", "style": { "navigationBarTitleText": "我的任务", "disableScroll": true } },
- {
- "path": "pages/nworkflow/myflow/single",
- "style": {
- "navigationBarTitleText": "任务详情",
- "backgroundColorTop": "#FFFFFF"
- }
- },
- {
- "path": "pages/nworkflow/myflow/sign",
- "style": {
- "navigationBarTitleText": "流程加签与审核",
- "backgroundColor": "#FFFFFF"
- }
- },
- { "path": "pages/nworkflow/releasetask/list", "style": { "navigationBarTitleText": "流程发起", "disableScroll": true } },
- { "path": "pages/nworkflow/releasetask/single", "style": { "navigationBarTitleText": "流程信息录入" } },
-
- // 组件演示
- { "path": "pages/demo/list", "style": { "navigationBarTitleText": "组件演示" } },
- { "path": "pages/demo/component/form", "style": { "navigationBarTitleText": "表单 · Form" } },
- { "path": "pages/demo/component/card", "style": { "navigationBarTitleText": "卡片 · Card" } },
- { "path": "pages/demo/component/list", "style": { "navigationBarTitleText": "列表/宫格 · List" } },
- { "path": "pages/demo/component/modal", "style": { "navigationBarTitleText": "弹出框 · Modal" } },
- { "path": "pages/demo/component/bar", "style": { "navigationBarTitleText": "操作条 · Bar" } },
- { "path": "pages/demo/component/timeline", "style": { "navigationBarTitleText": "时间轴 · Timeline" } },
- { "path": "pages/demo/component/step", "style": { "navigationBarTitleText": "步骤条 · Step" } },
- { "path": "pages/demo/component/nav", "style": { "navigationBarTitleText": "导航栏/页签 · Nav" } },
- { "path": "pages/demo/component/chat", "style": { "navigationBarTitleText": "聊天消息 · Chat" } },
- { "path": "pages/demo/element/layout", "style": { "navigationBarTitleText": "布局 · Layout" } },
- { "path": "pages/demo/element/support", "style": { "navigationBarTitleText": "辅助类 · Support" } },
- { "path": "pages/demo/element/button", "style": { "navigationBarTitleText": "按钮 · Button" } },
- { "path": "pages/demo/element/avatar", "style": { "navigationBarTitleText": "头像 · Avatar" } },
- { "path": "pages/demo/element/icon", "style": { "navigationBarTitleText": "图标 · Icon" } },
- { "path": "pages/demo/element/background", "style": { "navigationBarTitleText": "背景/底色 · Background" } },
- { "path": "pages/demo/element/loading", "style": { "navigationBarTitleText": "加载中动画 · Loading" } },
- { "path": "pages/demo/element/progress", "style": { "navigationBarTitleText": "进度条 · Progress" } },
- { "path": "pages/demo/element/shadow", "style": { "navigationBarTitleText": "边框/阴影 · Shadow" } },
- { "path": "pages/demo/element/tag", "style": { "navigationBarTitleText": "标签/角标 · Tag" } },
- { "path": "pages/demo/element/text", "style": { "navigationBarTitleText": "文本 · Text" } },
-
- // crm功能 (业务示例,页面均由 app 代码生成器生成)
- { "path": "pages/crm/invoice/list", "style": { "navigationBarTitleText": "开票管理" } },
- { "path": "pages/crm/invoice/single", "style": { "navigationBarTitleText": "票据详情" } },
- { "path": "pages/crm/order/list", "style": { "navigationBarTitleText": "订单管理" } },
- { "path": "pages/crm/order/single", "style": { "navigationBarTitleText": "订单详情" } },
- // 考勤记录
- { "path": "pages/LogisticsManagement/ADR_Record/list", "style": { "navigationBarTitleText": "考勤里列表" } },
- { "path": "pages/LogisticsManagement/ADR_Record/single", "style": { "navigationBarTitleText": "考勤详情" } },
- //班级自诊打卡
- { "path": "pages/EducationalAdministration/Thermography/list", "style": { "navigationBarTitleText": "列表" } },
- { "path": "pages/EducationalAdministration/Thermography/single", "style": { "navigationBarTitleText": "详情" } },
- //借阅信息
- { "path": "pages/EducationalAdministration/BookBorrow/list", "style": { "navigationBarTitleText": "借阅信息" } },
- //校长信箱
- { "path": "pages/EducationalAdministration/StuMail/list", "style": { "navigationBarTitleText": "校长信箱" } },
- { "path": "pages/EducationalAdministration/StuMail/single", "style": { "navigationBarTitleText": "详细" } },
- //社团管理
- { "path": "pages/PersonnelManagement/CommunityInfo/list", "style": { "navigationBarTitleText": "社团列表" } },
- { "path": "pages/PersonnelManagement/CommunityInfo/single", "style": { "navigationBarTitleText": "社团详情" } },
- { "path": "pages/PersonnelManagement/CommunityMember/list", "style": { "navigationBarTitleText": "我的社团" } },
- //个人信息
- { "path": "pages/EducationalAdministration/StuInfoBasic/list", "style": { "navigationBarTitleText": "个人信息" } },
- //学生消费记录
- { "path": "pages/EducationalAdministration/StuConsumption/list", "style": { "navigationBarTitleText": "消费记录" } },
- { "path": "pages/EducationalAdministration/StuConsumption/single", "style": { "navigationBarTitleText": "消费详情" } },
- //工作日志
- { "path": "pages/EducationalAdministration/JournalSend/list", "style": { "navigationBarTitleText": "工作日志" } },
- { "path": "pages/EducationalAdministration/JournalSend/single", "style": { "navigationBarTitleText": "日志详情" } },
- //公文查看
- { "path": "pages/EducationalAdministration/Sys_ReceiveFile/list", "style": { "navigationBarTitleText": "公文查看" } },
- { "path": "pages/EducationalAdministration/Sys_ReceiveFile/single", "style": { "navigationBarTitleText": "公文详情" } },
- //教师个人信息
- { "path": "pages/EducationalAdministration/EmpInfo/list", "style": { "navigationBarTitleText": "个人信息" } },
- //收件箱
- { "path": "pages/EducationalAdministration/SYS_ReceiveMessage/list", "style": { "navigationBarTitleText": "收件箱" } },
- { "path": "pages/EducationalAdministration/SYS_ReceiveMessage/single", "style": { "navigationBarTitleText": "邮件详情" } },
- //活动安排
- { "path": "pages/PersonnelManagement/ActivitySchedule/list", "style": { "navigationBarTitleText": "活动安排" } },
- { "path": "pages/PersonnelManagement/ActivitySchedule/single", "style": { "navigationBarTitleText": "活动详情" } },
- //班级活动记事
- { "path": "pages/PersonnelManagement/ClassWork/list", "style": { "navigationBarTitleText": "班级工作记事" } },
- { "path": "pages/PersonnelManagement/ClassWork/single", "style": { "navigationBarTitleText": "详情" } },
- //值班安排
- { "path": "pages/PersonnelManagement/DutySchedule/list", "style": { "navigationBarTitleText": "值班安排" } },
- { "path": "pages/PersonnelManagement/DutySchedule/single", "style": { "navigationBarTitleText": "详情" } },
- //掌上报修
- { "path": "pages/PersonnelManagement/EmpRepair/list", "style": { "navigationBarTitleText": "掌上报修" } },
- { "path": "pages/PersonnelManagement/EmpRepair/single", "style": { "navigationBarTitleText": "详情" } },
- //日程安排
- { "path": "pages/PersonnelManagement/Schedule/list", "style": { "navigationBarTitleText": "日程安排" } },
- { "path": "pages/PersonnelManagement/Schedule/single", "style": { "navigationBarTitleText": "详情" } },
- //调度信息
- { "path": "pages/EducationalAdministration/ArrangeLessonTermAttemper/list", "style": { "navigationBarTitleText": "调度信息" } },
- //请假管理
- { "path": "pages/EducationalAdministration/StuAttendanceLeave/list", "style": { "navigationBarTitleText": "请假管理" } },
- { "path": "pages/EducationalAdministration/StuAttendanceLeave/single", "style": { "navigationBarTitleText": "审核" } },
- //疫情详细信息
- { "path": "pages/PersonnelManagement/ContactsDetails/list", "style": { "navigationBarTitleText": "疫情详细信息" } },
- { "path": "pages/PersonnelManagement/ContactsDetails/single", "style": { "navigationBarTitleText": "详情" } },
- //听课记录
- { "path": "pages/LogisticsManagement/ListenClassRecord/list", "style": { "navigationBarTitleText": "听课记录" } },
- { "path": "pages/LogisticsManagement/ListenClassRecord/single", "style": { "navigationBarTitleText": "详情" } },
- //掌上评教
- { "path": "pages/EducationalAdministration/EvaluationTeach/list", "style": { "navigationBarTitleText": "课程列表" } },
- { "path": "pages/EducationalAdministration/EvaluationTeach/single", "style": { "navigationBarTitleText": "评教" } }
-
- ],
-
- // 全局样式
- "globalStyle": {
- "navigationBarTextStyle": "black",//导航栏标题颜色及状态栏前景颜色
- "enablePullDownRefresh": false,//是否开启下拉刷新
- "navigationBarBackgroundColor": "#FFF",//导航栏背景颜色
- "backgroundColor": "#f3f3f3",//窗口背景色
- "navigationBarTitleText": "数字化校园",//导航栏标题文字内容
- "mp-alipay": { "allowsBounceVertical": "NO" }
- },
-
- // 底边栏
- "tabBar": {
- "color": "#8c8c8c",
- "selectedColor": "#3398DC",
- "borderStyle": "black",
- "backgroundColor": "#f5f5f5",
- "list": [{
- "pagePath": "pages/home",
- "iconPath": "static/img-bar/tab-home.png",
- "selectedIconPath": "static/img-bar/tab-home-active.png",
- "text": "首页"
- }, {
- "pagePath": "pages/msg",
- "iconPath": "static/img-bar/tab-msg.png",
- "selectedIconPath": "static/img-bar/tab-msg-active.png",
- "text": "消息"
- },
- {
- "pagePath": "pages/contact",
- "iconPath": "static/img-bar/tab-contact.png",
- "selectedIconPath": "static/img-bar/tab-contact-active.png",
- "text": "通讯录"
- }, {
- "pagePath": "pages/my",
- "iconPath": "static/img-bar/tab-my.png",
- "selectedIconPath": "static/img-bar/tab-my-active.png",
- "text": "我的"
- }
- ]
- },
-
- // 自动引入组件配置
- "easycom": {
- "custom": {
- // 组件演示页专用组件,用于点击展开显示组件用法
- "l-demo-description": "@/components/learun-app/demo-description.vue",
-
- // 滚动列表,支持下拉刷新/上拉加载
- "l-scroll-list": "@/components/learun-app/scroll-list.vue",
-
- // 动态表单
- "l-customform-table": "@/components/learun-app/customform-table.vue",
- "l-customform": "@/components/learun-app/customform.vue",
-
- // 扩展表单选项
- "l-layer-picker": "@/components/learun-app/layer-picker.vue",
- "l-organize-picker": "@/components/learun-app/organize-picker.vue",
- "l-upload-file": "@/components/learun-app/upload-file.vue",
- "l-organize-tree": "@/components/learun-app/organize-tree.vue",
- "l-organize-single-item": "@/components/learun-app/organize-single-item.vue",
-
- // 工作流页面专用
- "l-workflow-action": "@/components/learun-app/workflow-action.vue",
- "l-workflow-timeline": "@/components/learun-app/workflow-timeline.vue",
-
- // 自定义业务页面专用
- "l-customlist-banner": "@/components/learun-app/customlist-banner.vue",
- "l-customlist-add": "@/components/learun-app/customlist-add.vue",
- "l-customlist-action": "@/components/learun-app/customlist-action.vue",
- "l-customlist-sidepage-datefilter": "@/components/learun-app/customlist-sidepage-datefilter.vue",
- "l-customlist": "@/components/learun-app/customlist.vue",
-
- // jshint ignore:start
-
- // LearunMPUI 小程序 UI 库基础组件
- // 引入分为阿里小程序版和非阿里小程序版,因为阿里小程序需要单独适配
- // #ifdef MP-ALIPAY
- "l-(.*)": "@/components/learun-mpui/learun-ui-ali/$1.vue",
- // #endif
- // #ifndef MP-ALIPAY
- "l-(.*)": "@/components/learun-mpui/learun-ui-mp/$1.vue",
- // #endif
-
- // jshint ignore:end
-
- // 第三方组件
- "tki-qrcode": "@/components/tki-qrcode/tki-qrcode.vue",
- "u-parse": "@/components/u-parse/u-parse.vue"
- }
- }
- }
|