Authored by hf

code review by fei.hong: do newuser coupon huodong

Showing 32 changed files with 62 additions and 55 deletions
@@ -21,90 +21,90 @@ @@ -21,90 +21,90 @@
21 </head> 21 </head>
22 <body> 22 <body>
23 <div id="coupon-container" param="{{activityId}}" isLogged="{{isLogged}}"> 23 <div id="coupon-container" param="{{activityId}}" isLogged="{{isLogged}}">
24 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/01.jpg">  
25 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/02.jpg">  
26 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/03.jpg">  
27 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">  
28 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/04.jpg"> 24 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/01.jpg">
  25 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/02.jpg">
  26 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/03.jpg">
  27 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/line-1.jpg">
  28 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/04.jpg">
29 <div class="img-box"> 29 <div class="img-box">
30 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/05.jpg"> 30 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/05.jpg">
31 <a class="href href-right" href="{{url_yohope}}"></a> 31 <a class="href href-right" href="{{url_yohope}}"></a>
32 </div> 32 </div>
33 <div class="img-box"> 33 <div class="img-box">
34 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/06.jpg"> 34 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/06.jpg">
35 <a class="href href-center" href="{{url_mycoupon}}"></a> 35 <a class="href href-center" href="{{url_mycoupon}}"></a>
36 </div> 36 </div>
37 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-2.jpg"> 37 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/line-2.jpg">
38 38
39 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/07.jpg"> 39 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/07.jpg">
40 <div class="img-box"> 40 <div class="img-box">
41 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/08.jpg"> 41 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/08.jpg">
42 <a class="href href-left" href="{{url_more}}"></a> 42 <a class="href href-left" href="{{url_more}}"></a>
43 <a class="href href-right" href="{{url_more}}"></a> 43 <a class="href href-right" href="{{url_more}}"></a>
44 </div> 44 </div>
45 <div class="img-box"> 45 <div class="img-box">
46 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/09.jpg">  
47 - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="18719"></span>  
48 - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="18723"></span> 46 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/09.jpg">
  47 + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="18881"></span>
  48 + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="18883"></span>
49 </div> 49 </div>
50 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> 50 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/line-1.jpg">
51 <div class="img-box"> 51 <div class="img-box">
52 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/10.jpg"> 52 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/10.jpg">
53 <a class="href href-left" href="{{url_more}}"></a> 53 <a class="href href-left" href="{{url_more}}"></a>
54 <a class="href href-right" href="{{url_1}}"></a> 54 <a class="href href-right" href="{{url_1}}"></a>
55 </div> 55 </div>
56 <div class="img-box"> 56 <div class="img-box">
57 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/11.jpg">  
58 - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="18725"></span>  
59 - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="18727"></span> 57 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/11.jpg">
  58 + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="18885"></span>
  59 + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="18887"></span>
60 </div> 60 </div>
61 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> 61 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/line-1.jpg">
62 <div class="img-box"> 62 <div class="img-box">
63 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/12.jpg">  
64 - <a class="href href-left" href="{{url_1}}"></a>  
65 - <a class="href href-right" href="{{url_2}}"></a> 63 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/12.jpg">
  64 + <a class="href href-left" href="{{url_2}}"></a>
  65 + <a class="href href-right" href="{{url_3}}"></a>
66 </div> 66 </div>
67 <div class="img-box"> 67 <div class="img-box">
68 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/13.jpg">  
69 - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="18717"></span>  
70 - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="18729"></span> 68 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/13.jpg">
  69 + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="18895"></span>
  70 + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="18889"></span>
71 </div> 71 </div>
72 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> 72 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/line-1.jpg">
73 <div class="img-box"> 73 <div class="img-box">
74 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/14.jpg">  
75 - <a class="href href-left" href="{{url_3}}"></a>  
76 - <a class="href href-right" href="{{url_4}}"></a> 74 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/14.jpg">
  75 + <a class="href href-left" href="{{url_4}}"></a>
  76 + <a class="href href-right" href="{{url_5}}"></a>
77 </div> 77 </div>
78 <div class="img-box"> 78 <div class="img-box">
79 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/15.jpg">  
80 - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="18731"></span>  
81 - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="18733"></span> 79 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/15.jpg">
  80 + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="18893"></span>
  81 + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="18891"></span>
82 </div> 82 </div>
83 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> 83 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/line-1.jpg">
84 <div class="img-box"> 84 <div class="img-box">
85 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/16.jpg">  
86 - <a class="href href-left" href="{{url_5}}"></a>  
87 - <a class="href href-right" href="{{url_6}}"></a> 85 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/16.jpg">
  86 + <a class="href href-left" href="{{url_6}}"></a>
  87 + <a class="href href-right" href="{{url_7}}"></a>
88 </div> 88 </div>
89 <div class="img-box"> 89 <div class="img-box">
90 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/17.jpg">  
91 - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="18735"></span>  
92 - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="18737"></span> 90 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/17.jpg">
  91 + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="18897"></span>
  92 + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="18899"></span>
93 </div> 93 </div>
94 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> 94 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/line-1.jpg">
95 95
96 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/24-1.jpg"> 96 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/24-1.jpg">
97 <div class="img-box"> 97 <div class="img-box">
98 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/24-2.jpg"> 98 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/24-2.jpg">
99 <a class="show-more" href="{{url_help}}"></a> 99 <a class="show-more" href="{{url_help}}"></a>
100 </div> 100 </div>
101 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/24-3.jpg">  
102 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-2.jpg">  
103 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/25-1.jpg">  
104 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/25-2.jpg">  
105 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/25-3.jpg">  
106 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/26.jpg">  
107 - <img src="{{jsUrl}}/cuxiao/img/newuser/160219/27.jpg"> 101 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/24-3.jpg">
  102 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/line-2.jpg">
  103 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/25-1.jpg">
  104 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/25-2.jpg">
  105 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/25-3.jpg">
  106 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/26.jpg">
  107 + <img src="{{jsUrl}}/cuxiao/img/newuser/160301/27.jpg">
108 </div> 108 </div>
109 <script type="text/javascript" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script> 109 <script type="text/javascript" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script>
110 <script type="text/javascript" src="{{jsUrl}}/cuxiao/js/newuser/coupon2.js"></script> 110 <script type="text/javascript" src="{{jsUrl}}/cuxiao/js/newuser/coupon2.js"></script>
@@ -553,7 +553,7 @@ class CouponController extends HuodongAction @@ -553,7 +553,7 @@ class CouponController extends HuodongAction
553 $url = Helpers::url('/boys', array(), 'default') . '?openby:yohobuy={"action":"go.home","params":{"gender":"' . $gender . '","channel":"' . $channel . '"}}'; 553 $url = Helpers::url('/boys', array(), 'default') . '?openby:yohobuy={"action":"go.home","params":{"gender":"' . $gender . '","channel":"' . $channel . '"}}';
554 554
555 $this->_view->display('newuser3', array( 555 $this->_view->display('newuser3', array(
556 - 'activityId' => 498, //492, // 94活动ID 556 + 'activityId' => 508, //498, //492, // 94活动ID
557 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题 557 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题
558 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}', 558 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}',
559 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 559 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录
@@ -561,13 +561,20 @@ class CouponController extends HuodongAction @@ -561,13 +561,20 @@ class CouponController extends HuodongAction
561 'url_yohope' => $urlYohope . '?yohobuy={"action":"go.h5","params":{"islogin":"Y","type":0,"url":"' . $urlYohope . '","param":{}}}', 561 'url_yohope' => $urlYohope . '?yohobuy={"action":"go.h5","params":{"islogin":"Y","type":0,"url":"' . $urlYohope . '","param":{}}}',
562 'url_help' => $urlHelp . '?yohobuy={"action":"go.h5","params":{"islogin":"Y","type":0,"url":"' . $urlHelp . '","param":{}}}', 562 'url_help' => $urlHelp . '?yohobuy={"action":"go.h5","params":{"islogin":"Y","type":0,"url":"' . $urlHelp . '","param":{}}}',
563 'url_more' => $url, 563 'url_more' => $url,
  564 +// 'url_1' => 'http://list.m.yohobuy.com/?msort=1&misort=18,20,21,22&title=冬装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"18,20,21,22","title":"冬装"}}',
  565 +// 'url_2' => 'http://list.m.yohobuy.com/?msort=6&misort=45&title=靴子&openby:yohobuy={"action":"go.list","params":{"msort":"6","misort":"45","title":"靴子"}}',
  566 +// 'url_5' => 'http://list.m.yohobuy.com/?msort=1&misort=16,257&title=春装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"16,257","title":"春装"}}',
  567 +// 'url_4' => 'http://list.m.yohobuy.com/?msort=3,4&title=下装&openby:yohobuy={"action":"go.list","params":{"msort":"3,4","title":"下装"}}',
  568 +// 'url_3' => 'http://list.m.yohobuy.com/?msort=7,8&title=包配&openby:yohobuy={"action":"go.list","params":{"msort":"7,8","title":"包配"}}',
  569 +// 'url_6' => 'http://list.m.yohobuy.com/?msort=1,3,6&misort=11,28,12,46&title=反季&openby:yohobuy={"action":"go.list","params":{"msort":"1,3,6","misort":"11,28,12,46","title":"反季"}}',
  570 +
564 'url_1' => 'http://list.m.yohobuy.com/?msort=1&misort=18,20,21,22&title=冬装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"18,20,21,22","title":"冬装"}}', 571 'url_1' => 'http://list.m.yohobuy.com/?msort=1&misort=18,20,21,22&title=冬装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"18,20,21,22","title":"冬装"}}',
565 - 'url_2' => 'http://list.m.yohobuy.com/?msort=6&misort=45&title=靴子&openby:yohobuy={"action":"go.list","params":{"msort":"6","misort":"45","title":"靴子"}}',  
566 - 'url_5' => 'http://list.m.yohobuy.com/?msort=1&misort=16,257&title=春装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"16,257","title":"春装"}}', 572 + 'url_2' => 'http://list.m.yohobuy.com/?msort=1&misort=21,22,226&title=春装外套&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"18,20,21,22","title":"春装外套"}}',
  573 + 'url_3' => 'http://list.m.yohobuy.com/?msort=6&misort=45&title=靴子&openby:yohobuy={"action":"go.list","params":{"msort":"6","misort":"45","title":"靴子"}}',
567 'url_4' => 'http://list.m.yohobuy.com/?msort=3,4&title=下装&openby:yohobuy={"action":"go.list","params":{"msort":"3,4","title":"下装"}}', 574 'url_4' => 'http://list.m.yohobuy.com/?msort=3,4&title=下装&openby:yohobuy={"action":"go.list","params":{"msort":"3,4","title":"下装"}}',
568 - 'url_3' => 'http://list.m.yohobuy.com/?msort=7,8&title=包配&openby:yohobuy={"action":"go.list","params":{"msort":"7,8","title":"包配"}}',  
569 - 'url_6' => 'http://list.m.yohobuy.com/?msort=1,3,6&misort=11,28,12,46&title=反季&openby:yohobuy={"action":"go.list","params":{"msort":"1,3,6","misort":"11,28,12,46","title":"反季"}}',  
570 - 'url_7' => 'http://list.m.yohobuy.com/?msort=1&misort=18,20,21,22&title=冬装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"18,20,21,22","title":"冬装"}}', 575 + 'url_5' => 'http://list.m.yohobuy.com/?msort=7,8&title=包配&openby:yohobuy={"action":"go.list","params":{"msort":"7,8","title":"包配"}}',
  576 + 'url_6' => 'http://list.m.yohobuy.com/?msort=1&misort=16,257&title=春装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"16,257","title":"春装"}}',
  577 + 'url_7' => 'http://list.m.yohobuy.com/?msort=1,3,6&misort=11,28,12,46&title=夏装&openby:yohobuy={"action":"go.list","params":{"msort":"1,3,6","misort":"11,28,12,46","title":"夏装"}}',
571 )); 578 ));
572 } 579 }
573 580