Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Plain Diff
Browse Files
Authored by
郭成尧
2017-02-22 11:06:47 +0800
Commit
313a8f462d33b1b5862c03aa7ad2cbc85a390a91
2 parents
21084a60
0fe807af
Merge branch 'feature/cart' of git.yoho.cn:fe/yohobuywap-node into feature/cart
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
utils/cart-process.js
utils/cart-process.js
View file @
313a8f4
...
...
@@ -18,7 +18,7 @@ const formatPromotionTitle = (promo) => {
if
(
promo
.
status
===
0
)
{
if
(
promo
.
condition_unit
===
1
)
{
title
=
`差
$
{
transPrice
(
Math
.
abs
(
promo
.
condition_value
)
)}
件立享`
;
title
=
`差
$
{
Math
.
abs
(
promo
.
condition_value
)}
件立享`
;
}
else
if
(
promo
.
condition_unit
===
2
)
{
title
=
`差¥
$
{
transPrice
(
Math
.
abs
(
promo
.
condition_value
))}
立享`
;
}
...
...
Please
register
or
login
to post a comment