Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
uedxwg
9 years ago
Commit
450bc93a1bc556e480701de94b3f6b019834f07c
1 parent
0ca90c6b
update
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
static/js/me/coupons.js
static/sass/me/_coupons.scss
static/js/me/coupons.js
View file @
450bc93
var
$
=
require
(
'jquery'
),
Hammer
=
require
(
'yoho.hammer'
);
Hammer
=
require
(
'yoho.hammer'
),
ellipsis
=
require
(
'mlellipsis'
);
var
employ
;
ellipsis
.
init
();
//Żȯ2ʾ
setTimeout
(
function
()
{
$
(
'.coupon-name'
).
each
(
function
()
{
this
.
mlellipsis
(
2
);
});
},
0
);
window
.
rePosFooter
();
$
(
'.yoho-footer'
).
css
(
'border-top'
,
'1px solid #e0e0e0'
);
$
(
'.employ span'
).
each
(
function
(
index
)
{
...
...
static/sass/me/_coupons.scss
View file @
450bc93
.employ
{
width
:
100%
;
height
:
90rem
/
$pxConvertRem
;
overflow
:
hidden
;
border-bottom
:
1px
solid
#e0e0e0
;
position
:
relative
;
span
{
...
...
@@ -73,7 +73,7 @@
position
:
absolute
;
left
:
0
;
top
:
50%
;
@include
transform
(
translateY
(
-
6
0%
));
@include
transform
(
translateY
(
-
5
0%
));
i
{
width
:
100%
;
height
:
120rem
/
$pxConvertRem
;
...
...
@@ -101,7 +101,7 @@
background
:
#444444
;
color
:
#fff
;
text-align
:
center
;
margin
:
32em
/
$pxConvertRem
auto
;
margin
:
60rem
/
$pxConvertRem
auto
0
;
@include
border-radius
(
.2rem
);
}
...
...
Please
register
or
login
to post a comment