indexmobile.php
3.74 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?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"></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"></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"></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"></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"></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"></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();?>