Commit 9af87de7 by wangshuo

特惠页 分类页返现标签;弹幕优先级调整

parent 4300408b
...@@ -158,6 +158,9 @@ class Classify extends Component { ...@@ -158,6 +158,9 @@ class Classify extends Component {
{item.bargain_num !== 0 && item.groupon_num === 0 && {item.bargain_num !== 0 && item.groupon_num === 0 &&
<p className='course-status'>砍价减{item.bargain_num}</p> <p className='course-status'>砍价减{item.bargain_num}</p>
} }
{
item.is_aist && <span className='return_cash'></span>
}
</div> </div>
) )
return ( return (
......
...@@ -22,6 +22,15 @@ ...@@ -22,6 +22,15 @@
background-color: rgba(224, 46, 36, 0.6); background-color: rgba(224, 46, 36, 0.6);
} }
.return_cash {
position: absolute;
width: 31px;
height: 18px;
top: 0;
right: 0;
background: url("./image/return.icon.png") no-repeat;
background-size: 100% 100%;
}
} }
} }
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
color: $white; color: $white;
border-radius: 3px; border-radius: 3px;
padding: 6px 9px; padding: 6px 9px;
z-index:99;
img { img {
width: 18px; width: 18px;
height: 18px; height: 18px;
......
...@@ -128,6 +128,9 @@ class Preferential extends Component { ...@@ -128,6 +128,9 @@ class Preferential extends Component {
{this.state.courseStatus === 2 && {this.state.courseStatus === 2 &&
<p className='course-status'>拼团减{item.price}</p> <p className='course-status'>拼团减{item.price}</p>
} }
{
item.is_aist && <span className='return_cash'></span>
}
</div> </div>
) )
return ( return (
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
.course-status { .course-status {
background-color: rgba(224, 46, 36, 0.6); background-color: rgba(224, 46, 36, 0.6);
} }
.return_cash {
position: absolute;
width: 31px;
height: 18px;
top: 0;
right: 0;
background: url("./image/return.icon.png") no-repeat;
background-size: 100% 100%;
}
} }
} }
......
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