Authored by whb

h5的video、activity相关页面

... ... @@ -22,7 +22,7 @@
</div>
<span class="tip-close"></span>
</div>
<h1 class="logo iconfont"><a class="back-btn iconfont" href="javascript:;">&#xe60f;</a>&#xe60b;</h1>
<h1 class="logo iconfont"><a class="back-btn iconfont" href="<?php echo $this->view->callback;?>">&#xe60f;</a>&#xe60b;</h1>
</div>
<div class="bd">
<?php $this->_block('main');$this->_endblock();?>
... ...
<?php $this->_extends('layout/default_layout');?>
<?php $this->_block('main');?>
<!-- content start -->
<div class="content-wrap clearfix">
<div class="introduction" style="margin: 0 auto; width: 816px;">
<?php
foreach($this->view->activityInfos as $info)
{
if(trim($info['title']) == '活动介绍网页版')
{
echo $info['content'];
}
}
?>
</div>
<div class="activity-ask">
<h2>Q&amp;A</h2>
</div>
<div class="activity-qa">
<?php
$arrs = array(
'1.我不是有货的会员,可以购票吗?' => '活动针对所有消费者开放,您可以在完成简单的注册之后进行购票,注册地址:<a href="http://www.yohobuy.com/reg.html" target="_blank" style="color:red;">http://www.yohobuy.com/reg.html</a>。',
'2.一个账户可以购买多张同一天的单日票吗?'=>'不可以,一个账户仅可购买单日票一张。',
'3.我想参加两天的活动,如何购票?'=>'请分别购买两天的活动门票,两天的门票会绑定到同一有货账户。',
'4.门票是否可以进行退换?'=>'门票售出后不可退换,但由于活动不可抗拒原因造成消费者当天无法入场,可进行门票退换,具体操作可咨询客服。',
'5.你们预售的门票,到时会不会有进场人数的限制?'=>'根据当天现场情况,如果场内客户量较大,可能会采取临时人数管控措施,界时如果由于此问题导致您持有当日门票但直至活动结束仍无法入场,可以选择更换次日门票或是退票。',
'6.是否可以进行现场售票?'=>'现场出售当日票,并在现场进行有货账户绑定。为了更快速入场,建议在YOHOBUY提前完成购票。',
'7.我已经购买了你们的电子门票,当天怎么进场?'=>' 您需要提前把电子门票打印或保存在手机上,持对应日期的电子门票至活动现场,换取当日入场手环。',
'8.购买的二维码遗失了怎么办?'=>'二维码会保存在您的有货账户下,可在活动现场通过服务台咨询找回。',
'9.我不想用手机注册你们的账号,我还可不可以入场?'=>'如果您不想使用手机注册的话,您也可以选择邮箱注册,或者也可以使用支付宝、QQ、新浪微博等联合登录方式绑定入场手环。',
'10.现场手机注册账户,但一直收不到验证短信怎么办?'=>'如果您一直无法接受验证信息的话,建议您可以尝试通过邮箱注册,或使用支付宝、QQ、新浪微博等联合登录方式绑定入场手环。',
'11.如何进行支付?'=>'可以通过网上银行、支付宝、微信等方式支付,请参见有货支付规则:<a href="http://www.yohobuy.com/help/?category_id=43" target="_blank" style="color:red;">http://www.yohobuy.com/help/?category_id=43</a>。',
'12.下单后需要多久完成支付?'=>'订单生成后需要在二小时内付款,逾时订单会被取消。',
'13.现场是否可以通过手机支付?'=>'可通过下载YOHO!有货手机客户端,在现场进行货品查看、购买及支付。',
'14.我可以在现场用现金购物吗?'=>'现场商品均为线上销售,需通过有货APP进行购物,不接受现金支付,请提前下载有货APP。',
'15.室内手机信号不稳定无法支付,怎么办?'=>'因为在室内手机信号分布可能不太均匀,您可以换个位置尝试一下,尽量选择靠近窗边的地方试一下,或者也可以在我们提供的自助电脑上进行支付。',
'16.购买多件商品是否会有折扣,是否包邮?'=>'预购商品以标价为准,可以包邮,但不参与其他活动;非预购商品与有货在售的其他商品一样可享受网站的各项优惠政策。',
'17.预购商品什么时候可以收到货品?'=>'部分商品为预购商品,商品会在秋冬上市,具体上市时间会在商品信息中标明。',
'18.预购商品是否可以和非预售商品合并订单?'=>'不可合并订单。',
'19.我下单之后订单能不能取消?'=>'可以取消订单。',
'20.已支付的订单是否可以退换货?'=>'已支付的订单自签收商品7日内可以退货,15日内可以换货,商品不能影响二次销售。',
'21.现场是否可以购买并且拿到货品?'=>'所有产品均为线上销售,非预购商品支付成功后的3-5天把货品送到。如果您的订购完成后7天内商品仍没有送达,建议您直接与有货客服中心联系。(预购商品需要等待上市期)',
'22.在活动之后我是否还可以进行商品购买?'=>'三天活动结束后,会开始线上销售,但商品数量有限,建议尽早下单购买。',
'23.有什么品牌会参加?'=>'具体参展品牌请查询活动参展品牌页面。<a href="http://www.yohood.cn/brand/index" target="_blank" style="color:red;">http://www.yohood.cn/brand/index</a>',
'24.现场活动具体时间安排是怎么样的?'=>'请留意新闻发布或手机APP及YOHOOD官方网站的活动安排。',
'25.现场除了商品销售还有什么活动?'=>'现场除了商品销售,还会有品牌新品发布会、潮流时尚Fashion Show、VIP潮流派对、潮流文化论坛、潮流市集、BE@RBIRCK世界巡展和COLT签名会。详情请留意YO’HOOD官网:<a href="http://www.yohood.cn/activity/plan" target="_blank" style="color:red;">http://www.yohood.cn/activity/plan</a>。',
'26.会场是否有试衣间?'=>'本次活动现场不设试衣间。',
'27.我可以近距离接触品牌主理人吗?'=>'品牌主理人都会亲临现场,详情请留意YO’HOOD官网。',
'28.如何获得参加现场活动,比如潮流市集、BE@RBIRCK世界巡展等?'=>'只需购买门票就能参加所有的现场活动。详情请留意YO’HOOD官网对于活动时间的预告。',
'29.品牌展出方式是怎样的?'=>'现场品牌均有自己的独立展位。',
'30.现场是否会有限定、联名产品?'=>'此次活动,许多顶尖潮牌推出活动独家限定商品,以及YO’HOOD联名产品,详情请留意YO’HOOD官网。',
'31.我如果中途出去吃个饭,回头凭入场手环还能再进来吗?'=>'可以的,您凭当天的入场手环离场后可以再次进入。',
'32.你们这有没有饮料和食品销售?'=>'活动当天购票入场的客户均可以领取一瓶饮用水,活动现场也会有汉堡王驻场。',
'33.一米二以下儿童是否要票?'=>'每位购票成人可以携带一名一米二以下的儿童入场,但活动期间现场人流量较大,出于安全因素考虑,我们不建议客户带儿童入场。'
);
foreach($arrs as $key => $arr):
?>
<h3><span>Q</span><?php echo $key;?></h3>
<p class="activity-borderline"><span>A</span><?php echo $arr;?></p>
<?php endforeach;?>
</div>
</div>
<?php $this->_endblock();?>
\ No newline at end of file
<?php $this->_extends('layout/default_layout_mobile');?>
<?php $this->_block('main');?>
<div class="mobile-position">
<a class="mobile-back" href="<?php echo $this->view->callback;?>"></a>
<h2>现场活动</h2>
</div>
<div class="mobile-container">
<div class="scene-wrap">
<div class="scene-nav">
<?php
$timeList = array_keys($this->view->plans);
foreach($timeList as $time):?>
<a href="/activity/plan/currentday/<?php echo $time;?>" <?php echo $time == $this->view->currentday ? 'class="current"':'';?> ><?php echo date('m/d', $time);?></a>
<?php endforeach;?>
<div class="scene-tab">
<ul class="clearfix">
<?php foreach(current($this->view->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="/activity/plan/currentday/<?php echo $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
$now = time();
foreach($this->view->plans[$this->view->currentday] as $dayPlan):?>
<div class="scene-item <?php echo ($now >$dayPlan['start_time'] && $now>$dayPlan['end_time']) ? 'over':''; ?> ">
<div class="times">
<span><?php echo date('H:i', $dayPlan['start_time'])?></span>
<span><?php echo date('H:i', $dayPlan['end_time'])?></span>
<?php echo ($now >$dayPlan['start_time'] && $now>$dayPlan['end_time']) ? '<strong>已结束</strong>':''; ?>
</div>
<h2><i></i><a href="javascript:void(0);"><?php echo $dayPlan['title'];?></a></h2>
<h3><?php echo $dayPlan['place'];?></h3>
<div class="img-box">
<img src="<?php echo Lib_Images::getImageUrl($dayPlan['pic'],'source','fragmentimg');?>" alt="" width="200" height="125"/>
<p><?php echo $dayPlan['content'];?></p>
</div>
</div>
<?php endforeach;?>
<?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 data-original="<?php echo Lib_Images::getImageUrl($plan['pic'], 'source','fragmentimg');?>"
src="<?php echo Lib_Images::getImageUrl($plan['pic'], '0308x0160','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>
</div>
<?php $this->_endblock();?>
\ No newline at end of file
... ...
... ... @@ -46,7 +46,7 @@
</a>
</li>
<li>
<a href="/activity/plan?callback=<?php echo $this->view->callback;?>">
<a href="/video/index?callback=<?php echo $this->view->callback;?>">
<div class="channel-pic video iconfont">&#xe60d;</div>
<h2 class="channel-name">VIDEO</h2>
<p class="channel-name-cn">热点视频</p>
... ... @@ -60,7 +60,7 @@
</a>
</li>
<li>
<a href="javascript:;">
<a href="/activity/plan?callback=<?php echo $this->view->callback;?>">
<div class="channel-pic live iconfont">&#xe60a;</div>
<h2 class="channel-name">LIVE</h2>
<p class="channel-name-cn">现场活动</p>
... ...
<?php $this->_extends('layout/default_layout');?>
<?php $this->_block('main');?>
<!-- content start -->
<div class="content-wrap clearfix">
<h1 class="show-title">#YO’HOOD SHOW#</h1>
<div class="show-list clearfix">
<?php
$pos = 0;
foreach($this->view->fragments as $fragment):?>
<span class="single_<?php echo $pos++;?>">
<img src="<?php echo preg_replace('/_\.(\w+)/i','', $fragment['image']);?>?imageMogr2/thumbnail/160x160/strip/quality/80" alt=""
source="<?php echo str_replace('_','_-0480x0480-primary', $fragment['image']);?>"
style="width:160px;height:160px;"class="look_big_image"/>
<?php
if(isset($fragment['labelList']))
{
foreach($fragment['labelList'] as $label)
{
?>
<span x="<?php echo $label['x']?>" y="<?php echo $label['y']?>" label="<?php echo $label['brandName'].$label['categoryName'];?>"></span>
<?php }}?>
</span>
<?php endforeach;?>
</div>
<div id="pageContent" class="pagination">
<?php $this->_component('Common_Pagination',array(
'pagination' => $this->view->pagination,'next_label' => '下一页','prev_label' => '上一页','current_class' => 'current',
'page_class'=>'pagination-inner', 'id'=>'img_page'
));?>
</div>
<div class="model">
<div id="mask" class="mask" current_class="">
<img src="" width="480" height="480" />
</div>
<div>
<a href="javascript:void(0);" class="iconfont image-prev"></a>
<a href="javascript:void(0);" class="iconfont image-next"></a>
<a href="javascript:void(0);" class="iconfont ui-dialog-close"></a>
</div>
</div>
</div>
<?php $this->_endblock();?>
<?php $this->_block('js');?>
<?php $this->_js('index.js', array(
SITE_JS . '/lib/seajs.js',
));?>
<script type="text/javascript">
seajs.use('channel',function(channel)
{
channel.show();
});
</script>
<?php $this->_endblock();?>
\ No newline at end of file
<?php $this->_extends('layout/default_layout_mobile');?>
<?php $this->_block('main');?>
<h2 class="main-title">热门视频</h2>
<div class="video-main content-main">
<div class="video-wrap">
<div class="main-layout clearfix">
<?php $this->_widget('news_list', array('list'=> $this->view->list,'video' => 1));?>
</div>
</div>
<div id="pageContent" style="text-align: center;" class="pagination">
<?php $this->_component('Common_Pagination',array(
'pagination' => $this->view->pagination,'next_label' => 'NEXT&nbsp;<span class="iconfont">&#xe610;</span>',
'prev_label' => '<span class="iconfont">&#xe60f;</span>&nbsp;PREV',
'is_mobile' => true,'prev_class'=>'iconfont','prev_class'=>'iconfont',
'page_class'=>'pagination-inner clearfix', 'id'=>'img_page'
));?>
</div>
</div>
<?php $this->_endblock();?>
\ No newline at end of file
... ...