Commit bc7278d4 by FE

Merge branch '00' of gitlab.julyedu.com:baiguangyao/mr-julyedu into 00

parents 3e967ca8 37581b39
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
display: block; display: block;
width: 100%; width: 100%;
background: url($bg) no-repeat; background: url($bg) no-repeat;
background-size: contain; background-size: 100% auto;
} }
&::before { &::before {
...@@ -56,11 +56,12 @@ ...@@ -56,11 +56,12 @@
&::after { &::after {
@include common-deco('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-footer.png'); @include common-deco('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-footer.png');
height: 85px; height: 85px;
margin-top: -1px;
} }
.bg { .bg {
@extend .trans-height; @extend .trans-height;
width: 99.75%; width: 100%;
height: 115px; height: 115px;
margin-top: -1px; margin-top: -1px;
overflow: hidden; overflow: hidden;
......
...@@ -482,7 +482,7 @@ class YearCourse extends Component { ...@@ -482,7 +482,7 @@ class YearCourse extends Component {
{ {
(bigcourse.courseList && bigcourse.courseList.length > 4) && (bigcourse.courseList && bigcourse.courseList.length > 4) &&
<button className="more-button" onClick={() => this.handleToMore('bigcourse')}> <button className="more-button" onClick={() => this.handleToMore('bigcourse')}>
{group.isMore ? '查看更多' : '收起'} {bigcourse.isMore ? '查看更多' : '收起'}
</button> </button>
} }
</> </>
...@@ -520,7 +520,7 @@ class YearCourse extends Component { ...@@ -520,7 +520,7 @@ class YearCourse extends Component {
{ {
(freecourse.courseList && freecourse.courseList.length > 4) && (freecourse.courseList && freecourse.courseList.length > 4) &&
<button className="more-button" onClick={() => this.handleToMore('freecourse')}> <button className="more-button" onClick={() => this.handleToMore('freecourse')}>
{group.isMore ? '查看更多' : '收起'} {freecourse.isMore ? '查看更多' : '收起'}
</button> </button>
} }
</> </>
...@@ -591,7 +591,7 @@ class YearCourse extends Component { ...@@ -591,7 +591,7 @@ class YearCourse extends Component {
{ {
(groupcourse.courseList && groupcourse.courseList.length > 4) && (groupcourse.courseList && groupcourse.courseList.length > 4) &&
<button className="more-button" onClick={() => this.handleToMore('groupcourse')}> <button className="more-button" onClick={() => this.handleToMore('groupcourse')}>
{group.isMore ? '查看更多' : '收起'} {groupcourse.isMore ? '查看更多' : '收起'}
</button> </button>
} }
</> </>
......
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