default_layout_mobile.php
2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!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;?>"></a>
<?php endif;?>

</h1>
</div>
<div class="bd">
<?php $this->_block('main');$this->_endblock();?>
</div>
<div class="overlay"></div>
</div>
<script type="text/javascript" charset="utf-8" src="http://staticzine.myoho.net/download/jquery.min.js?v=20150429"></script>
<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<?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>