select标签的对于大家来说很熟悉了,下面我来讲讲AngularJS中 对select的属性设置,做出选择某个下拉选项后控制其他标签的隐藏;
自动发放
<div class="form-group" ng-if="state != 2">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-1">优惠券
<div class="col-sm-9">
<select style="height:31px; width:100px" id="reward"
name="reward" class="status_select">
<option ng-repeat='item in couponList' ng-value="item.id"
ng-selected="couponInfoid == item.couponName">{{item.couponName}}
总数:{{item.countLimit}}