Angularjs 学习笔记总结之二
发布时间:2020-12-17 09:46:36 所属栏目:安全 来源:网络整理
导读:label class= "setting-label" 通过准则 span style= " color : red ; font-size : 18 px" */ span / label 在通过准则后面加星号,通常可用于注册等页面的必填项。 table class= "table table-simple table-striped" thead tr th st-sort= "date" 日期/ th
<label class="setting-label">通过准则<span style="color:red;font-size:18px">*</span></label> 在通过准则后面加星号,通常可用于注册等页面的必填项。 <table class="table table-simple table-striped"> <thead> <tr> <th st-sort="date">日期</th> <th st-sort="data">数据是否补充完成</th> <th st-sort="operation">操作</th> </tr> </thead> <tbody> <tr ng-repeat="item in displayed"> <td><a class="date" ng-click="getdate(item.date)">{{ item.date }}</a> </td> <td>{{ item.status }}</td> <td><a class="btn btn-sm btn-success" ng-click="add_data(item.date)">补充数据</a></td> </tr> </tbody> </table>上面的代码是创建表格的表头及表格,并为补充数据按钮添加函数。
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |