|
|
@@ -383,6 +383,32 @@
|
|
|
.show{
|
|
|
display: block;
|
|
|
}
|
|
|
+ /*搜索无结果*/
|
|
|
+ .noSearch .img{
|
|
|
+ margin: 50px auto 26px;
|
|
|
+ }
|
|
|
+ .noSearch .img img{
|
|
|
+ width: 80px;
|
|
|
+ height: 80px;
|
|
|
+ }
|
|
|
+ .noSearch .txt{
|
|
|
+ margin: 0 auto;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .noSearch .txt p{
|
|
|
+ margin-bottom: 54px;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #8c8c8c;
|
|
|
+ }
|
|
|
+ .noSearch .txt a{
|
|
|
+ display: inline-block;
|
|
|
+ width: 140px;
|
|
|
+ height: 36px;
|
|
|
+ line-height: 36px;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #ef613b;
|
|
|
+ border: 1px solid #dcdcdc;
|
|
|
+ }
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
@@ -478,6 +504,7 @@
|
|
|
<img src="static/images/index/search.png" alt="" id="searchButton"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div>
|
|
|
<#if page?exists>
|
|
|
<#list page.content as activity>
|
|
|
<div class="list-item clearfix">
|
|
|
@@ -506,9 +533,23 @@
|
|
|
</div>
|
|
|
</#list>
|
|
|
</#if>
|
|
|
+ <#--搜索无结果页面-->
|
|
|
+ <#if page.totalElements==0>
|
|
|
+ <div class="section noSearch">
|
|
|
+ <div class="img">
|
|
|
+ <img src="static/images/noSearch.png" alt=""/>
|
|
|
+ </div>
|
|
|
+ <div class="txt">
|
|
|
+ <p>未找到相关内容..</p>
|
|
|
+ <a href="http://lj.ubtob.com/activeCenter">返回</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </#if>
|
|
|
<#-- 分页按钮-->
|
|
|
- <div id="kkpager"></div>
|
|
|
-
|
|
|
+ <#if (page.totalElements>0)>
|
|
|
+ <div id="kkpager"></div>
|
|
|
+ </#if>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|