路由第一个页面

来源:互联网 发布:win32编程入门 编辑:程序博客网 时间:2024/05/21 11:26
<input type="text" ng-model="search" ><button ng-click="deleteall()">全部删除</button><table class="tb1">    <thead>        <th><input type="checkbox" ng-click="checkAll()"></th>        <th ng-click="sortFun('bianhao')">商品编号</th>        <th ng-click="sortFun('name')">商品名称</th>        <th ng-click="sortFun('price')">商品价格</th>        <th ng-click="sortFun('num')">商品库存</th>        <th >商品操作</th>    </thead>    <tbody>        <tr ng-repeat="item in date|filter:search|orderBy:sort:servece">            <td><input type="checkbox" ng-checked="ischeck"></td>            <td>{{item.bianhao}}</td>            <td>{{item.name}}</td>            <td>{{item.price|currency:'¥'}}</td>            <td>{{item.num}}</td>            <td ng-click="delete($index)"><button>删除</button></td>        </tr>    </tbody></table>
原创粉丝点击