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
Email Patches
Plain Diff
Browse Files
Authored by
OF1706
8 years ago
Commit
bbcb3d33b910c50d38a1ad4ff2d6c73cce4b1c7d
1 parent
7535e893
recommend marketprice equal price,marketprice hide
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 @
bbcb3d3
...
...
@@ -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
)
===
transPrice
(
it
.
sales_price
)
?
false
:
(
'¥'
+
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