Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
ce82dba480f662d5ebdb1fb37d19c10f2be0a3c9
2 parents
6834ae58
efb98d93
Merge branch 'release/5.5' of git.yoho.cn:fe/yohobuy-node into release/5.5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
9 deletions
apps/home/models/coupons-model.js
public/js/header.js
public/scss/home/_coupons.css
apps/home/models/coupons-model.js
View file @
ce82dba
...
...
@@ -65,7 +65,6 @@ const getCouponsList = (uid, type, page, limit)=>{
if
(
limits
.
indexOf
(
'2'
)
>=
0
)
{
extra
.
push
(
'限量'
);
}
delete
item
.
isNoLimit
;
result
[
i
].
extraPro
=
extra
.
join
(
'、'
);
result
[
i
].
isNoLimit
=
item
.
isNoLimit
===
'true'
?
true
:
false
;
...
...
public/js/header.js
View file @
ce82dba
...
...
@@ -928,7 +928,7 @@ function actionAddKeyWords() {
function
searchSuggestHistory
()
{
var
param
=
{
return_type
:
'jsonp'
,
query
:
encodeURIComponent
(
window
.
queryString
().
query
.
replace
(
/
\+
/ig
,
' '
))
query
:
encodeURIComponent
(
(
window
.
queryString
().
query
||
''
)
.
replace
(
/
\+
/ig
,
' '
))
};
if
(
$searchKey
.
attr
(
'alt'
))
{
...
...
@@ -1014,9 +1014,6 @@ function searchSuggestRecommend(channel, key) {
*/
$
(
function
()
{
searchSuggestRecommend
();
if
(
location
.
href
.
indexOf
(
'www.yohobuy.com'
)
<
0
)
{
searchSuggestHistory
();
}
});
actionCover
();
...
...
public/scss/home/_coupons.css
View file @
ce82dba
...
...
@@ -14,7 +14,7 @@
.coupons-name
{
width
:
240px
;
}
.coupons-info
{
width
:
388px
;
...
...
@@ -72,7 +72,7 @@
width
:
240px
;
height
:
80px
;
color
:
#fff
;
&.coupons-notuse
{
background-image
:
resolve
(
home
/
notuse
.
png
);
...
...
@@ -95,7 +95,7 @@
.coupons-num
{
margin-top
:
10px
;
.coupons-sht
{
width
:
70px
;
...
...
@@ -111,6 +111,7 @@
margin-left
:
5px
;
line-height
:
23px
;
text-align
:
left
;
overflow
:
hidden
;
}
}
}
...
...
@@ -172,4 +173,4 @@
background
:
#e8044f
;
}
}
}
\ No newline at end of file
}
...
...
Please
register
or
login
to post a comment