

<div class="layui-form" lay-filter="layuiadmin-form" >
    <input type="hidden" name="id">
    <div class="layui-form-item">
        <label class="layui-form-label">通道名称</label>
        <div class="layui-input-inline">
            <input type="text" name="rtsp_name" placeholder="名称唯一" maxlength="100" lay-verify="required" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">rtsp地址</label>
        <div class="layui-input-inline" style="width:400px">
            <textarea name="rtsp_url" placeholder="rtsp://..." maxlength="255" lay-verify="required" class="layui-textarea"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="LAY-front-submit" value="确认" class="layui-btn">
        </div>
    </div>
</div>

<script>
    layui.use(['admin', 'video', 'form'], function () {
        var $ = layui.$
        , form = layui.form;


    })
</script>