代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>商品管理系统</title>
<script src="js/ionic.bundle.js"></script>
<style>
table tr{
border: 1px solid;
}
body{
width: 800px;
margin: 0 auto;
}
table tr:nth-child(2n){
background-color: #CCCCCA;
}
</style>
<script>
angular.module("myapp",[])
.controller("demoC",function($scope){
$scope.title="state";
$scope.desc=false;
//数组
$scope.goods=[];
for(var i=1;i<5;i++){
var g={
"checked":false, //复选是否被选中
&#