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
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
8 years ago
Commit
e1903e00245c40e875eb36ba5613cd843ae0eca9
1 parent
2bbb2200
第一次商品详情页添加商品,购物车数字未显示问题修复
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
public/hbs/product/detail/infodata.hbs
public/hbs/product/detail/infodata.hbs
View file @
e1903e0
...
...
@@ -72,7 +72,7 @@
{{#
unless
@root
.
wap
.
common
.
removeCartCount
}}
<input
type=
"hidden"
id=
"remove-cart-count"
value=
"1"
>
{{/
unless
}}
<a
href=
"
{{
cartUrl
}}
"
class=
"num-incart iconfont"
>
{{#if
@root
.
cartCount
}}
<span
class=
"num-tag"
>
{{
@root
.
cartCount
}}
</span>
{{/if}}

</a>
<a
href=
"
{{
cartUrl
}}
"
class=
"num-incart iconfont"
>
<span
class=
"num-tag
{{#
unless
@root
.
cartCount
}}
hide
{{/
unless
}}
"
>
{{
@root
.
cartCount
}}
</span>

</a>
{{#if
addToCartUrl
}}
<a
id=
"addtoCart"
href=
"javascript:;"
class=
"addto-cart add-to-cart-url"
>
{{#if
tickets
}}
立即购买
{{else}}
加入购物车
{{/if}}
</a>
{{/if}}
...
...
Please
register
or
login
to post a comment