Authored by 毕凯

优惠券数据结构完善

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