<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>表单元素</title>
<link rel="stylesheet" href="resources/layui/css/layui.css">
</head>
<body style="padding: 20px">
<button type="button" class="layui-btn" id="btn1">layer.open.type=0</button>
<button type="button" class="layui-btn" id="btn2">layer.open.type=1</button>
<button type="button" class="layui-btn" id="btn3">layer.open.type=2</button>
<div id="mydiv" style="display: none;padding: 10px">
<form class="layui-form " action="" lay-filter="dataFrm">
<div class="layui-form-item">
<label class="layui-form-label">用户名:</label>
<div class="layui-input-block">
<input type="text" name="username" lay-verify="username" autocomplete="off" placeholder="用户名"
class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">用户密码:</label>
<div class="layui-input-block">
<input type="password" name="pwd" lay-verify="pass" autocomplete="off"
placeholder="用户名密码" class="layui-input">
</div>
</div>
<div class="layui-form-item"&
layer.open.type详解
最新推荐文章于 2023-08-01 16:58:29 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)