

<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" style="width:400px">
            <input type="text" name="user" placeholder="请输入" maxlength="30" lay-verify="required" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">密码</label>
        <div class="layui-input-inline" style="width:400px">
            <input type="password" name="pwd" value="" maxlength="30" lay-verify="required" autocomplete="off" class="layui-input"/>
        </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', 'auth', 'form'], function () {
        var $ = layui.$
        , form = layui.form;


    })
</script>