@@ -1107,7 +1107,7 @@ public class WebpageController extends BaseController {
// 知产百科
List<News> news = (List<News>) newsService
- .listNews(98, null, null, null, null, null, null, 1, 4, 2 + "", null, "web_tech_service_index",null)
+ .listNews(98, null, null, null, null, null, null, 1, 4, 2 + "", null, null,null)
.getList();
for (News n : news) {
if (null != n.getTitleImg() && n.getTitleImg().contains(",")) {
@@ -185,11 +185,11 @@ public Result apply(InputNews news,BindingResult bindingResult,String[] publishP
private void checkApplyParams(InputNews news, List<String>webPages,List<String>appPages, Result result) {
- if(webPages.size()<1 && appPages.size()<1)
+ /*if(webPages.size()<1 && appPages.size()<1)
{
result.getError().add(buildError(ErrorConstants.PARAM_ERROR,"","发布位置"));
return;
- }
+ }*/
if(news ==null || StringUtils.isBlank(news.getTitle())) {
result.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"","标题"));
@@ -61,9 +61,10 @@
<div class="search-inp">
<div class="input-group">
<input type="text" class="form-control demandSearch" placeholder="输入你感兴趣的内容">
+ <img th:src="${portalHost+'/img/newMenu/search-icon.jpg'}" alt="" class="searchImg">
<span class="input-group-btn">
<button class="btn btn-default searchBtn" type="button">
- <img th:src="${portalHost+'/img/newMenu/search-icon.jpg'}" alt=""> 搜索
+ <a href="/portal/thinkTank/policyList?type=1">在线评估</a>
</button>
</span>
</div>