indexmobile.php 3.74 KB
<?php $this->_extends('layout/default_layout_mobile');?>
<?php $this->_block('main');?>
    <div class="slide-main">
        <div class="slide-box">
            <div class="slide-wrap clearfix">
               <?php foreach($this->view->banners as $banner):?>
                 <div class="box">
                    <a href="<?php echo $banner['url'];?>" title="<?php echo $banner['text'];?>">
                 	      <img src="<?php echo Lib_Images::getImageUrl($banner['res'],'0360x0174','fragmentimg');?>" alt=""/>
                    </a>
                 </div>
              <?php endforeach;?>
            </div>
        </div>
        <div class="slide-navigator">
            <div class="dib clearfix">
                <?php echo '<a href="javascript:;" class="on"></a>'.str_repeat('<a href="javascript:;"></a>', count($this->view->banners) - 1);?>
            </div>
        </div>
    </div>
    <div class="channel-list">
        <ul class="clearfix">
            <li>
                <a href="/activity/index">
                    <div class="channel-pic activity iconfont">&#xe607;</div>
                    <h2 class="channel-name">ACTIVITY</h2>
                    <p class="channel-name-cn">活动详情</p>
                </a>
            </li>
            <li>
                <a href="/news/index">
                    <div class="channel-pic counsel iconfont">&#xe609;</div>
                    <h2 class="channel-name">COUNSEL</h2>
                    <p class="channel-name-cn">最新资讯</p>
                </a>
            </li>
            <li>
                <a href="/brand/index">
                    <div class="channel-pic brand iconfont">&#xe608;</div>
                    <h2 class="channel-name">BRAND</h2>
                    <p class="channel-name-cn">参展品牌</p>
                </a>
            </li>
            <li>
                <a href="/video/index">
                    <div class="channel-pic video iconfont">&#xe60d;</div>
                    <h2 class="channel-name">VIDEO</h2>
                    <p class="channel-name-cn">热点视频</p>
                </a>
            </li>
            <li>
                <a href="/default/other">
                    <div class="channel-pic recmmend"></div>
                    <h2 class="channel-name">RECMMEND</h2>
                    <p class="channel-name-cn">限量推荐</p>
                </a>
            </li>
            <li>
                <a href="/activity/plan">
                    <div class="channel-pic live iconfont">&#xe60a;</div>
                    <h2 class="channel-name">LIVE</h2>
                    <p class="channel-name-cn">现场活动</p>
                </a>
            </li>
            <li>
                <a href="/show/index">
                    <div class="channel-pic show"></div>
                    <h2 class="channel-name">SHOW</h2>
                    <p class="channel-name-cn">潮流分享</p>
                </a>
            </li>
            <li>
                <a href="/default/other">
                    <div class="channel-pic ticket iconfont"></div>
                    <h2 class="channel-name">TICKET</h2>
                    <p class="channel-name-cn">购票通道</p>
                </a>
            </li>
            <li>
                <a href="/default/contactus">
                    <div class="channel-pic contact iconfont">&#xe60e;</div>
                    <h2 class="channel-name">CONTACT</h2>
                    <p class="channel-name-cn">联系我们</p>
                </a>
            </li>
        </ul>
    </div>
<?php $this->_endblock();?> 
<?php $this->_block('js');?> 
    <script type="text/javascript">
        seajs.use(['zepto', 'mobile'],function($, mobile){
            mobile.index();
        })
    </script>
<?php $this->_endblock();?>