Skip to content

Commit

Permalink
一些小调整
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyecommerce committed Jun 13, 2018
1 parent a497d99 commit 883bf35
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 73 deletions.
2 changes: 1 addition & 1 deletion myassets/AppAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class AppAsset extends AssetBundle
// 'yii\bootstrap\BootstrapAsset',
// 'yii\web\YiiAsset',
'fecadmin\myassets\DwzAsset',
'fecadmin\myassets\EchartsAsset',
//'fecadmin\myassets\EchartsAsset',
'fecadmin\myassets\ChosenAsset',
'fecadmin\myassets\DwzIEAsset',
'fecadmin\myassets\DwzIE9Asset',
Expand Down
2 changes: 1 addition & 1 deletion views/layouts/Footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use fec\helpers\CUrl;
class Footer{
public static function getContent(){
return '<div id="footer">Copyright &copy; 2010 <a href="" target="_blank">Fecshop团队 - www.fecshop.com</a></div>';
return '<div style="position:absolute;z-index: 99999;" id="footer"> © 2015-2018 <a style="text-decoration:none" href="http://www.fecshop.com" target="_blank">Fecshop团队 - www.fecshop.com</a></div>';

}

Expand Down
2 changes: 1 addition & 1 deletion views/layouts/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class Header{
public static function getContent(){
return '<div class="headerNav">
<a class="logo" href="http://www.fecshop.com">FECSHOP</a>
<a target="_blank" class="logo" href="http://www.fecshop.com">FECSHOP</a>
<a style="color:#fff; display: block; height: 21px;position: absolute; right: 10px;top: 18px;z-index: 31;"
href="'.CUrl::getUrl("fecadmin/logout").'">
Expand Down
63 changes: 15 additions & 48 deletions views/layouts/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
use fecadmin\views\layouts\Header;
use fecadmin\views\layouts\Menu;


AppAsset::register($this);

//$cssAndJs = Head::getJsAndCss();
Expand All @@ -31,18 +30,12 @@

?>






<?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">

<?= Html::csrfMetaTags() ?>
<title><?= Html::encode($this->title) ?></title>
<?php $this->head() ?>
Expand All @@ -51,7 +44,6 @@
<script src="http://echarts.baidu.com/gallery/vendors/echarts/echarts-all-3.js"></script>
-->
<script src="http://echarts.baidu.com/build/dist/echarts.js"></script>

<!-- 3.0 -->
<script type="text/javascript">
// 路径配置
Expand All @@ -61,13 +53,11 @@
echarts: 'http://echarts.baidu.com/build/dist'
}
});
</script>

</script>
<script>
<?php
$publishedPath = $this->assetManager->publish('@fecadmin/myassets/dwz_jui-master/dwz.frag.xml');

?>
$publishedPath = $this->assetManager->publish('@fecadmin/myassets/dwz_jui-master/dwz.frag.xml');
?>
 $(function(){
DWZ.init("<?= $publishedPath[1]; ?>", {
loginUrl:"login_dialog.html", loginTitle:"登录", // 弹出登录对话框
Expand All @@ -87,17 +77,10 @@
</head>
<body>
<?php $this->beginBody() ?>



<div id="layout">
<div id="header">
<?= Header::getContent(); ?>

<!-- navMenu -->

</div>

<div id="leftside">
<div id="sidebar_s">
<div class="collapse">
Expand Down Expand Up @@ -130,47 +113,31 @@
<div class="navTab-panel tabsPageContent layoutBox">
<div class="page unitBox">
<div class="accountInfo">


<p><span>您好:<?= \fec\helpers\CUser::getCurrentUsername(); ?></span></p>
</div>
</div>
<div class="pageFormContent" layoutH="80" style="margin-right:230px">

<ul style="line-height:30px;text-align:center;margin-top:30px;">
<li>
<h1 style="font-size:36px;"> Fecshop后台管理系统</h1>

</li>
<li>
<div style="padding-top:150px;">
注:如果权限不够,请联系管理员开通权限。
</div>
</li>

</ul>

<ul style="line-height:30px;text-align:center;margin-top:30px;">
<li>
<h1 style="font-size:36px;"> <a target="_blank" href="http://www.fecshop.com">Fecshop</a>后台管理系统</h1>

</li>
<li>
<div style="padding-top:150px;">
注:如果权限不够,请联系管理员开通权限。
</div>
</li>
</ul>
</div>


</div>

</div>
</div>
</div>

</div>
<footer class="footer">
<div class="container">
<?= Footer::getContent(); ?>


</div>
</footer>






<?php $this->endBody() ?>
</body>
Expand Down
32 changes: 10 additions & 22 deletions views/layouts/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,25 @@
use fecadmin\views\layouts\Footer;
use fecadmin\views\layouts\Header;
use fecadmin\views\layouts\Menu;


LoginAsset::register($this);

?>

<?php
$login_logoPath = $this->assetManager->publish('@fecadmin/myassets/dwz_jui-master/themes/default/images/login_logo.gif');
$login_titlePath = $this->assetManager->publish('@fecadmin/myassets/dwz_jui-master/themes/default/images/login_title.png');
$header_bgPath = $this->assetManager->publish('@fecadmin/myassets/dwz_jui-master/themes/default/images/header_bg.png');
$login_bannerPath = $this->assetManager->publish('@fecadmin/myassets/dwz_jui-master/themes/default/images/login_banner.jpg');

?>



?>

<?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">

<?= Html::csrfMetaTags() ?>
<title><?= Html::encode($this->title) ?></title>
<?php $this->head() ?>

</head>
<body>
<?php $this->beginBody() ?>
Expand All @@ -61,14 +52,14 @@
<div class="login_headerContent">
<div class="navList">
<ul>
<li><a href="#">设为首页</a></li>
<li><a href="#">反馈</a></li>
<li><a href="#" target="_blank">帮助</a></li>
<li><a target="_blank" href="http://www.fecshop.com/first">设为首页</a></li>
<li><a target="_blank" href="http://www.fecshop.com/topic">反馈</a></li>
<li><a target="_blank" href="http://www.fecshop.com/topic" target="_blank">帮助</a></li>
</ul>
</div>
<h2 class="login_title">
<!-- <img src="<?= $login_titlePath[1] ?>" /> -->
<a href="http://demo.dwzjs.com" style="font-size:15px;text-decoration:none;
<a target="_blank" href="http://www.fecshop.com" style="font-size:15px;text-decoration:none;
color:#6f8992;">登录FecShop后台</a>
</h2>
</div>
Expand All @@ -80,24 +71,21 @@
<div class="login_banner"><img src="<?= $login_bannerPath[1] ?>" /></div>
<div class="login_main">
<ul class="helpList">
<li><a href="#">功能简介</a></li>
<li><a href="#">Fecshop 详细说明</a></li>
<li><a href="#">如何快速开始?</a></li>

<li><a target="_blank" href="http://www.fecshop.com/doc/fecshop-guide/develop/cn-1.0/guide-fecshop-appadmin-about.html">功能简介</a></li>
<li><a target="_blank" href="http://www.fecshop.com/first">Fecshop 详细说明</a></li>
<li><a target="_blank" href="http://www.fecshop.com/doc/fecshop-guide/develop/cn-1.0/guide-fecshop-appadmin-about.html">如何快速开始?</a></li>
</ul>
<div class="login_inner">
<p> Fecshop的后台管理</p>
<p> <a style="text-decoration:none;color:#333" target="_blank" href="http://www.fecshop.com">Fecshop</a>的后台管理</p>

<p></p>
</div>
</div>
</div>
<div id="login_footer">
Copyright &copy; 2016 www.fecshop.com Inc. All Rights Reserved.
Copyright &copy; 2016 <a style="text-decoration:none" target="_blank" href="http://www.fecshop.com">www.fecshop.com</a> Inc. All Rights Reserved.
</div>
</div>


<?php $this->endBody() ?>
</body>
</html>
Expand Down

0 comments on commit 883bf35

Please sign in to comment.