Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
2015-12-18 18:27:33 +0800
Commit
1794aef33284c3ad48fa618d97e798840d269bae
1 parent
7f0b2b9e
修复购物车列表页底部活动参与不显示的问题
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
template/m.yohobuy.com/partials/cart/cart-content.phtml
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
template/m.yohobuy.com/partials/cart/cart-content.phtml
View file @
1794aef
...
...
@@ -33,14 +33,16 @@
{{/if}}
</ul>
{{/if}}
{{# promotionInfo}}
<div class="activity">
<h1>
以
参与活动</h1>
<h1>
已
参与活动</h1>
<ul>
{{# promotionInfo}}
<li>{{name}}</li>
{{/ promotionInfo}}
</ul>
</div>
{{/ promotionInfo}}
<div class="price-compute">
<p>
<span>总价(¥{{price}})<i>-</i></span>
...
...
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
1794aef
...
...
@@ -789,8 +789,6 @@ class CartModel
$result
[
'promotionInfo'
][]
=
$info
;
}
$result
[
'promotionFormula'
]
=
$data
[
'shopping_cart_data'
][
'promotion_formula'
];
}
// 结算数据
...
...
Please
register
or
login
to post a comment