25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

229 satır
10 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. // 全局样式
  127. "globalStyle": {
  128. "navigationBarTextStyle": "black",//导航栏标题颜色及状态栏前景颜色
  129. "enablePullDownRefresh": false,//是否开启下拉刷新
  130. "navigationBarBackgroundColor": "#FFF",//导航栏背景颜色
  131. "backgroundColor": "#f3f3f3",//窗口背景色
  132. "navigationBarTitleText": "数字化校园",//导航栏标题文字内容
  133. "mp-alipay": { "allowsBounceVertical": "NO" }
  134. },
  135. // 底边栏
  136. "tabBar": {
  137. "color": "#8c8c8c",
  138. "selectedColor": "#3398DC",
  139. "borderStyle": "black",
  140. "backgroundColor": "#f5f5f5",
  141. "list": [{
  142. "pagePath": "pages/home",
  143. "iconPath": "static/img-bar/tab-home.png",
  144. "selectedIconPath": "static/img-bar/tab-home-active.png",
  145. "text": "首页"
  146. }, {
  147. "pagePath": "pages/msg",
  148. "iconPath": "static/img-bar/tab-msg.png",
  149. "selectedIconPath": "static/img-bar/tab-msg-active.png",
  150. "text": "消息"
  151. },
  152. {
  153. "pagePath": "pages/contact",
  154. "iconPath": "static/img-bar/tab-contact.png",
  155. "selectedIconPath": "static/img-bar/tab-contact-active.png",
  156. "text": "通讯录"
  157. }, {
  158. "pagePath": "pages/my",
  159. "iconPath": "static/img-bar/tab-my.png",
  160. "selectedIconPath": "static/img-bar/tab-my-active.png",
  161. "text": "我的"
  162. }
  163. ]
  164. },
  165. // 自动引入组件配置
  166. "easycom": {
  167. "custom": {
  168. // 组件演示页专用组件,用于点击展开显示组件用法
  169. "l-demo-description": "@/components/learun-app/demo-description.vue",
  170. // 滚动列表,支持下拉刷新/上拉加载
  171. "l-scroll-list": "@/components/learun-app/scroll-list.vue",
  172. // 动态表单
  173. "l-customform-table": "@/components/learun-app/customform-table.vue",
  174. "l-customform": "@/components/learun-app/customform.vue",
  175. // 扩展表单选项
  176. "l-layer-picker": "@/components/learun-app/layer-picker.vue",
  177. "l-organize-picker": "@/components/learun-app/organize-picker.vue",
  178. "l-upload-file": "@/components/learun-app/upload-file.vue",
  179. "l-organize-tree": "@/components/learun-app/organize-tree.vue",
  180. "l-organize-single-item": "@/components/learun-app/organize-single-item.vue",
  181. // 工作流页面专用
  182. "l-workflow-action": "@/components/learun-app/workflow-action.vue",
  183. "l-workflow-timeline": "@/components/learun-app/workflow-timeline.vue",
  184. // 自定义业务页面专用
  185. "l-customlist-banner": "@/components/learun-app/customlist-banner.vue",
  186. "l-customlist-add": "@/components/learun-app/customlist-add.vue",
  187. "l-customlist-action": "@/components/learun-app/customlist-action.vue",
  188. "l-customlist-sidepage-datefilter": "@/components/learun-app/customlist-sidepage-datefilter.vue",
  189. "l-customlist": "@/components/learun-app/customlist.vue",
  190. // jshint ignore:start
  191. // LearunMPUI 小程序 UI 库基础组件
  192. // 引入分为阿里小程序版和非阿里小程序版,因为阿里小程序需要单独适配
  193. // #ifdef MP-ALIPAY
  194. "l-(.*)": "@/components/learun-mpui/learun-ui-ali/$1.vue",
  195. // #endif
  196. // #ifndef MP-ALIPAY
  197. "l-(.*)": "@/components/learun-mpui/learun-ui-mp/$1.vue",
  198. // #endif
  199. // jshint ignore:end
  200. // 第三方组件
  201. "tki-qrcode": "@/components/tki-qrcode/tki-qrcode.vue",
  202. "u-parse": "@/components/u-parse/u-parse.vue"
  203. }
  204. }
  205. }