default_layout_mobile.php 2.23 KB
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>YO'HOOD | 全球潮流新品嘉年华</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="yes" name="apple-touch-fullscreen" />
    <meta content="telephone=no" name="format-detection" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <link rel="stylesheet" href="<?php echo SITE_RES;?>/css/mobile.css"/>
    <link rel="stylesheet" href="<?php echo SITE_RES;?>/css/emoji.css"/>
</head>
<body>
    <div class="mobile-wrap">
         <div class="hd">
            <div class="header-download-wrap">
                <div class="header-download clearfix">
                    <div class="tip-pic"></div>
                    <div class="tip-info">
                        <h2>YOHO!有货</h2>
                        <p>随手随心,潮流购物利器大公开</p>
                        <a class="yohoboy-download-app" href="http://www.yohoshow.com/about/index/yohobuyqr">OPEN</a>
                    </div>
                    <span class="tip-close"></span>
                </div>
            </div>
            <h1 class="logo iconfont">
                <?php 
                    $_ctx = Framework_YHttpRequest::instance();
                 	$controller_name = $_ctx->controller_name;
                 	$action_name = $_ctx->action_name;
                 	$url = $controller_name.'/'.$action_name;
                 	$noAllow = array('default/index');
                 ?>
            <?php if(!in_array($url, $noAllow)):?>
                 <a class="back-btn iconfont" href="<?php echo $this->view->callback;?>">&#xe60f;</a>
            <?php endif;?>
            &#xe60b;
            </h1>
        </div>
       <div class="bd">
   		   <?php $this->_block('main');$this->_endblock();?>
   	    </div>
   	    <div class="overlay"></div>
    </div>
<?php $this->_js('index.js', array(
    SITE_JS . '/lib/seajs.js'
));?>
<script type="text/javascript">
seajs.use('mobile',function(mobile){
	mobile.common();
})
</script>
<?php $this->_block('js');?>
<?php $this->_endblock();?>     
</body>
</html>