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
郭成尧
2016-06-17 15:27:56 +0800
Commit
f9f843334110fde29f4ca1db682c9e596c9e1d1f
1 parent
49c8d623
'添加小图列表处理'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
utils/product-process.js
utils/product-process.js
View file @
f9f8433
...
...
@@ -60,7 +60,7 @@ exports.processProductList = (list, options) => {
return
;
}
//折扣
//
折扣
product
.
discount
=
(
product
.
salesPrice
/
product
.
marketPrice
*
10
).
toFixed
(
1
);
// 市场价和售价一样,则不显示市场价
...
...
Please
register
or
login
to post a comment