我也不知道为什么,但这两个按钮在 ipad safari 上无法点击。
<div class="col-md-6 text-center">
<h3>Title</h3>
<div class="col-xs-12">
<div class="panel panel-default">
<div class="pd20 bg">
<h4 class="title">House</h4>
</div>
<div class="panel-footer text-center">
<button type="button" class="btn btn-warning btn-sm" ng-click="vm.clear()">
<i class="fa fa-edit" aria-hidden="true"></i> Clear</button>
<button type="button" class="btn btn-warning btn-sm" ng-click="vm.submit()">
<i class="fa fa-edit" aria-hidden="true"></i> Submit</button>
</div>
</div>
</div>
</div>
但是如果我像这样修复它,它可以被点击
<div class="col-md-6 text-center">
<h3>Title</h3>
<div class="row">
<div class="col-xs-12">
<div class="panel panel-default">
<div class="pd20 bg">
<h4 class="title">House</h4>
</div>
<div class="panel-footer text-center">
<button type="button" class="btn btn-warning btn-sm" ng-click="vm.clear()">
<i class="fa fa-edit" aria-hidden="true"></i> clear</button>
<button type="button" class="btn btn-warning btn-sm" ng-click="vm.submit()">
<i class="fa fa-edit" aria-hidden="true"></i>Submit</button>
</div>
</div>
</div>
</div>
</div>