|
|
<?php $this->_extends('layout/default_layout_mobile');?>
|
|
|
<?php $this->_block('main');?>
|
|
|
<div class="scene-tab">
|
|
|
<ul class="clearfix">
|
|
|
<?php $navs = current($this->view->navs);ksort($navs);
|
|
|
foreach($navs as $nav):?>
|
|
|
<li
|
|
|
<?php if($nav['timestamp'] == $this->view->currentday && $nav['enable']) echo 'class="current"';
|
|
|
else if (!$nav['enable']) echo 'class="disable"';?>
|
|
|
>
|
|
|
<a href="<?php echo url('activity/plan',array('currentday' => $nav['timestamp']))?>"><?php echo date('m-d', $nav['timestamp']);?></a>
|
|
|
</li>
|
|
|
<?php endforeach;?>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="scene-content">
|
|
|
<div class="main-layout current clearfix">
|
|
|
<?php foreach($this->view->topics as $topic):?>
|
|
|
<div class="layout-section current">
|
|
|
<div class="scene-title">
|
|
|
<h4 class="scene-intro"><span></span><?php echo $topic['title'];?></h4>
|
|
|
<div class="scene-time"><?php echo sprintf('%s-%s', date('H:i', $topic['start_time']), date('H:i', $topic['end_time']));?></div>
|
|
|
<i class="scene-icon"></i>
|
|
|
</div>
|
|
|
<?php
|
|
|
$plans = isset($this->view->plans[$topic['id']])? $this->view->plans[$topic['id']]: array();
|
|
|
foreach($plans as $plan):?>
|
|
|
<div class="layout-item clearfix">
|
|
|
<div class="image-box">
|
|
|
<img class="lazy" data-original="<?php echo Lib_Images::getImageUrl($plan['pic'], 'source','fragmentimg');?>?imageView/2/w/320"
|
|
|
src="<?php echo Lib_Images::getImageUrl($plan['pic'], 'source','fragmentimg');?>" alt="" >
|
|
|
</div>
|
|
|
<div class="content">
|
|
|
<h2 class="volupia">
|
|
|
<a href="javascript:;"><?php echo $plan['title'];?></a>
|
|
|
</h2>
|
|
|
<p><?php echo $plan['content'];?></p>
|
|
|
<p class="time"><?php echo date('Y.m.d', $plan['start_time']);?></p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php endforeach;?>
|
|
|
</div>
|
|
|
<?php endforeach;?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php $this->_endblock();?>
|
|
|
<?php $this->_block('js');?>
|
|
|
<script type="text/javascript">
|
|
|
seajs.use(['mobile', 'lib/util/json'],function(mobile, json){
|
|
|
mobile.scene();
|
|
|
window.json = json;
|
|
|
})
|
|
|
function getClientShare()
|
|
|
{
|
|
|
return window.json.stringify({title: '2015YO\'HOOD潮流新品嘉年华现场活动大公开!',desc: 'YO\'HOOD潮狂欢一起来!更多明星、品牌现场活动尽在www.yohood.cn。',imgUrl: '<?php echo SITE_RES.'/images/yohood/comingsoon.jpg';?>',
|
|
|
link: '<?php echo SITE_MAIN.'/activity/plan/currentday'.$this->view->currentday; ?>'});
|
|
|
}
|
|
|
</script>
|
|
|
<?php $this->_endblock();?> |
|
|
<?php $this->_extends('layout/default_layout_mobile');?>
|
|
|
<?php $this->_block('main');?>
|
|
|
<div class="sh-hd"></div>
|
|
|
<div class="sh-bd">
|
|
|
<div class="section1"></div>
|
|
|
<div class="section2"></div>
|
|
|
<div class="section3"></div>
|
|
|
<div class="section4"></div>
|
|
|
<div class="section5"></div>
|
|
|
<div class="section6"></div>
|
|
|
<div class="section7"></div>
|
|
|
<div class="section8"></div>
|
|
|
<div class="section9"></div>
|
|
|
<div class="section10"></div>
|
|
|
<div class="section11"></div>
|
|
|
<div class="section12"></div>
|
|
|
</div>
|
|
|
<?php $this->_endblock();?>
|
|
|
<?php $this->_block('js');?>
|
|
|
<script type="text/javascript">
|
|
|
seajs.use(['mobile', 'lib/util/json','zepto'],function(mobile, json, $){
|
|
|
mobile.scene();
|
|
|
window.json = json;
|
|
|
})
|
|
|
$(".bd").attr("class", "");
|
|
|
$("*[name='viewport']").attr('content','width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0');
|
|
|
function getClientShare()
|
|
|
{
|
|
|
return window.json.stringify({title: '2015YO\'HOOD潮流新品嘉年华现场活动大公开!',desc: 'YO\'HOOD潮狂欢一起来!更多明星、品牌现场活动尽在www.yohood.cn。',imgUrl: '<?php echo SITE_RES.'/images/yohood/comingsoon.jpg';?>',
|
|
|
link: '<?php echo SITE_MAIN.'/activity/plan/currentday'.$this->view->currentday; ?>'});
|
|
|
}
|
|
|
</script>
|
|
|
<?php $this->_endblock();?> |
...
|
...
|
|