Authored by hf

code review by fei.hong : modify to change newuser huodong coupon

... ... @@ -373,7 +373,7 @@ server
}
## since 2016/01/23
location ^~ /shopping/pay/alipay {
location ^~ /shopping/pay/index {
proxy_redirect off;
proxy_pass http://yohobuy;
proxy_set_header Host $host;
... ...
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{{staticTitle}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<style>
*{margin: 0;padding: 0;}
#coupon-container {width: 100%;}
#coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;}
.img-box {width: 100%;position: relative;}
.img-box .href {width: 50%; height: 100%;position: absolute;top: 0;}
.img-box .href-left {left: 0}
.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;}
</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">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/05-a.jpg">
<a class="href href-right" href="{{url_yohope}}"></a>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/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/160107/07.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/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="17443"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="17445"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/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="17463"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="17451"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/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>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/13.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="17461"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="17459"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/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>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/15.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="17453"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="17455"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/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>
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/17.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="17449"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/24-1.jpg">
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/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">
</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>
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -44,8 +44,8 @@
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/09.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="17443"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="17445"></span>
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18281"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18283"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<div class="img-box">
... ... @@ -55,8 +55,8 @@
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/11.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="17463"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="17451"></span>
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18289"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18293"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<div class="img-box">
... ... @@ -66,8 +66,8 @@
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/13.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="17461"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="17459"></span>
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18295"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18291"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<div class="img-box">
... ... @@ -77,8 +77,8 @@
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/15.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="17453"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="17455"></span>
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18297"></span>
<span class="href href-right get-coupon" href="{{jumpUrl}}" param="18299"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
<div class="img-box">
... ... @@ -87,7 +87,7 @@
</div>
<div class="img-box">
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/17.jpg">
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="17449"></span>
<span class="href href-left get-coupon" href="{{jumpUrl}}" param="18301"></span>
</div>
<img src="{{jsUrl}}/cuxiao/img/newuser/160107/line-1.jpg">
... ...
... ... @@ -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' => 472, // 94活动ID
'activityId' => 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', // 标识是否登录
... ...