DwzAsset.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?php
  2. /**
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. namespace fecadmin\myassets;
  10. use yii\web\AssetBundle;
  11. /**
  12. * @author Terry Zhao <2358269014@qq.com>
  13. * @since 1.0
  14. */
  15. class DwzAsset extends AssetBundle
  16. {
  17. public $sourcePath = '@fecadmin/myassets/dwz_jui-master';
  18. //public $cssOptions = ['condition' => 'lte IE9'];
  19. public $css = [
  20. 'themes/default/style.css',
  21. 'themes/css/core.css',
  22. 'themes/css/print.css',
  23. 'uploadify/css/uploadify.css',
  24. ];
  25. public $jsOptions = [ 'position' => \yii\web\View::POS_HEAD ];
  26. public $js = [
  27. 'js/jquery-2.1.4.min.js',
  28. 'js/jquery.cookie.js',
  29. 'js/jquery.validate.js',
  30. 'js/jquery.bgiframe.js',
  31. 'xheditor/xheditor-1.2.2.min.js',
  32. 'xheditor/xheditor_lang/zh-cn.js',
  33. 'uploadify/scripts/jquery.uploadify.js',
  34. 'chart/raphael.js',
  35. 'chart/g.raphael.js',
  36. 'chart/g.bar.js',
  37. 'chart/g.line.js',
  38. 'chart/g.pie.js',
  39. 'chart/g.dot.js',
  40. 'js/dwz.core.js',
  41. 'js/dwz.util.date.js',
  42. 'js/dwz.validate.method.js',
  43. 'js/dwz.barDrag.js',
  44. 'js/dwz.drag.js',
  45. 'js/dwz.tree.js',
  46. 'js/dwz.accordion.js',
  47. 'js/dwz.ui.js',
  48. 'js/dwz.theme.js',
  49. 'js/dwz.switchEnv.js',
  50. 'js/dwz.alertMsg.js',
  51. 'js/dwz.contextmenu.js',
  52. 'js/dwz.navTab.js',
  53. 'js/dwz.tab.js',
  54. 'js/dwz.resize.js',
  55. 'js/dwz.dialog.js',
  56. 'js/dwz.dialogDrag.js',
  57. 'js/dwz.sortDrag.js',
  58. 'js/dwz.cssTable.js',
  59. 'js/dwz.stable.js',
  60. 'js/dwz.taskBar.js',
  61. 'js/dwz.ajax.js',
  62. 'js/dwz.pagination.js',
  63. 'js/dwz.database.js',
  64. 'js/dwz.datepicker.js',
  65. 'js/dwz.effects.js',
  66. 'js/dwz.panel.js',
  67. 'js/dwz.checkbox.js',
  68. 'js/dwz.history.js',
  69. 'js/dwz.combox.js',
  70. 'js/dwz.print.js',
  71. //'bin/dwz.min.js',
  72. 'js/dwz.regional.js',
  73. //'dwz.frag.xml',
  74. ];
  75. public $depends = [
  76. ];
  77. }