Authored by uedxwg

update

framework @ 75bbc3b0
1 -Subproject commit e9d066dd88a8e7e37103021c427a205a5cfcdcec 1 +Subproject commit 75bbc3b075de19f239532f60c5995d06c5f814e2
1 var $ = require('jquery'), 1 var $ = require('jquery'),
2 Hammer = require('yoho.hammer'); 2 Hammer = require('yoho.hammer');
3 var employ; 3 var employ;
4 - 4 +$('#yoho-footer').css('position','static');
5 $('.employ span').each(function(index) { 5 $('.employ span').each(function(index) {
6 employ = new Hammer($('.employ span')[index]); 6 employ = new Hammer($('.employ span')[index]);
7 employ.on('tap', function(e) { 7 employ.on('tap', function(e) {
@@ -34,6 +34,7 @@ @@ -34,6 +34,7 @@
34 background: image-url('me/employ/employ.jpg') top center no-repeat; 34 background: image-url('me/employ/employ.jpg') top center no-repeat;
35 background-size: 100% 100%; 35 background-size: 100% 100%;
36 color: #fff; 36 color: #fff;
  37 + position: relative;
37 span{ 38 span{
38 width: 34.482759%; 39 width: 34.482759%;
39 height: 100%; 40 height: 100%;
@@ -52,6 +53,17 @@ @@ -52,6 +53,17 @@
52 font-size: 60em / $pxConvertRem; 53 font-size: 60em / $pxConvertRem;
53 } 54 }
54 } 55 }
  56 + i{
  57 + width: 100%;
  58 + height: 100%;
  59 + overflow: hidden;
  60 + display: block;
  61 + position: absolute;
  62 + top: 0;
  63 + left: 0;
  64 + background: image-url('me/employ/employsy.png') right top no-repeat;
  65 + background-size:auto 100%;
  66 + }
55 } 67 }
56 .null{ 68 .null{
57 text-align: center; 69 text-align: center;
@@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@
22 <span>{{ money}}</span> 22 <span>{{ money}}</span>
23 <p>{{ coupon_name}}</p> 23 <p>{{ coupon_name}}</p>
24 <p>{{ couponValidity}}</p> 24 <p>{{ couponValidity}}</p>
  25 + <i></i>
25 </div> 26 </div>
26 {{/ unused}} 27 {{/ unused}}
27 {{^ unused}} 28 {{^ unused}}
@@ -243,7 +243,7 @@ class HomeController extends AbstractAction @@ -243,7 +243,7 @@ class HomeController extends AbstractAction
243 'couponsUrl' => UserModel::getCouponData($uid), 243 'couponsUrl' => UserModel::getCouponData($uid),
244 'couponsPage' => true 244 'couponsPage' => true
245 ); 245 );
246 - 246 + $coupons['pageFooter'] = true;
247 $this->_view->display('coupons', $coupons); 247 $this->_view->display('coupons', $coupons);
248 } 248 }
249 249