Authored by 毕凯

优惠券数据结构完善

... ... @@ -5,16 +5,16 @@
<div class="share">
快去分享给小伙伴吧 <span class="arrow"></span>
</div>
<a class="banner" href="{{banner.img}}">
<a class="banner" href="{{banner.url}}">
<img src="{{banner.img}}">
</a>
<div class="download">
<div class="weixin">
<a class="weixin" href="{{weixinUrl}}">
关注有货微信 <span class="arrow"></span>
</div>
<div class="app">
</a>
<a class="app" href="{{appUrl}}">
下载YOHO!BUY有货APP <span class="arrow"></span>
</div>
</a>
</div>
<div class="footer">
</div>
... ...
... ... @@ -22,6 +22,13 @@ class XinshiliController extends HuodongAction
'staticJS' => array(
'home.js'
),
'couponUrl' => '', // 个人中心优惠券地址
'banner' => array(
'img' => '',
'url' => ''
),
'weixinUrl' => '', // 微信关注地址
'appUrl' => '', // APP 下载地址
'shareTitle' => '新势力',
'shareDesc' => '新势力领券',
'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png',
... ...