@@ -147,7 +147,7 @@
}
.other-answer-carousel {
- padding: 50px 0;
+ padding: 30px 0;
.teach-item {
@@ -25,9 +25,9 @@ export default class extends Page {
init() {
this.courseVsMap = {};
this.faqMap = {};
- this.faqs = [];
+ this.faqs = null;
this.commentMap = {};
- this.comments = [];
+ this.comments = null;
this.promote = [];
this.teacherMap = {};
Main.getPromote().then(result => {
@@ -289,7 +289,7 @@ export default class extends Page {
<div className="tab-layout">
<AnswerCarousel
hideBtn
- list={faqs}
+ list={faqs || []}
onFaq={() => this.setState({ showFaq: true, faq: { channel: 'course-vs', position: data.id } })}
/>
</div>
@@ -21,6 +21,8 @@ public class CourseListDto {
private String videoType;
+ private String comment;
+
private String extend;
private String title;
@@ -298,4 +300,12 @@ public class CourseListDto {
public void setTime(Integer time) {
this.time = time;
+ public String getComment() {
+ return comment;
+ }
+ public void setComment(String comment) {
+ this.comment = comment;