Commit 0bdd6f02 by xuzhenghua

pull

parents a2291208 942367dd
...@@ -127,6 +127,11 @@ class MyOrders extends Component { ...@@ -127,6 +127,11 @@ class MyOrders extends Component {
id={item.course_id} id={item.course_id}
toDetail={this.toCourseDetail} toDetail={this.toCourseDetail}
/> />
{
item.course_expire && item.course_expire!='' &&
<span className='course-expire'>{item.course_expire}</span>
}
</div> </div>
) )
}) })
......
...@@ -37,6 +37,21 @@ ...@@ -37,6 +37,21 @@
padding: 10px 12px; padding: 10px 12px;
background-color: $bg_fff; background-color: $bg_fff;
border-bottom: 1px solid $border_e7eaf1; border-bottom: 1px solid $border_e7eaf1;
position: relative;
.course-expire{
display: block;
width:92px;
height:20px;
line-height: 20px;
background:#FF3A3A;
border-radius:0 10px 10px 0;
position: absolute;
color: #FFF;
font-size: 12px;
left: 12px;
bottom: 20px;
text-align: center;
}
} }
.order-info { .order-info {
......
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