Commit 37581b39 by zhanghaozhe

课程

parent 07a8269a
...@@ -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