-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
authored and
root
committed
Jul 3, 2016
1 parent
6929a85
commit bd41634
Showing
20 changed files
with
640 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
namespace fecshop\app\appfront\modules\Cms\block\widget; | ||
use Yii; | ||
use fecshop\app\appfront\modules\AppfrontController; | ||
class Test | ||
{ | ||
public $terry; | ||
# ÍøÕ¾ÐÅÏ¢¹ÜÀí | ||
public function getLastData() | ||
{ | ||
return [ | ||
'i' => $this->terry, | ||
'love' => 'loves', | ||
'you' => 'terry', | ||
]; | ||
} | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appfront\theme\base\front\assets; | ||
use yii\web\AssetBundle; | ||
/** | ||
* Page services | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class AppAsset extends AssetBundle | ||
{ | ||
public $basePath = '@webroot'; | ||
public $baseUrl = '@web'; | ||
public $css = []; | ||
public $cssOptions = [ 'position' => \yii\web\View::POS_HEAD ]; | ||
public $js = []; | ||
public $jsOptions = [ 'position' => \yii\web\View::POS_END ]; # POS_HEAD | ||
public $depends = [ | ||
//'fecshop\app\appfront\theme\BaseAsset', | ||
'fecshop\app\appfront\theme\base\front\assets\AppFrontAsset', | ||
'fecshop\app\appfront\theme\base\front\assets\IEAsset', | ||
'fecshop\app\appfront\theme\base\front\assets\LtIE9Asset', | ||
]; | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appfront\theme\base\front\assets; | ||
use yii\web\AssetBundle; | ||
/** | ||
* Page services | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class AppFrontAsset extends AssetBundle | ||
{ | ||
public $sourcePath = '@fecshop/app/appfront/theme/base/front/assets'; | ||
public $css = [ | ||
'css/style.css', | ||
]; | ||
public $js = [ | ||
'js/jquery-3.0.0.min.js', | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appfront\theme\base\front\assets; | ||
use yii\web\AssetBundle; | ||
/** | ||
* Page services | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class IEAsset extends AssetBundle | ||
{ | ||
public $sourcePath = '@fecshop/app/appfront/theme/base/front/assets'; | ||
public $cssOptions = ['condition' => 'if IE']; | ||
public $css = [ | ||
'css/ie.css', | ||
]; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
namespace fecshop\app\appfront\theme\base\front\assets; | ||
use yii\web\AssetBundle; | ||
/** | ||
* Page services | ||
* @author Terry Zhao <[email protected]> | ||
* @since 1.0 | ||
*/ | ||
class LtIE9Asset extends AssetBundle | ||
{ | ||
public $sourcePath = '@fecshop/app/appfront/theme/base/front/assets'; | ||
public $cssOptions = ['condition' => 'lt IE 9']; | ||
public $css = [ | ||
'css/ltie9.css', | ||
]; | ||
/* | ||
public $jsOptions = [ | ||
//'position' => \yii\web\View::POS_END , | ||
'condition' => 'lt IE 9' | ||
]; | ||
public $js = [ | ||
//'dwz_jui-master/js/speedup.js', | ||
//'dwz_jui-master/jquery-1.11.3.min.js', | ||
]; | ||
public $depends = [ | ||
]; | ||
*/ | ||
|
||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.body{ | ||
color:#ccc; | ||
font-size:12px; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
33333 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
/* @var $this \yii\web\View */ | ||
/* @var $content string */ | ||
use fecshop\app\appfront\theme\base\front\assets\AppAsset; | ||
AppAsset::register($this); | ||
//var_dump( $cssAndJs['js']);exit; | ||
//$this->assetBundles["fecadmin\myassets\AppAsset"]->js = $cssAndJs['js']; | ||
//$this->assetBundles["fecadmin\myassets\AppAsset"]->css = $cssAndJs['css']; | ||
|
||
?> | ||
<?php $this->beginPage() ?> | ||
<!DOCTYPE html> | ||
<html lang="<?= Yii::$app->language ?>" xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<?php $this->head() ?> | ||
<?php | ||
//$publishedPath = $this->assetManager->publish('@fecadmin/myassets/dwz_jui-master/dwz.frag.xml'); | ||
?> | ||
</head> | ||
<body> | ||
<?php $this->beginBody() ?> | ||
<div id="layout"> | ||
<div id="header"> | ||
|
||
</div> | ||
<?= $content ?> | ||
</div> | ||
<footer class="footer"> | ||
<div class="container"> | ||
|
||
</div> | ||
</footer> | ||
<?php $this->endBody() ?> | ||
</body> | ||
</html> | ||
<?php $this->endPage() ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.