Authored by hf

Merge branch 'coupon/hf'

Showing 16 changed files with 80 additions and 15 deletions
... ... @@ -31,7 +31,7 @@
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css">
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -65,6 +65,10 @@
<em>12.1-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -31,7 +31,7 @@
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css">
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -65,6 +65,10 @@
<em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -31,7 +31,7 @@
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css">
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -65,6 +65,10 @@
<em>12.1-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -31,7 +31,7 @@
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css">
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -65,6 +65,10 @@
<em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -31,7 +31,7 @@
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css">
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -65,6 +65,10 @@
<em>12.7-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -31,7 +31,7 @@
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css">
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -65,6 +65,10 @@
<em>12.7-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -187,9 +187,9 @@ a:focus {
margin: 0.625rem auto 0;
padding: 0.425rem 0 0;
width: 14.525rem;
height: 6.3rem;
height: 8.175rem;
font-size: 0;
background: url('../../img/151201/rule-bg.png?1448607853');
background: url('../../img/151201/rule-bg2.png?1448607853');
background-size: 100% auto;
}
/* line 71, ../sass/coupon-mobile.scss */
... ...
... ... @@ -212,7 +212,7 @@ function getNamedCoupon(activityId, couponId, isApp, userIsLogged)
return;
}
if (data.code == 200) {
showTip('恭喜你成功领取品牌优惠券');
showTip('恭喜你成功领取优惠券!<br><br>稍后即会到账,请耐心等待。');
}
else if (data.code == 201) {
showTip('你已领取过品牌优惠券<br><br>快去选购心仪的商品吧!');
... ...
... ... @@ -8,7 +8,7 @@
<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="stylesheet" href="{{cssUrl}}/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -42,6 +42,10 @@
<em>12.7-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -8,7 +8,7 @@
<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="stylesheet" href="{{cssUrl}}/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -42,6 +42,10 @@
<em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -8,7 +8,7 @@
<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="stylesheet" href="{{cssUrl}}/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -42,6 +42,10 @@
<em>12.7-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -8,7 +8,7 @@
<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="stylesheet" href="{{cssUrl}}/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -42,6 +42,10 @@
<em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -8,7 +8,7 @@
<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="stylesheet" href="{{cssUrl}}/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -42,6 +42,10 @@
<em>12.1-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -8,7 +8,7 @@
<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="stylesheet" href="{{cssUrl}}/cuxiao/css/151201/coupon.mobile.1201.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
... ... @@ -42,6 +42,10 @@
<em>12.1-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>温馨提示</span>
<em>优惠券领取后,到账会有延迟,请耐心等待。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
... ...
... ... @@ -272,6 +272,11 @@ class IndexController extends AbstractAction
*/
public function clearAction()
{
$key = $this->get('key');
if ($key !== '9646abcdef') {
exit();
}
$type = $this->get('type');
switch (strval($type)) {
case 'boys':
... ... @@ -295,6 +300,18 @@ class IndexController extends AbstractAction
Cache::delete('60bb7899f49b3549dde438ac53526dea');
Cache::delete('9085ba21ac3d4f849c977da37a290a23');
break;
case 'new':
Cache::delete(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX . '3cf2c1be5217fbab6009ce83959e1e12');
Cache::delete(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX . '1cf7f9f10e2a2670e73d05c568793ad9');
Cache::delete(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX . '57457adececa6c748b29c90cad0ae940');
Cache::delete(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_INDEX . '04953a61cbf1db426a681e55d496d2fe');
break;
case 'sale':
Cache::delete(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT . '153180b9a88c0b565848850c523bb637');
Cache::delete(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT . '0b2d133419a0f7c381306fd3522365e1');
Cache::delete(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT . 'de23648d28ee1e8a3f087a9dbac506f8');
Cache::delete(CacheConfig::KEY_ACTION_PRODUCT_NEWSALE_DISCOUNT . '01269e498ff5b07756e0733ec0e88c75');
break;
}
}
... ...