Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
uedxwg
2015-11-27 10:25:42 +0800
Commit
e30300082a344f835e18fc98dbaee98f198743de
1 parent
0280c0e0
update
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
3 deletions
framework
static/img/me/employ/employsy.png
static/js/me/coupons.js
static/sass/me/_coupons.scss
template/m.yohobuy.com/actions/index/home/coupons.phtml
yohobuy/m.yohobuy.com/application/controllers/Home.php
framework
@
75bbc3b0
Subproject commit
e9d066dd88a8e7e37103021c427a205a5cfcdcec
Subproject commit
75bbc3b075de19f239532f60c5995d06c5f814e2
...
...
static/img/me/employ/employsy.png
0 → 100644
View file @
e303000
8.88 KB
static/js/me/coupons.js
View file @
e303000
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
)
{
...
...
static/sass/me/_coupons.scss
View file @
e303000
...
...
@@ -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
;
...
...
template/m.yohobuy.com/actions/index/home/coupons.phtml
View file @
e303000
...
...
@@ -22,6 +22,7 @@
<span>
{
{
money
}
}</span>
<p>
{
{
coupon_name
}
}</p>
<p>
{
{
couponValidity
}
}</p>
<i></i>
</div>
{
{/
unused
}
}
{
{^
unused
}
}
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
e303000
...
...
@@ -243,7 +243,7 @@ class HomeController extends AbstractAction
'couponsUrl'
=>
UserModel
::
getCouponData
(
$uid
),
'couponsPage'
=>
true
);
$coupons
[
'pageFooter'
]
=
true
;
$this
->
_view
->
display
(
'coupons'
,
$coupons
);
}
...
...
Please
register
or
login
to post a comment