内联表单:
<form class="row g-3" role="form"> <div class="col-md-2"> <label for="threadhold">检测阀值(0-1)</label> <input type="text" class="form-control" value="0" id="threadhold" placeholder="最小值0,最大值1"> </div> <div class="col-md-2"> <label for="filters">报警过滤间隔(秒)</label> <input type="text" class="form-control" value="3" id="filters" placeholder="过滤间隔,单位为秒"> </div> <div class="col-md-2"> <label for="isSkipframe">是否隔帧</label> <select type="text" class="form-control" id="isSkipframe"> <option value="1" >是</option> <option value="0" selected>否</option> </select> </div> <div class="col-md-2"> <label for="skipframe">间隔帧数</label> <input type="text" class="form-control" value="1" id="skipframe" placeholder="请输入间隔帧数"> </div> <div class="col-md-2"> <label for="isHBW">是否启用比例过滤</label> <select type="text" class="form-control" id="isHBW"> <option value="1" >是</option> <option value="0" selected>否</option> </select> </div> <div class="col-md-1"> <label for="hbw_low">高/宽-低</label> <input type="text" class="form-control" value="0" id="hbw_low" placeholder=""> </div> <div class="col-md-1"> <label for="hbw_high">高/宽-高</label> <input type="text" class="form-control" id="hbw_high" value="1.4" placeholder=""> </div> </form>
<div class="input-dyna-add"> <form class="form-inline form-group" role="form"> <div class="form-group"> <label for="source_type">类型</label><select name='source_type' class="form-control" onchange="selectOnchang(this)"> <option value="0">USBCAMERA</option> <option value="1" selected>RTSP</option> </select> </div><div class="form-group"> <label for="stream_url">接入地址</label><input name='stream_url' type="text" class="form-control" placeholder="请输入接入地址"> </div><div class="form-group" style="display:none"> <label for="stream_url">索引编号</label><select name='stream_url' class="form-control"> <option value="0" selected>0</option> <option value="1" >1</option> <option value="2" >2</option> <option value="3" >3</option> </select> </div><div class="form-group"> <label for="remark">备注</label> <input name='remark' type="text" class="form-control" id="" placeholder="备注"> </div><div class="form-group"> <label for="isEnable">是否启用</label><input name='switch' type="checkbox"> </div><div class="form-group"><button class='removeclass btn btn-danger' type='button'><span>删除</span></button></div> </form> </div>
标签:启用,是否,间隔,bootstrap,表单,过滤 From: https://www.cnblogs.com/ljingjing/p/17004986.html