|
@@ -4,16 +4,20 @@
|
|
<!--中间内容开始-->
|
|
<!--中间内容开始-->
|
|
<div class="er_content">
|
|
<div class="er_content">
|
|
<div class="news_list">
|
|
<div class="news_list">
|
|
- @for(item in model.list){
|
|
|
|
- <a class="news_list_div clearfix" href="${frontPath}/${siteId}/${item.categoryId}/${item.contentId}.html">
|
|
|
|
- <img src="${item.thumb!}" alt="${item.title!}" style="width: 150px !important;"/>
|
|
|
|
- <div class="news_list_text">
|
|
|
|
- <h2>${item.title!}</h2>
|
|
|
|
- <h2>${item.keywords!}</h2>
|
|
|
|
- <span>${item.description!}</span>
|
|
|
|
- <p><i class="date">${item.inputdate,dateFormat="yyyy年MM月dd日"}</i><i class="djl">点击量:${item.viewNum!}</i></p>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
|
|
+ @if(isNotEmpty(model.list)){
|
|
|
|
+ @for(item in model.list){
|
|
|
|
+ <a class="news_list_div clearfix" href="${frontPath}/${siteId}/${item.categoryId}/${item.contentId}.html">
|
|
|
|
+ <img src="${item.thumb!}" alt="${item.title!}" style="width: 150px !important;"/>
|
|
|
|
+ <div class="news_list_text">
|
|
|
|
+ <h2>${item.title!}</h2>
|
|
|
|
+ <h2>${item.keywords!}</h2>
|
|
|
|
+ <span>${item.description!}</span>
|
|
|
|
+ <p><i class="date">${item.inputdate,dateFormat="yyyy年MM月dd日"}</i><i class="djl">点击量:${item.viewNum!}</i></p>
|
|
|
|
+ </div>
|
|
|
|
+ </a>
|
|
|
|
+ @}
|
|
|
|
+ @}else{
|
|
|
|
+ <p style="text-align: center;font-size: 18px;">未查询到相关结果</p>
|
|
@}
|
|
@}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|