Commit 3a48689b by zhangleyuan

feat:处理首页的缺省图

parent 51c6c754
......@@ -427,8 +427,8 @@ class Home extends React.Component {
<Choose>
<When condition={_.isEmpty(list)}>
<div className='study-empty'>
<img src='https://image.xiaomaiketang.com/xm/52dmait5Bx.png' alt='' />
<div>暂无课程上榜</div>
<img src='https://image.xiaomaiketang.com/xm/fFnpKMJD6x.png' alt='' />
<div className="text">暂无学员上榜</div>
</div>
</When>
<Otherwise>
......
......@@ -238,13 +238,13 @@
margin-top: 102px;
img {
display: block;
width: 100px;
height: 100px;
width: 150px;
height: 150px;
margin: 0 auto 8px;
}
div {
text-align: center;
color: #333;
color: #999;
}
}
.circle-box {
......
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