setSms.html 2 KB
<div class="inmodal">
    <div class="modal-header">
        <h4 class="modal-title">碰撞短信提醒设置</h4>
    </div>
    <div class="modal-body">
    	<form role="form" class="form-horizontal form-fixed form-fixed-6" novalidate name="smsSetForm" method="post" enctype="multipart/form-data">
	    	<div class="form-group">
	            <label class="control-label required">短信接收号码:</label>
	            <div class="control-content col-lg-4">
	                <input class="form-control" ng-model="collisionPhone" maxlength="11" 
	                ng-pattern="/^[0-9]{11}$/" name="collisionPhone" 
	                style="width: 280px;height: 38px"/>
	                <div class="m-t-xs" ng-show="smsSetForm.$invalid && smsSetForm.submitted">
                    	<small class="text-danger">请输入11数字</small>
                	</div>
	            </div>
	    	</div>
			<div class="form-group">
				<label class="control-label required">短信提醒开关:</label>
	        	<label class="checkbox-inline p-l-none">
	            	<input icheck name="radio" type="radio" ng-model="cnotifySwitch" ng-value=1> 开启
	            </label>
	            <label class="checkbox-inline p-l-none">
	            	<input icheck name="radio" type="radio" ng-model="cnotifySwitch" ng-value=2> 关闭
	             </label>
	         </div>
	         
	         <div class="form-group">
				<p style="margin-left:132px;padding-right:5px;">当车主发送碰撞事故时,都会往您所填的手机号推送一条碰撞预警的短信。</p>
				<p style="margin-left:132px;padding-right:15px;">如:您的客户XXX在广东省深圳市南山区粤海街道科苑北路发生了事故,客户手机号为:13888888888,请及时联系客户确定实情。</p>
	         </div>
         </form>
    </div>

    <div class="modal-footer">
    	<button type="submit" class="btn btn-primary" ng-click="ok()">提交</button>
        <button type="button" class="btn btn-white" ng-click="cancel()">取消</button>
    </div>

</div>