Authored by hf

do add huodong cuxiao page two

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="telephone=no" name="format-detection">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>{{staticTitle}}</title>
<link rel="stylesheet" href="{{cssUrl}}/cuxiao/css/151201/coupon.mobile.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
(function(doc, win) {
var docEl = doc.documentElement;
(function() {
var clientWidth = docEl.clientWidth;
if (!clientWidth) {
return;
}
docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';
}());
})(document, window);
</script>
</head>
<body>
<div class="coupon-container" id="coupon-container" param="{{activityId}}" isLogged="{{isLogged}}">
<div class="coupon-hd hd3"></div>
<div class="coupon-bd">
<div class="bd-top"></div>
<div class="bd-bottom"></div>
<div class="coupon-rule">
<h2></h2>
<ul>
<li class="clearfix">
<span>如何领取</span>
<em>12.7-12.10期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>
</li>
<li class="clearfix">
<span>使用方法</span>
<em>12.7-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
</ul>
</div>
<div class="floor-header best-choice"></div>
<div class="img-coupon clearfix">
<ul class="boy2-img-coupon01">
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
<ul class="boy2-img-coupon02">
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
</div>
<div class="logo-coupon">
<ul>
<li class="boy2-logo-coupon01">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="boy2-logo-coupon02">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="boy2-logo-coupon03">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="boy2-logo-coupon04">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="boy2-logo-coupon05">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="boy2-logo-coupon06">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
</div>
<div class="floor-header top-recommend"></div>
<div class="img-coupon clearfix">
<ul class="boy2-img-coupon03">
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
<ul class="boy2-img-coupon04">
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
</div>
<div class="logo-coupon">
<ul>
<li class="boy2-logo-coupon07">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="boy2-logo-coupon08">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="boy2-logo-coupon09">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="boy2-logo-coupon10">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="boy2-logo-coupon11">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="boy2-logo-coupon12">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
</div>
</div>
<div class="coupon-ft">
<div class="other-coupon">
<a href="{{url_girls}}">女生</a>
<a href="{{url_kids}}">童装</a>
<a href="{{url_lifestyle}}">创意生活</a>
</div>
</div>
</div>
<input id="shareLink" type="hidden" value="{{shareLink}}">
<input id="shareImg" type="hidden" value="{{shareImg}}">
<input id="shareTitle" type="hidden" value="{{shareTitle}}">
<input id="shareDesc" type="hidden" value="{{shareDesc}}">
{{#if weixinShare}}
<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
{{/if}}
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/151201/coupon.mobile.1130.js"></script>
{{> layout/analysis}}
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="telephone=no" name="format-detection">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>{{staticTitle}}</title>
<link rel="stylesheet" href="{{cssUrl}}/cuxiao/css/151201/coupon.mobile.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
(function(doc, win) {
var docEl = doc.documentElement;
(function() {
var clientWidth = docEl.clientWidth;
if (!clientWidth) {
return;
}
docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';
}());
})(document, window);
</script>
</head>
<body>
<div class="coupon-container" id="coupon-container" param="{{activityId}}" isLogged="{{isLogged}}">
<div class="coupon-hd hd3"></div>
<div class="coupon-bd">
<div class="bd-top"></div>
<div class="bd-bottom"></div>
<div class="coupon-rule">
<h2></h2>
<ul>
<li class="clearfix">
<span>如何领取</span>
<em>12.7-12.10期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>
</li>
<li class="clearfix">
<span>使用方法</span>
<em>12.7-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
</ul>
</div>
<div class="floor-header best-choice"></div>
<div class="img-coupon clearfix">
<ul class="img-coupon01 girl2">
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
<ul class="img-coupon02 girl2">
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
</div>
<div class="logo-coupon">
<ul>
<li class="logo-coupon01 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon02 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon03 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon04 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon05 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon06 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
</div>
<div class="floor-header top-recommend"></div>
<div class="img-coupon clearfix">
<ul class="img-coupon03 girl2">
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
<ul class="img-coupon04 girl2">
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li>
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
</div>
<div class="logo-coupon">
<ul>
<li class="logo-coupon07 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon08 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon09 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon10 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon11 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon12 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon13 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
<li class="logo-coupon14 girl2">
<a class="enter-store" href="{{}}"></a>
<a class="get-coupon" href="{{jumpUrl}}" param=""></a>
</li>
</ul>
</div>
</div>
<div class="coupon-ft">
<div class="other-coupon">
<a href="{{url_boys}}">男生</a>
<a href="{{url_kids}}">童装</a>
<a href="{{url_lifestyle}}">创意生活</a>
</div>
</div>
</div>
<input id="shareLink" type="hidden" value="{{shareLink}}">
<input id="shareImg" type="hidden" value="{{shareImg}}">
<input id="shareTitle" type="hidden" value="{{shareTitle}}">
<input id="shareDesc" type="hidden" value="{{shareDesc}}">
<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/151201/coupon.mobile.1130.js"></script>
{{> layout/analysis}}
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -329,6 +329,192 @@ class CouponController extends HuodongAction
}
/**
* 男生的品牌领券
*/
public function boysbrand2Action()
{
// 判断是否是应用访问, 拼接APP需要的URL参数
$isApp = null !== $this->get('app_version');
$isAppLogged = true;
if ($isApp) {
$isLogged = $this->get('uid') !== null;
$isAppLogged = $this->checkIsLogin();
} else {
$isLogged = $this->getUid();
}
$urlBoys = Helpers::url('/cuxiao/coupon/boysbrand2');
$urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand2');
$urlKids = Helpers::url('/cuxiao/coupon/kidsbrand');
$urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand');
$urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare';
$urlEncode = strtr($urlBoys, array('/' => '\\/'));
$this->_view->display('boysbrand-2', array(
'activityId' => 372, // 活动ID
'staticTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', // 标题
'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录
'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlBoys . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}',
'weixinShare' => $isApp ? false : true, // 是否需要微信分享
'shareLink' => $urlBoys,
'shareTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!',
'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg',
'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!',
'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"372","share":"' . $urlShare . '","shareparam":{"share_id":"406"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}',
'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"374","share":"' . $urlShare . '","shareparam":{"share_id":"408"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}',
'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"368","share":"' . $urlShare . '","shareparam":{"share_id":"410"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}',
'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"370","share":"' . $urlShare . '","shareparam":{"share_id":"412"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}',
'url_350' => 'http://list.m.yohobuy.com/?gender=1,3&brand=350&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"350","title":"MACROPUS"}}',
'url_160' => 'http://list.m.yohobuy.com/?gender=1,3&brand=60&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"60","title":"izzue"}}',
'url_341' => 'http://list.m.yohobuy.com/?gender=1,3&brand=341&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"341","title":"鬼洗"}}',
'url_710' => 'http://list.m.yohobuy.com/?gender=1,3&brand=710&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"710","title":"MADNESS"}}',
'url_471' => 'http://list.m.yohobuy.com/?gender=1,3&brand=471&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"471","title":"DUSTY"}}',
'url_495' => 'http://list.m.yohobuy.com/?gender=1,3&brand=495&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"495","title":"Lightning Bear"}}',
'url_235' => 'http://list.m.yohobuy.com/?gender=1,3&brand=235&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"235","title":"Creamsoda"}}',
'url_583' => 'http://list.m.yohobuy.com/?gender=1,3&brand=583&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"583","title":"Master Plan"}}',
'url_402' => 'http://list.m.yohobuy.com/?gender=1,3&brand=402&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"402","title":"PROTEST博特斯"}}',
'url_720' => 'http://list.m.yohobuy.com/?gender=1,3&brand=720&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"720","title":"NBA STYLE"}}',
'url_138' => 'http://list.m.yohobuy.com/?gender=1,3&brand=138&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"138","title":"THETHING"}}',
'url_506' => 'http://list.m.yohobuy.com/?gender=1,3&brand=506&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"506","title":"FUN"}}',
'url_419' => 'http://list.m.yohobuy.com/?gender=1,3&brand=419&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"419","title":"HASO"}}',
'url_581' => 'http://list.m.yohobuy.com/?gender=1,3&brand=581&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"581","title":"S.ANGELO"}}',
'url_722' => 'http://list.m.yohobuy.com/?gender=1,3&brand=722&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"722","title":"FAIRWHALE JEANS"}}',
'url_191' => 'http://list.m.yohobuy.com/?gender=1,3&brand=191&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"191","title":"Holymoly"}}',
'url_417' => 'http://list.m.yohobuy.com/?gender=1,3&brand=417&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"417","title":"DEPOT3"}}',
'url_672' => 'http://list.m.yohobuy.com/?gender=1,3&brand=672&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"672","title":"Shapeless"}}',
'url_589' => 'http://list.m.yohobuy.com/?gender=1,3&brand=589&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"589","title":"One Republic"}}',
'url_707' => 'http://list.m.yohobuy.com/?gender=1,3&brand=707&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"707","title":"Black Scale"}}',
'url_550' => 'http://list.m.yohobuy.com/?gender=1,3&brand=550&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"550","title":"SYS.tag"}}',
'url_600' => 'http://list.m.yohobuy.com/?gender=1,3&brand=600&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"600","title":"HAPPYATOMIC"}}',
'url_152' => 'http://list.m.yohobuy.com/?gender=1,3&brand=52&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"52","title":"HEART"}}',
'url_464' => 'http://list.m.yohobuy.com/?gender=1,3&brand=464&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"464","title":"Storm Stamps"}}',
'url_102' => 'http://list.m.yohobuy.com/?gender=1,3&brand=1021&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"1021","title":"GAS"}}',
'url_851' => 'http://list.m.yohobuy.com/?gender=1,3&brand=851&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"851","title":"Reshake"}}',
'url_699' => 'http://list.m.yohobuy.com/?gender=1,3&brand=699&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"699","title":"DGK"}}',
'url_103' => 'http://list.m.yohobuy.com/?gender=1,3&brand=1023&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"1023","title":"AGAMEMNON"}}',
'url_114' => 'http://list.m.yohobuy.com/?gender=1,3&brand=114&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"114","title":"5CM"}}',
'url_847' => 'http://list.m.yohobuy.com/?gender=1,3&brand=847&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"847","title":"Clarks ORIGINALS"}}',
'url_536' => 'http://list.m.yohobuy.com/?gender=1,3&brand=536&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"536","title":"ABLE JEANS"}}',
'url_230' => 'http://list.m.yohobuy.com/?gender=1,3&brand=230&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"230","title":"Dickies"}}',
'url_343' => 'http://list.m.yohobuy.com/?gender=1,3&brand=343&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"343","title":"DC"}}',
'url_692' => 'http://list.m.yohobuy.com/?gender=1,3&brand=692&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"692","title":"TRENDIANO"}}',
'url_870' => 'http://list.m.yohobuy.com/?gender=1,3&brand=870&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"870","title":"浮士绘"}}',
'url_444' => 'http://list.m.yohobuy.com/?gender=1,3&brand=444&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"444","title":"Evildoer"}}',
'url_676' => 'http://list.m.yohobuy.com/?gender=1,3&brand=676&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"676","title":"Filter017"}}',
'url_308' => 'http://list.m.yohobuy.com/?gender=1,3&brand=308&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"308","title":"SOLO"}}',
'url_199' => 'http://list.m.yohobuy.com/?gender=1,3&brand=199&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"199","title":"ZERONE"}}',
'url_714' => 'http://list.m.yohobuy.com/?gender=1,3&brand=714&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"714","title":"threeSociety"}}',
'url_553' => 'http://list.m.yohobuy.com/?gender=1,3&brand=553&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"553","title":"DUNKELVOLK"}}',
'url_194' => 'http://list.m.yohobuy.com/?gender=1,3&brand=194&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"194","title":"New Era"}}',
'url_462' => 'http://list.m.yohobuy.com/?gender=1,3&brand=462&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"462","title":"SPRAYGROUND"}}',
'url_136' => 'http://list.m.yohobuy.com/?gender=1,3&brand=136&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"136","title":"EASTPAK"}}',
'url_641' => 'http://list.m.yohobuy.com/?gender=1,3&brand=641&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"641","title":"inmix"}}',
'url_832' => 'http://list.m.yohobuy.com/?gender=1,3&brand=832&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"832","title":"CHUMS"}}',
'url_940' => 'http://list.m.yohobuy.com/?gender=1,3&brand=940&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"940","title":"Trenta"}}',
'url_719' => 'http://list.m.yohobuy.com/?gender=1,3&brand=719&openby:yohobuy={"action":"go.list","params":{"gender":"1,3","brand":"719","title":"Rollie"}}',
));
}
/**
* 女生的品牌领券
*
* 上线时间 2015/12/7
*/
public function girlsbrand2Action()
{
// 判断是否是应用访问, 拼接APP需要的URL参数
$isApp = null !== $this->get('app_version');
$isAppLogged = true;
if ($isApp) {
$isLogged = $this->get('uid') !== null;
$isAppLogged = $this->checkIsLogin();
} else {
$isLogged = $this->getUid();
}
$urlBoys = Helpers::url('/cuxiao/coupon/boysbrand2');
$urlGirls = Helpers::url('/cuxiao/coupon/girlsbrand2');
$urlKids = Helpers::url('/cuxiao/coupon/kidsbrand');
$urlLifestyle = Helpers::url('/cuxiao/coupon/lifestylebrand');
$urlShare = Yohobuy::SERVICE_URL . '/operations/api/v5/webshare/getShare';
$urlEncode = strtr($urlGirls, array('/' => '\\/'));
$this->_view->display('girlsbrand-2', array(
'activityId' => 374, // 活动ID
'staticTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!', // 标题
'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlGirls . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}',
'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录
'weixinShare' => $isApp ? false : true, // 是否需要微信分享
'shareLink' => $urlGirls,
'shareTitle' => 'Yoho!Buy有货2015感恩季,1000万元+品牌专属优惠券大派送!',
'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/11/26/09/0226ad7f8bcf5467a789e17b761c7557e0.jpg',
'shareDesc' => '2015感恩季!品牌专属优惠券限时送!先领券,再购物,让你乐享整个冬季!',
'url_boys' => $urlBoys . '?yohobuy={"action":"go.h5","params":{"id":"372","share":"' . $urlShare . '","shareparam":{"share_id":"406"},"islogin":"N","type":0,"url":"' . $urlBoys . '","param":{}}}',
'url_girls' => $urlGirls . '?yohobuy={"action":"go.h5","params":{"id":"374","share":"' . $urlShare . '","shareparam":{"share_id":"408"},"islogin":"N","type":0,"url":"' . $urlGirls . '","param":{}}}',
'url_kids' => $urlKids . '?yohobuy={"action":"go.h5","params":{"id":"368","share":"' . $urlShare . '","shareparam":{"share_id":"410"},"islogin":"N","type":0,"url":"' . $urlKids . '","param":{}}}',
'url_lifestyle' => $urlLifestyle . '?yohobuy={"action":"go.h5","params":{"id":"370","share":"' . $urlShare . '","shareparam":{"share_id":"412"},"islogin":"N","type":0,"url":"' . $urlLifestyle . '","param":{}}}',
'url_570' => 'http://list.m.yohobuy.com/?gender=2,3&brand=570&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"570","title":"iyogurt"}}',
'url_864' => 'http://list.m.yohobuy.com/?gender=2,3&brand=868&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"868","title":"Mango"}}',
'url_824' => 'http://list.m.yohobuy.com/?gender=2,3&brand=824&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"824","title":"M.WOWL"}}',
'url_536' => 'http://list.m.yohobuy.com/?gender=2,3&brand=536&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"536","title":"ABLEJEANS"}}',
'url_257' => 'http://list.m.yohobuy.com/?gender=2,3&brand=257&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"257","title":"MYGESMART"}}',
'url_342' => 'http://list.m.yohobuy.com/?gender=2,3&brand=342&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"342","title":":CHOCOOLATE"}}',
'url_354' => 'http://list.m.yohobuy.com/?gender=2,3&brand=354&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"354","title":"CHEAPMONDAY"}}',
'url_60' => 'http://list.m.yohobuy.com/?gender=2,3&brand=60&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"60","title":"izzue"}}',
'url_324' => 'http://list.m.yohobuy.com/?gender=2,3&brand=324&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"324","title":"b+ab"}}',
'url_589' => 'http://list.m.yohobuy.com/?gender=2,3&brand=589&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"589","title":"One Republic"}}',
'url_191' => 'http://list.m.yohobuy.com/?gender=2,3&brand=191&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"191","title":"Holymoly"}}',
'url_4' => 'http://list.m.yohobuy.com/?gender=2,3&brand=4&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"4","title":"5cm"}}',
'url_768' => 'http://list.m.yohobuy.com/?gender=2,3&brand=768&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"768","title":"PH5"}}',
'url_649' => 'http://list.m.yohobuy.com/?gender=2,3&brand=649&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"649","title":"Jeffrey Campbell"}}',
'url_1026' => 'http://list.m.yohobuy.com/?gender=2,3&brand=1026&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"1026","title":"JNBY"}}',
'url_1027' => 'http://list.m.yohobuy.com/?gender=2,3&brand=1027&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"1027","title":"less"}}',
'url_481' => 'http://list.m.yohobuy.com/?gender=2,3&brand=481&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"481","title":"dresslab"}}',
'url_450' => 'http://list.m.yohobuy.com/?gender=2,3&brand=450&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"450","title":"IntoTheRainbow"}}',
'url_256' => 'http://list.m.yohobuy.com/?gender=2,3&brand=256&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"256","title":"BLACKJACK"}}',
'url_701' => 'http://list.m.yohobuy.com/?gender=2,3&brand=701&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"701","title":"Bearburry"}}',
'url_506' => 'http://list.m.yohobuy.com/?gender=2,3&brand=506&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"506","title":"FUN"}}',
'url_569' => 'http://list.m.yohobuy.com/?gender=2,3&brand=569&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"569","title":"Aline de rose"}}',
'url_981' => 'http://list.m.yohobuy.com/?gender=2,3&brand=981&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"981","title":"FUSIONCO"}}',
'url_402' => 'http://list.m.yohobuy.com/?gender=2,3&brand=402&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"402","title":"PROTEST博特斯"}}',
'url_1021' => 'http://list.m.yohobuy.com/?gender=2,3&brand=1021&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"1021","title":"GAS"}}',
'url_860' => 'http://list.m.yohobuy.com/?gender=2,3&brand=860&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"860","title":"VING"}}',
'url_435' => 'http://list.m.yohobuy.com/?gender=2,3&brand=435&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"435","title":"Dare To Dream"}}',
'url_327' => 'http://list.m.yohobuy.com/?gender=2,3&brand=327&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"327","title":"Arubafootwear"}}',
'url_505' => 'http://list.m.yohobuy.com/?gender=2,3&brand=505&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"505","title":"DEVIL NUT"}}',
'url_987' => 'http://list.m.yohobuy.com/?gender=2,3&brand=987&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"987","title":"RIBERA"}}',
'url_481' => 'http://list.m.yohobuy.com/?gender=2,3&brand=481&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"481","title":"dresslab"}}',
'url_450' => 'http://list.m.yohobuy.com/?gender=2,3&brand=450&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"450","title":"IntoTheRainbow"}}',
'url_256' => 'http://list.m.yohobuy.com/?gender=2,3&brand=256&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"256","title":"BLACKJACK"}}',
'url_738' => 'http://list.m.yohobuy.com/?gender=2,3&brand=738&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"738","title":"Juni&Juli"}}',
'url_947' => 'http://list.m.yohobuy.com/?gender=2,3&brand=947&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"947","title":"LONSDALE龙狮戴尔"}}',
'url_760' => 'http://list.m.yohobuy.com/?gender=2,3&brand=760&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"760","title":"bread n butter"}}',
'url_738' => 'http://list.m.yohobuy.com/?gender=2,3&brand=738&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"738","title":"Juni&Juli"}}',
'url_778' => 'http://list.m.yohobuy.com/?gender=2,3&brand=778&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"778","title":"SLY"}}',
'url_570' => 'http://list.m.yohobuy.com/?gender=2,3&brand=570&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"570","title":"iyogurt"}}',
'url_868' => 'http://list.m.yohobuy.com/?gender=2,3&brand=868&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"868","title":"Mango"}}',
'url_824' => 'http://list.m.yohobuy.com/?gender=2,3&brand=824&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"824","title":"M.WOWL"}}',
'url_1031' => 'http://list.m.yohobuy.com/?gender=2,3&brand=1031&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"1031","title":"WHERE WHAT WHO 互然"}}',
'url_734' => 'http://list.m.yohobuy.com/?gender=2,3&brand=734&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"734","title":"Dear栗"}}',
'url_713' => 'http://list.m.yohobuy.com/?gender=2,3&brand=713&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"713","title":"D-mop"}}',
'url_380' => 'http://list.m.yohobuy.com/?gender=2,3&brand=380&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"380","title":"supreme-lala"}}',
'url_909' => 'http://list.m.yohobuy.com/?gender=2,3&brand=909&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"909","title":"清茶 Clear Tea"}}',
'url_524' => 'http://list.m.yohobuy.com/?gender=2,3&brand=524&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"524","title":"I LOVE CHOC"}}',
'url_968' => 'http://list.m.yohobuy.com/?gender=2,3&brand=968&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"968","title":"Activate water"}}',
'url_517' => 'http://list.m.yohobuy.com/?gender=2,3&brand=517&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"517","title":"T.U.K"}}',
'url_419' => 'http://list.m.yohobuy.com/?gender=2,3&brand=419&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"419","title":"HASO"}}',
'url_1026' => 'http://list.m.yohobuy.com/?gender=2,3&brand=1026&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"1026","title":"JNBY"}}',
'url_1027' => 'http://list.m.yohobuy.com/?gender=2,3&brand=1027&openby:yohobuy={"action":"go.list","params":{"gender":"2,3","brand":"1027","title":"less"}}',
));
}
/**
* 新客领券
*
* 上线时间2015/12/2
... ...