do add cuxiao christmas page
Showing
3 changed files
with
25 additions
and
18 deletions
@@ -59,8 +59,8 @@ | @@ -59,8 +59,8 @@ | ||
59 | </div> | 59 | </div> |
60 | <div class="img-box"> | 60 | <div class="img-box"> |
61 | <img src="{{jsUrl}}/cuxiao/img/newuser2/09.jpg"> | 61 | <img src="{{jsUrl}}/cuxiao/img/newuser2/09.jpg"> |
62 | - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12042"></span> | ||
63 | - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12043"></span> | 62 | + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="16753"></span> |
63 | + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="16755"></span> | ||
64 | </div> | 64 | </div> |
65 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | 65 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> |
66 | <div class="img-box"> | 66 | <div class="img-box"> |
@@ -70,8 +70,8 @@ | @@ -70,8 +70,8 @@ | ||
70 | </div> | 70 | </div> |
71 | <div class="img-box"> | 71 | <div class="img-box"> |
72 | <img src="{{jsUrl}}/cuxiao/img/newuser2/11.jpg"> | 72 | <img src="{{jsUrl}}/cuxiao/img/newuser2/11.jpg"> |
73 | - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12044"></span> | ||
74 | - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12045"></span> | 73 | + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="16757"></span> |
74 | + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="16759"></span> | ||
75 | </div> | 75 | </div> |
76 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | 76 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> |
77 | <div class="img-box"> | 77 | <div class="img-box"> |
@@ -81,8 +81,8 @@ | @@ -81,8 +81,8 @@ | ||
81 | </div> | 81 | </div> |
82 | <div class="img-box"> | 82 | <div class="img-box"> |
83 | <img src="{{jsUrl}}/cuxiao/img/newuser2/13.jpg"> | 83 | <img src="{{jsUrl}}/cuxiao/img/newuser2/13.jpg"> |
84 | - <span class="href href-left get-coupon" onclick="" href="{{jumpUrl}}" param="12046"></span> | ||
85 | - <span class="href href-right get-coupon" onclick="" href="{{jumpUrl}}" param="12047"></span> | 84 | + <span class="href href-left get-coupon" onclick="" href="{{jumpUrl}}" param="16761"></span> |
85 | + <span class="href href-right get-coupon" onclick="" href="{{jumpUrl}}" param="16763"></span> | ||
86 | </div> | 86 | </div> |
87 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | 87 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> |
88 | <div class="img-box"> | 88 | <div class="img-box"> |
@@ -92,8 +92,8 @@ | @@ -92,8 +92,8 @@ | ||
92 | </div> | 92 | </div> |
93 | <div class="img-box"> | 93 | <div class="img-box"> |
94 | <img src="{{jsUrl}}/cuxiao/img/newuser2/15.jpg"> | 94 | <img src="{{jsUrl}}/cuxiao/img/newuser2/15.jpg"> |
95 | - <span class="href href-left get-coupon" onclick="" href="{{jumpUrl}}" param="12048"></span> | ||
96 | - <span class="href href-right get-coupon" onclick="" href="{{jumpUrl}}" param="12049"></span> | 95 | + <span class="href href-left get-coupon" onclick="" href="{{jumpUrl}}" param="16765"></span> |
96 | + <span class="href href-right get-coupon" onclick="" href="{{jumpUrl}}" param="16767"></span> | ||
97 | </div> | 97 | </div> |
98 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | 98 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> |
99 | <div class="img-box"> | 99 | <div class="img-box"> |
@@ -103,8 +103,8 @@ | @@ -103,8 +103,8 @@ | ||
103 | </div> | 103 | </div> |
104 | <div class="img-box"> | 104 | <div class="img-box"> |
105 | <img src="{{jsUrl}}/cuxiao/img/newuser2/17.jpg"> | 105 | <img src="{{jsUrl}}/cuxiao/img/newuser2/17.jpg"> |
106 | - <span class="href href-left get-coupon" href="{{jumpUrl}}" param="12050"></span> | ||
107 | - <span class="href href-right get-coupon" href="{{jumpUrl}}" param="12051"></span> | 106 | + <span class="href href-left get-coupon" href="{{jumpUrl}}" param="16769"></span> |
107 | + <span class="href href-right get-coupon" href="{{jumpUrl}}" param="16771"></span> | ||
108 | </div> | 108 | </div> |
109 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> | 109 | <img src="{{jsUrl}}/cuxiao/img/newuser2/line-1.jpg"> |
110 | <div class="img-box"> | 110 | <div class="img-box"> |
@@ -101,7 +101,7 @@ class ChristmasController extends HuodongAction | @@ -101,7 +101,7 @@ class ChristmasController extends HuodongAction | ||
101 | 'shareLink' => 'http://feature.yohobuy.com/0/0/701/index.html', | 101 | 'shareLink' => 'http://feature.yohobuy.com/0/0/701/index.html', |
102 | 'shareTitle' => 'YOHO!BUY有货【潮集圣诞】第二弹来袭!1000元优惠券引爆圣诞!', | 102 | 'shareTitle' => 'YOHO!BUY有货【潮集圣诞】第二弹来袭!1000元优惠券引爆圣诞!', |
103 | 'shareDesc' => '万件潮品限时5折封顶,冬季优品最高直减800元,还有惊喜圣诞礼物等你来挑哦!', | 103 | 'shareDesc' => '万件潮品限时5折封顶,冬季优品最高直减800元,还有惊喜圣诞礼物等你来挑哦!', |
104 | - 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/12/10/09/029fd41969b67002126ff7a71fe5396b6e.png', | 104 | + 'shareImg' => 'http://img11.static.yhbimg.com/couponImg/2015/12/17/09/014bba1e01a0aef86fa4c81f1c926a0d62.png', |
105 | 'showPopupFlag' => $showPopupFlag, | 105 | 'showPopupFlag' => $showPopupFlag, |
106 | 'myCouponUrl' => $myCouponUrl, | 106 | 'myCouponUrl' => $myCouponUrl, |
107 | 'bannerUrl_1' => 'http://feature.yoho.cn/1211/1211APPHOMEBOY/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"潮集圣诞","url":"http://feature.yoho.cn/1211/1211APPHOMEBOY/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"454"},"param":{"share_id":"454"}}}', | 107 | 'bannerUrl_1' => 'http://feature.yoho.cn/1211/1211APPHOMEBOY/index.html?openby:yohobuy={"action":"go.h5","params":{"title":"潮集圣诞","url":"http://feature.yoho.cn/1211/1211APPHOMEBOY/index.html?","share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"454"},"param":{"share_id":"454"}}}', |
@@ -503,9 +503,7 @@ class CouponController extends HuodongAction | @@ -503,9 +503,7 @@ class CouponController extends HuodongAction | ||
503 | } | 503 | } |
504 | 504 | ||
505 | /** | 505 | /** |
506 | - * 新客领券2 | ||
507 | - * | ||
508 | - * | 506 | + * 新客领券(第二波)12月21号上线 |
509 | */ | 507 | */ |
510 | public function newuser2Action() | 508 | public function newuser2Action() |
511 | { | 509 | { |
@@ -523,12 +521,21 @@ class CouponController extends HuodongAction | @@ -523,12 +521,21 @@ class CouponController extends HuodongAction | ||
523 | $urlHelp = Helpers::url('/cuxiao/coupon/help'); | 521 | $urlHelp = Helpers::url('/cuxiao/coupon/help'); |
524 | $urlMycoupon = Helpers::url('/home/coupons', null, 'default'); | 522 | $urlMycoupon = Helpers::url('/home/coupons', null, 'default'); |
525 | $urlEncode = strtr($urlNewuser, array('/' => '\\/')); | 523 | $urlEncode = strtr($urlNewuser, array('/' => '\\/')); |
526 | - $gender = $this->get('gender', '1,3'); | ||
527 | - $channel = $this -> get('yh_channel','1'); | ||
528 | - $url = Helpers::url('/boys') . '?openbuy:yohobuy={"action":"go.home","params":{"gender":"' . $gender . '","channel":"' . $channel . '"}}'; | 524 | + $channel = $this -> get('yh_channel', '1'); |
525 | + switch (strval($channel)) { | ||
526 | + case '1': | ||
527 | + $gender = '1,3'; | ||
528 | + break; | ||
529 | + case '2': | ||
530 | + $gender = '2,3'; | ||
531 | + break; | ||
532 | + default: | ||
533 | + $gender = '1,2,3'; | ||
534 | + } | ||
535 | + $url = Helpers::url('/boys', array(), 'default') . '?openbuy:yohobuy={"action":"go.home","params":{"gender":"' . $gender . '","channel":"' . $channel . '"}}'; | ||
529 | 536 | ||
530 | $this->_view->display('newuser2', array( | 537 | $this->_view->display('newuser2', array( |
531 | - 'activityId' => 87, // 活动ID | 538 | + 'activityId' => 444, // 活动ID |
532 | 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题 | 539 | 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题 |
533 | 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}', | 540 | 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}', |
534 | 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 | 541 | 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 |
-
Please register or login to post a comment