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
郝肖肖
8 years ago
Commit
6a2781d1ca035d37473474383c2228775d1da097
1 parent
6ca2d0f3
'低档赠品判断-match_gift_ids'
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
apps/cart/models/cart-helper.js
mix/mix/cart/cart-list.hbs
apps/cart/models/cart-helper.js
View file @
6a2781d
...
...
@@ -606,7 +606,10 @@ const formatCart = (cartDataRet, uid, shoppingKey, cartDelList) => {
ensureUrl
:
helpers
.
urlFormat
(
'/cart/ensure'
),
// 免运费提示
tips
:
_
.
get
(
ordCartData
,
'shipping_cost_prompt.shipping_cost_tips'
,
''
)
tips
:
_
.
get
(
ordCartData
,
'shipping_cost_prompt.shipping_cost_tips'
,
''
),
// 低档赠品
matchGiftIds
:
_
.
get
(
ordCartData
,
'match_gift_ids'
,
[]).
join
(
','
)
};
let
advStat
=
result
.
advanceCart
.
stat
;
...
...
mix/mix/cart/cart-list.hbs
View file @
6a2781d
...
...
@@ -195,6 +195,12 @@
{{/if}}
</div>
{{/
soldOutPools
}}
{{#if
matchGiftIds
}}
<div
class=
"gift-sell-info hide"
data-role=
"promotion-wrap"
data-promotionid=
"
{{
matchGiftIds
}}
"
>
<span
data-role=
"gift-resel-btn"
></span>
</div>
{{/if}}
</div>
{{/
ordinaryCart
}}
...
...
Please
register
or
login
to post a comment