<div id="setting-certify-modal" class="modal">
  <ion-header-bar>
  	<div class="button" ng-click="cancleSelect();">取消</div>
    <h1 class="title">{{brModal.title}}</h1>
    <div class="button" ng-click="selectOk();">完成</div>
  </ion-header-bar>

  <ion-content scroll="false">
  	<div id="search-bar" style="clear:both;">
	    <div class="item item-input-inset" style="width:80%;border-right:0px;border:0px;float:left;">
	      <label class="item-input-wrapper" id="search-input">
	        <i class="icon ion-search placeholder-icon"></i>
	        <input style="width:80%;" type="text" placeholder="{{brModal.placeholder}}" ng-model="query.queryStr" ></input>
	        <i style="display:none;" ng-class="{'showSearchDelete':(queryStr&&queryStr!='')}" class="icon ion-search placeholder-icon"></i>
	      </label>
	    </div>
	    <div ng-click="remoteSearch();" style="border:0px;">
	    	<div style="border:0px;" class="button button-outline">搜索</div>
	    </div>
	  </div>
	<ion-scroll style="height: 86%;clear:both;">
  	<div class="select-items">
  		<div class="select-item" ng-click="selectedItem(item);" ng-class="{'item-selected':(item.selected)}" ng-repeat="item in brModal.selectItems">
  			<div class="left">
  				{{item.text}}
  			</div>
  			<div ng-if="item.selected" class="right">
  				<i class="icon ion-checkmark-round"></i>
  			</div>
  		</div>
  	</div>
  	</ion-scroll>
  	<style>
  		#setting-certify-modal .showSearchDelete{
  			display: block;
  		}
  		#setting-certify-modal{ }
  		#setting-certify-modal .select-items{ }
  		#setting-certify-modal .select-item{
  			width: 100%;
  			display: block;
  			height: 3em;
  			line-height: 3em;
  			border-bottom: 1px solid #999;
  			clear: both;
  		}
  		#setting-certify-modal .left{
  			padding-left: 2em;
  			display: inline-block;
  			float: left;
  		}
  		#setting-certify-modal .right{
  			display: inline-block;
  			float:right;
  			padding-right: 3em;
  		}
  		#setting-certify-modal .item-selected{
  			background-color: #F5F5F5;
  		}
  		#setting-certify-modal .ion-checkmark-round:before{
  			color: green;
  			font-size: 2em;
  		}
  	</style>
  </ion-content>
</div>