Commit 4ca89907 by zhanghaozhe

已购买课程不显示优惠信息

parent a5e7bba4
......@@ -172,6 +172,7 @@ class Classify extends Component {
</div>
)
const status = (
!item.is_buy &&
<div>
{item.bargain_num === 0 && item.groupon_num !== 0 &&
<p className='course-status'>拼团减{item.groupon_num}</p>
......
......@@ -135,6 +135,7 @@ class Preferential extends Component {
</div>
)
const status = (
!item.is_buy &&
<div>
{this.state.courseStatus === 1 &&
<p className='course-status'>砍价减{item.bargain_price}</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment