Commit a4c00237 by zhanghaozhe

已购课程

parent 05c71f51
......@@ -56,15 +56,23 @@ class Purchased extends Component {
</Link>
</p>
<p className='contact text-overflow-2'>{item.simpledescription}</p>
<div className='des'>
QQ群:{item.course_qq}
</div>
{
item.is_aist
? <div className='des'>助教微信:{item.assist_weixin}</div>
: <div className='des'>QQ群:{item.course_qq}</div>
}
</div>
)
const status = (
item.is_aist && <span className='status'>返现</span>
)
return (
<VList key={index} img={item.image_name}
<VList key={index}
img={item.image_name}
id={item.course_id}
info={Info}></VList>
info={Info}
status={status}
/>
)
})
}
......
......@@ -4,7 +4,6 @@
background-color: $bg_f5f5f5;
.tip {
width: 100%;
height: 30px;
......@@ -15,6 +14,7 @@
background-color: $bg_FFF4CE;
margin-bottom: 10px;
}
.purchased-body {
background-color: $bg_fff;
}
......@@ -60,7 +60,7 @@
.des {
position: absolute;
bottom: 5px;
color: $red;
color: $active;
font-size: 14px;
height: 14px;
line-height: 14px;
......@@ -96,4 +96,16 @@
line-height: 28px;
}
}
.status {
position: absolute;
top: 0;
right: 0;
padding: 2px 6px;
border-radius: 11px 0 0 11px;
font-size: 14px;
color: #fff;
background: linear-gradient(to bottom, #FF4000, #FD7700);
}
}
\ No newline at end of file
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