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
htoooth
8 years ago
Commit
3ae143f6ceb2282e70c0d48e3ce2a644f1399c5d
1 parent
758aec0a
fix css
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/product/models/detail-service.js
apps/product/views/partial/product/num.hbs
apps/product/models/detail-service.js
View file @
3ae143f
...
...
@@ -207,7 +207,7 @@ const _getBundleAsync = (result) => {
count
:
_
.
get
(
result
,
'data.bundleInfo.bundleCount'
,
1
),
phrase
:
_
.
get
(
result
,
'data.bundleInfo.promotionPhrase'
,
''
),
type
:
_
.
get
(
result
,
'data.bundleInfo.discountType'
,
1
),
discount
:
_
.
get
(
result
,
'data.bundleInfo.discount'
,
''
)
discount
:
_
.
get
(
result
,
'data.bundleInfo.discount'
,
null
)
};
};
...
...
apps/product/views/partial/product/num.hbs
View file @
3ae143f
...
...
@@ -9,7 +9,7 @@
</span>
<span
class=
"bundle
{{#
if_cond
bundle
.
type
"!="
2
}}
hide
{{/
if_cond
}}
"
>
{{
bundle
.
count
}}
件起购享
{{
bundle
.
discount
}}
折优惠
{{
bundle
.
count
}}
件起购享
{{
#
unless
bundle
.
discount
}}{{
bundle
.
discount
}}
折优惠
{{/
unless
}}
</span>
...
...
Please
register
or
login
to post a comment