assets.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 海豚PHP框架 [ DolphinPHP ]
  4. // +----------------------------------------------------------------------
  5. // | 版权所有 2016~2019 广东卓锐软件有限公司 [ http://www.zrthink.com ]
  6. // +----------------------------------------------------------------------
  7. // | 官方网站: http://dolphinphp.com
  8. // +----------------------------------------------------------------------
  9. // 资源路径配置
  10. return [
  11. 'core_js' => [ // 默认加载
  12. "__ADMIN_JS__/core/jquery.min.js",
  13. "__ADMIN_JS__/core/bootstrap.min.js",
  14. "__ADMIN_JS__/core/jquery.slimscroll.min.js",
  15. "__ADMIN_JS__/core/jquery.scrollLock.min.js",
  16. "__ADMIN_JS__/core/jquery.appear.min.js",
  17. "__ADMIN_JS__/core/jquery.countTo.min.js",
  18. "__ADMIN_JS__/core/jquery.placeholder.min.js",
  19. "__ADMIN_JS__/core/js.cookie.min.js",
  20. "__LIBS__/magnific-popup/magnific-popup.min.js",
  21. "__ADMIN_JS__/app.js",
  22. "__ADMIN_JS__/dolphin.js",
  23. "__ADMIN_JS__/builder/form.js",
  24. "__ADMIN_JS__/builder/aside.js",
  25. "__ADMIN_JS__/builder/table.js",
  26. ],
  27. 'core_css' => [ // 默认加载
  28. "__LIBS__/magnific-popup/magnific-popup.min.css",
  29. "__ADMIN_CSS__/admin/css/bootstrap.min.css",
  30. "__ADMIN_CSS__/admin/css/oneui.css",
  31. "__ADMIN_CSS__/admin/css/dolphin.css",
  32. ],
  33. 'libs_js' => [ // 默认加载
  34. "__LIBS__/bootstrap-notify/bootstrap-notify.min.js",
  35. "__LIBS__/sweetalert/sweetalert.min.js",
  36. ],
  37. 'libs_css' => [ // 默认加载
  38. "__LIBS__/sweetalert/sweetalert.min.css",
  39. ],
  40. 'datepicker_js' => [ // 日期选择
  41. "__LIBS__/bootstrap-datepicker/bootstrap-datepicker.min.js",
  42. "__LIBS__/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js",
  43. ],
  44. 'datepicker_css' => [ // 日期选择
  45. "__LIBS__/bootstrap-datepicker/bootstrap-datepicker3.min.css",
  46. ],
  47. 'datetimepicker_js' => [ // 日期时间选择
  48. "__LIBS__/bootstrap-datetimepicker/moment.min.js",
  49. "__LIBS__/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js",
  50. "__LIBS__/bootstrap-datetimepicker/locale/zh-cn.js",
  51. ],
  52. 'moment_js' => [
  53. "__LIBS__/bootstrap-datetimepicker/moment.min.js",
  54. ],
  55. 'datetimepicker_css' => [ // 日期时间选择
  56. "__LIBS__/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css"
  57. ],
  58. 'webuploader_js' => [ // 文件或图片上传
  59. "__LIBS__/webuploader/webuploader.min.js",
  60. ],
  61. 'webuploader_css' => [ // 文件或图片上传
  62. "__LIBS__/webuploader/webuploader.css",
  63. ],
  64. 'select2_js' => [ // 下拉框
  65. "__LIBS__/select2/select2.full.min.js",
  66. "__LIBS__/select2/i18n/zh-CN.js",
  67. ],
  68. 'select2_css' => [ // 下拉框
  69. "__LIBS__/select2/select2.min.css",
  70. "__LIBS__/select2/select2-bootstrap.min.css",
  71. ],
  72. 'tags_js' => [ // 标签
  73. "__LIBS__/jquery-tags-input/jquery.tagsinput.min.js",
  74. ],
  75. 'tags_css' => [ // 标签
  76. "__LIBS__/jquery-tags-input/jquery.tagsinput.min.css",
  77. ],
  78. 'validate_js' => [ // 验证
  79. "__LIBS__/jquery-validation/jquery.validate.min.js",
  80. ],
  81. 'editable_js' => [ // 快速编辑
  82. "__LIBS__/bootstrap3-editable/js/bootstrap-editable.js",
  83. ],
  84. 'editable_css' => [ // 快速编辑
  85. "__LIBS__/bootstrap3-editable/css/bootstrap-editable.css",
  86. ],
  87. 'colorpicker_js' => [ // 取色器
  88. "__LIBS__/bootstrap-colorpicker/bootstrap-colorpicker.min.js",
  89. ],
  90. 'colorpicker_css' => [ // 取色器
  91. "__LIBS__/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css",
  92. ],
  93. 'editormd_js' => [ // markdown编辑器
  94. "__LIBS__/editormd/editormd.min.js",
  95. ],
  96. 'jcrop_js' => [ // 图片裁剪
  97. "__LIBS__/jcrop/js/Jcrop.min.js",
  98. ],
  99. 'jcrop_css' => [ // 图片裁剪
  100. "__LIBS__/jcrop/css/Jcrop.min.css",
  101. ],
  102. 'masked_inputs_js' => [ // 格式文本
  103. "__LIBS__/masked-inputs/jquery.maskedinput.min.js",
  104. ],
  105. 'rangeslider_js' => [ // 范围
  106. "__LIBS__/ion-rangeslider/js/ion.rangeSlider.min.js",
  107. ],
  108. 'rangeslider_css' => [ // 范围
  109. "__LIBS__/ion-rangeslider/css/ion.rangeSlider.min.css",
  110. "__LIBS__/ion-rangeslider/css/ion.rangeSlider.skinHTML5.min.css",
  111. ],
  112. 'nestable_js' => [ // 拖拽排序
  113. "__LIBS__/jquery-nestable/jquery.nestable.js",
  114. ],
  115. 'nestable_css' => [ // 拖拽排序
  116. "__LIBS__/jquery-nestable/jquery.nestable.css",
  117. ],
  118. 'wangeditor_js' => [ // wang编辑器
  119. "__LIBS__/wang-editor/js/wangEditor.min.js",
  120. ],
  121. 'wangeditor_css' => [ // wang编辑器
  122. "__LIBS__/wang-editor/css/wangEditor.min.css",
  123. ],
  124. 'summernote_js' => [ // summernote编辑器
  125. "__LIBS__/summernote/summernote.min.js",
  126. "__LIBS__/summernote/lang/summernote-zh-CN.js",
  127. ],
  128. 'summernote_css' => [ // summernote编辑器
  129. "__LIBS__/summernote/summernote.min.css",
  130. ],
  131. 'jqueryui_js' => [ // jqueryui
  132. "__LIBS__/jquery-ui/jquery-ui.min.js",
  133. ],
  134. 'daterangepicker_js' => [ // 日期时间范围
  135. "__LIBS__/bootstrap-daterangepicker/daterangepicker.js",
  136. ],
  137. 'daterangepicker_css' => [ // 日期时间范围
  138. "__LIBS__/bootstrap-daterangepicker/daterangepicker.css",
  139. ]
  140. ];