Authored by uedxwg

update

framework @ 75bbc3b0
Subproject commit e9d066dd88a8e7e37103021c427a205a5cfcdcec
Subproject commit 75bbc3b075de19f239532f60c5995d06c5f814e2
... ...
var $ = require('jquery'),
Hammer = require('yoho.hammer');
var employ;
$('#yoho-footer').css('position','static');
$('.employ span').each(function(index) {
employ = new Hammer($('.employ span')[index]);
employ.on('tap', function(e) {
... ...
... ... @@ -34,6 +34,7 @@
background: image-url('me/employ/employ.jpg') top center no-repeat;
background-size: 100% 100%;
color: #fff;
position: relative;
span{
width: 34.482759%;
height: 100%;
... ... @@ -52,6 +53,17 @@
font-size: 60em / $pxConvertRem;
}
}
i{
width: 100%;
height: 100%;
overflow: hidden;
display: block;
position: absolute;
top: 0;
left: 0;
background: image-url('me/employ/employsy.png') right top no-repeat;
background-size:auto 100%;
}
}
.null{
text-align: center;
... ...
... ... @@ -22,6 +22,7 @@
<span>{{ money}}</span>
<p>{{ coupon_name}}</p>
<p>{{ couponValidity}}</p>
<i></i>
</div>
{{/ unused}}
{{^ unused}}
... ...
... ... @@ -243,7 +243,7 @@ class HomeController extends AbstractAction
'couponsUrl' => UserModel::getCouponData($uid),
'couponsPage' => true
);
$coupons['pageFooter'] = true;
$this->_view->display('coupons', $coupons);
}
... ...