Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
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
9 years ago
Commit
2d26a8889879796aee87f1bd4d6cee8c68680549
1 parent
1a3b6556
upadte
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
static/js/product/newsale/hot-rank.js
static/sass/me/_coupons.scss
static/js/product/newsale/hot-rank.js
View file @
2d26a88
...
...
@@ -11,7 +11,8 @@ var page = 1,
navSwiper
,
notab
=
0
,
sort
=
''
,
id
=
''
;
id
=
''
,
noResult
=
'<p class="no-result">未找到相关搜索结果</p>'
;
function
hotrank
(
page
,
sort
,
tabId
,
notab
)
{
loading
.
showLoadingMask
();
...
...
@@ -28,7 +29,11 @@ function hotrank(page, sort, tabId, notab) {
if
(
page
===
1
)
{
$
(
'.rank-main'
).
remove
();
}
$
(
'#hotRank'
).
append
(
data
);
if
(
data
===
' '
){
$
(
'#hotRank'
).
html
(
noResult
)
}
else
{
$
(
'#hotRank'
).
append
(
data
);
}
lazyLoad
(
$
(
'img.lazy'
));
$
(
'.rank-main ul li:gt(2)'
).
find
(
'.item-content i'
).
removeClass
(
'top'
);
winH
=
$
(
window
).
height
();
...
...
static/sass/me/_coupons.scss
View file @
2d26a88
...
...
@@ -45,12 +45,11 @@
p
{
width
:
55
.517241%
;
height
:
auto
;
padding
:
0
5%
1
0
em
/
$pxConvertRem
;;
padding
:
0
5%
1
8
em
/
$pxConvertRem
;;
float
:
left
;
font-size
:
44em
/
$pxConvertRem
;
&
:first-of-type
{
padding-top
:
30em
/
$pxConvertRem
;
font-size
:
60
em
/
$pxConvertRem
;
font-size
:
56
em
/
$pxConvertRem
;
}
}
}
...
...
Please
register
or
login
to post a comment