xiaoxia 8 years ago
parent
commit
3f9f7239e7
  1. 1
      designer/src/com/fr/design/mainframe/alphafine/searchManager/ConcludeSearchManager.java
  2. 7
      designer/src/com/fr/design/mainframe/alphafine/searchManager/LatestSearchManager.java

1
designer/src/com/fr/design/mainframe/alphafine/searchManager/ConcludeSearchManager.java

@ -18,6 +18,7 @@ public class ConcludeSearchManager implements AlphaFineSearchProcessor {
} }
@Override @Override
public synchronized SearchResult showLessSearchResult(String searchText) { public synchronized SearchResult showLessSearchResult(String searchText) {
//todo: 猜您喜欢逻辑需要重新设计
this.modelList = new SearchResult(); this.modelList = new SearchResult();
modelList.add(new MoreModel("猜您需要", false)); modelList.add(new MoreModel("猜您需要", false));
return modelList; return modelList;

7
designer/src/com/fr/design/mainframe/alphafine/searchManager/LatestSearchManager.java

@ -21,9 +21,10 @@ public class LatestSearchManager implements AlphaFineSearchProcessor {
public synchronized SearchResult showLessSearchResult(String searchText) { public synchronized SearchResult showLessSearchResult(String searchText) {
this.modelList = new SearchResult(); this.modelList = new SearchResult();
modelList.add(new MoreModel("本地常用", false)); modelList.add(new MoreModel("本地常用", false));
if (getLatestModelList() != null && getLatestModelList().size() > 0) { //todo: 常用逻辑需要重新设计
modelList.addAll(getLatestModelList()); // if (getLatestModelList() != null && getLatestModelList().size() > 0) {
} // modelList.addAll(getLatestModelList());
// }
return modelList; return modelList;
} }

Loading…
Cancel
Save