File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22< div class ="row " ng-controller ="jobListCtrl ">
33 < div class ="col-md-offset-1 col-md-10 ">
44 < h3 > 加入我们</ h3 > < hr />
5+ < div class ="row ">
6+ < div class ="col-md-3 ">
7+ < input class ="form-control " placeholder ="过滤:输入关键词试试...... " ng-model ="searchText " />
8+ </ div >
9+ </ div > < br />
510 < table class ="table table-bordered table-hover text-center ">
611 < tr >
712 < td > 职位名称</ td > < td > 职位性质</ td > < td > 工作地点</ td > < td > 发布日期</ td >
813 </ tr >
9- < tr ng-repeat ="job in jobs ">
10- < td class ="job "> < a href ="#/joinUs/{{job.id}} "> {{job.name}}</ a > </ td > < td > {{job.type}}</ td > < td > {{job.location}}</ td > < td > {{publishDate}}</ td >
14+ < tr ng-repeat ="job in jobs | filter:searchText ">
15+ < td class ="job "> < a href ="#/joinUs/{{job.id}} "> {{job.name}}</ a > </ td >
16+ < td > {{job.type}}</ td >
17+ < td > {{job.location}}</ td >
18+ < td > {{publishDate}}</ td >
1119 </ tr >
1220 </ table >
1321 </ div >
You can’t perform that action at this time.
0 commit comments