Authored by hf

code review by fei.hong : do huodong coupon newuser 4

Showing 33 changed files with 102 additions and 98 deletions
... ... @@ -21,88 +21,90 @@
</head>
<body>
<div id="coupon-container" param="{{activityId}}" isLogged="{{isLogged}}">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/01.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/02.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/03.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/04.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/01.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/02.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/03.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/04.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/05.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/05.jpg">
<a class="href href-right" href="{{url_yohope}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/06.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/06.jpg">
<a class="href href-center" href="{{url_mycoupon}}"></a>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/07.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/07.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/08.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/08.jpg">
<a class="href href-left" href="{{url_more}}"></a>
<a class="href href-right" href="{{url_more}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/09.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="12130"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="12131"></span>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/09.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="12258"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="12259"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/10.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/10.jpg">
<a class="href href-left" href="{{url_more}}"></a>
<a class="href href-right" href="{{url_1}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/11.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="12132"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="12134"></span>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/11.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="12260"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="12261"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/12.jpg">
<a class="href href-left" href="{{url_2}}"></a>
<a class="href href-right" href="{{url_3}}"></a>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/12.jpg">
<a class="href href-left" href="{{url_1}}"></a>
<a class="href href-right" href="{{url_2}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/13.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="12138"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="12137"></span>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/13.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="12262"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="12263"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/14.jpg">
<a class="href href-left" href="{{url_4}}"></a>
<a class="href href-right" href="{{url_5}}"></a>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/14.jpg">
<a class="href href-left" href="{{url_3}}"></a>
<a class="href href-right" href="{{url_4}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/15.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="12135"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="12136"></span>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/15.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="12264"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="12265"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/16.jpg">
<a class="href href-left" href="{{url_6}}"></a>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/16.jpg">
<a class="href href-left" href="{{url_5}}"></a>
<a class="href href-right" href="{{url_6}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/17.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="12133"></span>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/17.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="12266"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="12267"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/24-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/24-2.jpg">
<a class="show-more" href="{{url_help}}"></a>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-3.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-3.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/26.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/27.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/24-3.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/25-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/25-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/25-3.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/26.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/27.jpg">
</div>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/newuser/coupon2.js"></script>
... ...
... ... @@ -14,95 +14,97 @@
.img-box .href-right {right: 0}
.img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;}
.show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;}
.yoho-tip {position: fixed;display: none;text-align: center;width: 70%;padding: 34px 0;top: 50%;left: 50%;margin-left: -35%;margin-top: -45px;background-color: #000;opacity: 0.9;color: #fff;font-size: 18px;border: none;border-radius: 10px;}
.yoho-tip {position: fixed;display: none;textlign: center;width: 70%;padding: 34px 0;top: 50%;left: 50%;margin-left: -35%;margin-top: -45px;background-color: #000;opacity: 0.9;color: #fff;font-size: 18px;border: none;border-radius: 10px;}
</style>
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
</head>
<body>
<div id="coupon-container" param="{{activityId}}" isLogged="{{isLogged}}">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/01.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/02.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/03-a.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/04-a.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/01.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/02.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/03.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/04.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/05-a.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/05.jpg">
<a class="href href-right" href="{{url_yohope}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/06.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/06.jpg">
<a class="href href-center" href="{{url_mycoupon}}"></a>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/07.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/07.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/08.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/08.jpg">
<a class="href href-left" href="{{url_more}}"></a>
<a class="href href-right" href="{{url_more}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/09.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18281"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18283"></span>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/09.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18719"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18723"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/10.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/10.jpg">
<a class="href href-left" href="{{url_more}}"></a>
<a class="href href-right" href="{{url_1}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/11.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18289"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18293"></span>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/11.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18725"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18727"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/12.jpg">
<a class="href href-left" href="{{url_2}}"></a>
<a class="href href-right" href="{{url_3}}"></a>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/12.jpg">
<a class="href href-left" href="{{url_1}}"></a>
<a class="href href-right" href="{{url_2}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/13.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18295"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18291"></span>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/13.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18717"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18729"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/14.jpg">
<a class="href href-left" href="{{url_4}}"></a>
<a class="href href-right" href="{{url_5}}"></a>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/14.jpg">
<a class="href href-left" href="{{url_3}}"></a>
<a class="href href-right" href="{{url_4}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/15.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18297"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18299"></span>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/15.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18731"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18733"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/16.jpg">
<a class="href href-left" href="{{url_6}}"></a>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/16.jpg">
<a class="href href-left" href="{{url_5}}"></a>
<a class="href href-right" href="{{url_6}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/17.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18301"></span>
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/17.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18735"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18737"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/24-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/24-2.jpg">
<a class="show-more" href="{{url_help}}"></a>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-3.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-1-a.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-2-a.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/25-3-a.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/26-a.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/27-a.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/24-3.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/25-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/25-2.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/25-3.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/26.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160219/27.jpg">
</div>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/newuser/coupon2.js"></script>
... ...
... ... @@ -553,7 +553,7 @@ class CouponController extends HuodongAction
$url = Helpers::url('/boys', array(), 'default') . '?openby:yohobuy={"action":"go.home","params":{"gender":"' . $gender . '","channel":"' . $channel . '"}}';
$this->_view->display('newuser3', array(
'activityId' => 492, // 94活动ID
'activityId' => 498, //492, // 94活动ID
'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题
'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}',
'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录
... ... @@ -563,9 +563,9 @@ class CouponController extends HuodongAction
'url_more' => $url,
'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":"冬装"}}',
'url_2' => 'http://list.m.yohobuy.com/?msort=6&misort=45&title=靴子&openby:yohobuy={"action":"go.list","params":{"msort":"6","misort":"45","title":"靴子"}}',
'url_3' => 'http://list.m.yohobuy.com/?msort=1&misort=16,257&title=春装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"16,257","title":"春装"}}',
'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":"春装"}}',
'url_4' => 'http://list.m.yohobuy.com/?msort=3,4&title=下装&openby:yohobuy={"action":"go.list","params":{"msort":"3,4","title":"下装"}}',
'url_5' => 'http://list.m.yohobuy.com/?msort=7,8&title=包配&openby:yohobuy={"action":"go.list","params":{"msort":"7,8","title":"包配"}}',
'url_3' => 'http://list.m.yohobuy.com/?msort=7,8&title=包配&openby:yohobuy={"action":"go.list","params":{"msort":"7,8","title":"包配"}}',
'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":"反季"}}',
));
}
... ...