...
|
...
|
@@ -50,13 +50,13 @@ |
|
|
$controller_name = $_ctx->controller_name;
|
|
|
$action_name = $_ctx->action_name;
|
|
|
?>
|
|
|
<div class="header" id="w-submit">
|
|
|
<!-- 页首 logo start -->
|
|
|
<h1 class="logo">
|
|
|
<img src='<?php echo SITE_RES ."/images/yohood/logo3.0.png"?>'>
|
|
|
</h1>
|
|
|
<div class="header">
|
|
|
<a href="<?php echo SITE_MAIN;?>">
|
|
|
<h1 class="logo"><img src='<?php echo SITE_RES."/images/yohood/logo3.0.png"?>'></h1>
|
|
|
</a>
|
|
|
<div class="nav">
|
|
|
<ul class="clearfix">
|
|
|
<!-- 单个菜单标签 start -->
|
|
|
<li <?php echo ($controller_name == 'default') ? 'class="current"':''; ?>>
|
|
|
<a href="/default/index">
|
|
|
<em>HOME</em>
|
...
|
...
|
@@ -64,21 +64,37 @@ |
|
|
<i></i>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li <?php echo ($controller_name == 'activity' &&
|
|
|
in_array($action_name, array('index','video','partner'))) ? 'class="current"':''; ?>>
|
|
|
<a href="/activity/index">
|
|
|
<!-- 单个菜单标签 end -->
|
|
|
<!-- 单个菜单标签 start -->
|
|
|
<li>
|
|
|
<a href="javascript:;">
|
|
|
<em>ACTIVITY</em>
|
|
|
<span>活动详情</span>
|
|
|
<span>活动资讯</span>
|
|
|
<i></i>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li <?php echo ($controller_name == 'news') ? 'class="current"':''; ?>>
|
|
|
<a href="/news/index">
|
|
|
<em>COUNSEL</em>
|
|
|
<span>最新资讯</span>
|
|
|
<!-- 二级菜单 start -->
|
|
|
<div class="second-menu">
|
|
|
<a href="/news/index/tag/品牌咨询">
|
|
|
<em>品牌咨询</em>
|
|
|
<i></i>
|
|
|
</a>
|
|
|
<a href="/news/index/tag/活动介绍">
|
|
|
<em>活动介绍</em>
|
|
|
<i></i>
|
|
|
</a>
|
|
|
<a href="/news/index/tag/亮点活动">
|
|
|
<em>亮点活动</em>
|
|
|
<i></i>
|
|
|
</a>
|
|
|
<a href="/news/index/tag/限量商品">
|
|
|
<em>限量商品</em>
|
|
|
<i></i>
|
|
|
</a>
|
|
|
</div>
|
|
|
<!-- 二级菜单 end -->
|
|
|
</li>
|
|
|
<!-- 单个菜单标签 end -->
|
|
|
<!-- 单个菜单标签 start -->
|
|
|
<li <?php echo ($controller_name == 'brand') ? 'class="current"':''; ?>>
|
|
|
<a href="/brand/index">
|
|
|
<em>BRAND</em>
|
...
|
...
|
@@ -86,6 +102,8 @@ |
|
|
<i></i>
|
|
|
</a>
|
|
|
</li>
|
|
|
<!-- 单个菜单标签 end -->
|
|
|
<!-- 单个菜单标签 start -->
|
|
|
<li <?php echo ($controller_name == 'video') ? 'class="current"':''; ?>>
|
|
|
<a href="/video/index">
|
|
|
<em>VIDEO</em>
|
...
|
...
|
@@ -93,20 +111,33 @@ |
|
|
<i></i>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li <?php echo ($controller_name == 'onlinereg') ? 'class="current"':''; ?>>
|
|
|
<a href="/onlinereg/index">
|
|
|
<!-- 单个菜单标签 end -->
|
|
|
<!-- 单个菜单标签 start -->
|
|
|
<li>
|
|
|
<a href="javascript:;">
|
|
|
<em>REGISTRATION</em>
|
|
|
<span>在线登记</span>
|
|
|
<i></i>
|
|
|
</a>
|
|
|
</li>
|
|
|
<li <?php echo ($controller_name == 'activity' && $action_name == 'plan') ? 'class="current"':''; ?>>
|
|
|
<a href="/activity/plan">
|
|
|
<em>SCENE</em>
|
|
|
<span>现场活动</span>
|
|
|
<!-- 二级菜单 start -->
|
|
|
<div class="second-menu">
|
|
|
<a href="/onlinereg/exhibitor">
|
|
|
<em>参展商登记</em>
|
|
|
<i></i>
|
|
|
</a>
|
|
|
<a href="/onlinereg/media">
|
|
|
<em>媒体登记</em>
|
|
|
<i></i>
|
|
|
</a>
|
|
|
<a href="/onlinereg/sponsor">
|
|
|
<em>赞助商登记</em>
|
|
|
<i></i>
|
|
|
</a>
|
|
|
</div>
|
|
|
<!-- 二级菜单 end -->
|
|
|
</li>
|
|
|
<!-- 单个菜单标签 end -->
|
|
|
<!-- 单个菜单标签 start -->
|
|
|
<li <?php echo ($controller_name == 'show') ? 'class="current"':''; ?>>
|
|
|
<a href="/show/index">
|
|
|
<em>SHOW</em>
|
...
|
...
|
@@ -114,6 +145,7 @@ |
|
|
<i></i>
|
|
|
</a>
|
|
|
</li>
|
|
|
<!-- 单个菜单标签 end -->
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -123,21 +155,6 @@ |
|
|
$this->_endblock();?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php if($this->view->recom_product_total):?>
|
|
|
<div class="ft"> <!-- 限量推荐 -->
|
|
|
<div class="limited-goods">
|
|
|
<h2>限量商品</h2>
|
|
|
<div class="limited-slide-box">
|
|
|
<div class="slide-wrap clearfix" id="product_list" offset="0">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="limited-slide-control">
|
|
|
<a class="limited-slide-prev iconfont" href="javascript:void(0);"></a>
|
|
|
<a class="limited-slide-next iconfont" href="javascript:void(0);"></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php endif;?>
|
|
|
<div class="return-top" style="display:none;">
|
|
|
<a href="javascript:void(0);" id="toTop" class="ifont" style="display: inline;">
|
|
|
<span class="iconfont"></span>
|
...
|
...
|
@@ -158,6 +175,13 @@ |
|
|
<?php $this->_js('index.js', array(
|
|
|
SITE_JS . '/lib/seajs.js',
|
|
|
));?>
|
|
|
<script type="text/javascript" src='<?php echo SITE_RES."/js/lib/seajs.js"?>'></script>
|
|
|
<script type="text/javascript">
|
|
|
seajs.use(['jquery', 'channel'], function($, channel) {
|
|
|
channel.common();
|
|
|
channel.index();
|
|
|
})
|
|
|
</script>
|
|
|
<script type="text/javascript">
|
|
|
seajs.use('yohood',function(yohood){
|
|
|
yohood.layout();
|
...
|
...
|
|