AngularJS新闻
来源:互联网 发布:高中生书包 知乎 编辑:程序博客网 时间:2024/06/05 13:26
新闻
<style> table{ border-collapse: collapse; margin-top: 20px; } input{ margin-top: 10px; } th{ border: 1px solid black; padding: 30px; } td{ border: 1px solid black; padding: 30px; } .pi{ border: 1px solid red; background: red; color: white; } .shan{ background: orange; border: 1px solid orange; color: white; } .top{ display: inline-block; width: 0; height: 0; border: 10px solid transparent; border-top: 10px solid red; } .bot{ display: inline-block; width: 0; height: 0; border: 10px solid transparent; border-bottom: 10px solid red; }</style><div style="margin-left: 30px"> <input type="text" placeholder="输入关键字.." ng-model="search"> <button class="pi" ng-click="remov($index)">批量删除</button> <table> <thead> <tr> <th><input type="checkbox" ng-model="chk" ng-click="check(chk)"></th> <th ng-click="paixu('bianhao')" ng-class="getClass('bianhao')">商品编号</th> <th ng-click="paixu('name')" ng-class="getClass('name')">商品名称</th> <th ng-click="paixu('price')" ng-class="getClass('price')">商品价格</th> <th ng-click="paixu('kucun')" ng-class="getClass('kucun')">商品库存</th> <th>数据操作</th> </tr> </thead> <tbody> <tr ng-repeat="item in items|filter:search|orderBy:orderName:order"> <td><input type="checkbox" ng-model="chk" ng-click="check(chk)"></td> <td>{{item.bianhao}}</td> <td>{{item.name}}</td> <td>{{item.price|currency:"¥:"}}</td> <td>{{item.kucun}}</td> <td><button class="shan" ng-click="shanchu($index)">删除</button></td> </tr> </tbody> </table></div>
阅读全文
0 0
- AngularJS新闻
- 新闻
- 新闻
- 新闻
- 新闻
- 新闻
- 新闻
- 新闻
- 新闻
- 新闻
- 新闻
- AngularJS+RestfulAPI+BasicAuth+Python/PHP/Node.JS来实现一个最简单的新闻管理后台
- AngularJS
- angularjs
- Angularjs
- angularJS
- AngularJS
- AngularJS
- 如何为虚拟机附加磁盘
- PM职责
- oracle一列查询结果,用,拼接成一个字符串
- java EE开发之Servlet第三课:过滤器(Filter)
- 基于java的正则表达式
- AngularJS新闻
- Android使用zxing扫描
- 机器学习笔记(八)决策树
- CSS基本用法(二)
- 在土耳其_他是阿里唯一的员工
- Android EditText监听小数点让用户只能输入小数点后两位
- 自练题20170730
- 通过 PowerShell 的方式增加虚拟机终结点
- OpenCV实现SfM(三):三维重建+Bundle Adjustment