|
|
@@ -138,12 +138,12 @@
|
|
|
<h4 class="text-center">最新公告</h4>
|
|
|
</div>
|
|
|
<div class="search">
|
|
|
- <input type="text" placeholder="输入供应商名称" class=""/>
|
|
|
+ <input type="text" placeholder="输入供应商名称" class="" ng-model="keyword"/>
|
|
|
<a class="btn"><i class="fa fa-search"></i></a>
|
|
|
</div>
|
|
|
<div class="content">
|
|
|
<ul class="list-unstyled">
|
|
|
- <li ng-repeat="notice in notices">
|
|
|
+ <li ng-repeat="notice in notices| filter: keyword">
|
|
|
<a href="public#/notice/{{notice.id}}">
|
|
|
<em>公告名称</em><img src="resources/img/home/new.png"><span class="pull-right text-muted" ng-bind="::notice.date | date:'yyyy-MM-dd HH:mm'"></span> <br>
|
|
|
<p ng-bind="::notice.title"></p>
|