您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

39 行
1000B

  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace backend\assets;
  8. use yii\web\AssetBundle;
  9. use yii ;
  10. /**
  11. * @author Qiang Xue <qiang.xue@gmail.com>
  12. * @since 2.0
  13. */
  14. class AppAsset extends \common\components\MyAssetBundle
  15. {
  16. public $basePath = '@webroot';
  17. public $baseUrl = '@web';
  18. public $css = [];
  19. public $js = [];
  20. public $depends = [];
  21. public function __construct() {
  22. parent::__construct() ;
  23. // css
  24. $this->addAsset('css','js/jquery-ui-1.12.1.custom/jquery-ui.min.css');
  25. $this->addAsset('css','js/jquery-ui-1.12.1.custom/jquery-ui.theme.min.css') ;
  26. $this->addAsset('css','css/site.css') ;
  27. $this->addAsset('css','css/screen.css') ;
  28. // js
  29. $this->addAsset('js','js/jquery-ui-1.12.1.custom/jquery-ui.min.js') ;
  30. $this->addAsset('js','js/lechatdesnoisettes.js') ;
  31. }
  32. }