下面我就为大家分享一篇angularjs 表格添加删除修改查询方法,具有很好的参考价值,希望对大家有所帮助。
如下所示:
Title
| Id | 用户名 | 密码 | 年龄 | 性别 | 操作 |
|---|---|---|---|---|---|
| {{$index+1}} | {{item.name}} | {{item.password}} | {{item.age}} | {{item.sex}} |
用户名:
密 码:
年 龄:
性 别:
用户名:
旧密码:
新密码:
确认密码:
css
*{
margin: 0;
padding: 0;
}
.inner{
margin: 20px auto;
text-align: center;
}
table{
margin: 10px auto;
text-align: center;
}
tr{
border-collapse: collapse;
}
tr th,td{
border:1px solid #000000;
width: 60px;
}
.conner{
width: 600px;
height: 300px;
background: #ffe7e0;
margin: 0 auto;
}
.add{
margin: 10px auto;
padding-top: 20px;
width: 260px;
height: 120px;
border: 2px solid #e42112;
}
.update{
width: 280px;
height: 120px;
border: 2px solid #e42112;
text-align: center;
margin: 10px auto;
padding-top: 20px;
}上面是我整理给大家的,希望今后会对大家有帮助。
相关文章:










