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
128f5cdc663ba87c222ab2e6a209165b4ad210a5
2 parents
9dacf951
bbcb3d33
Merge branch 'feature/searchRecommendLength' into feature/tdk313
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
apps/product/models/search.js
apps/product/models/search.js
View file @
128f5cd
...
...
@@ -294,7 +294,8 @@ exports.getSearchLessProduct = (channelNum, uid, udid, page) => {
img
:
it
.
default_images
?
helpers
.
image
(
it
.
default_images
,
180
,
240
)
:
''
,
alt
:
it
.
product_name
,
price
:
'¥'
+
transPrice
(
it
.
sales_price
),
marketPrice
:
'¥'
+
transPrice
(
it
.
market_price
)
marketPrice
:
transPrice
(
it
.
market_price
)
===
transPrice
(
it
.
sales_price
)
?
false
:
(
'¥'
+
transPrice
(
it
.
market_price
))
};
let
firstGoods
=
it
.
goods_list
&&
it
.
goods_list
[
0
];
...
...
Please
register
or
login
to post a comment