main
tamguo 7 years ago
parent 90290a5dc1
commit c15ba0458f

@ -20,6 +20,7 @@ public class CourseEntity {
private Integer questionNum; private Integer questionNum;
private Integer pointNum; private Integer pointNum;
private String remarks; private String remarks;
private String icon;
private String seoTitle; private String seoTitle;
private String seoKeywords; private String seoKeywords;
@ -127,5 +128,11 @@ public class CourseEntity {
public void setSeoDescription(String seoDescription) { public void setSeoDescription(String seoDescription) {
this.seoDescription = seoDescription; this.seoDescription = seoDescription;
} }
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
} }

@ -44,9 +44,9 @@
<!--频道导航--> <!--频道导航-->
<div class="mod_box channel_nav"> <div class="mod_box channel_nav">
<div class="gridbox col_4"> <div class="gridbox col_4">
<h2 class="box_col" th:title="${c.name}" th:each="c,cStat:${chapterMenuList}"> <h2 class="box_col" th:title="${c.name}" th:each="c,cStat:${courseList}">
<a th:href="${domainName}" class="inner post_ulog"> <a th:href="${domainName}" class="inner post_ulog">
<div th:class="${c.pinyin}"></div> <div th:class="${c.icon}"></div>
<div class="name" th:text="${c.name}">理科数学</div> <div class="name" th:text="${c.name}">理科数学</div>
</a> </a>
</h2> </h2>

Loading…
Cancel
Save