一套开源的 Web UI 组件库。采用自身极简的模块化规范,并遵循原生 HTML/CSS/JS 的开发模式,极易上手,开箱即用。非常适合网页界面的快速构建。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
722 B

8 years ago
8 years ago
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>表单模块 - layui</title>
<link rel="stylesheet" href="../src/css/layui.css">
<style>
body{padding: 50px 100px;}
</style>
</head>
<body>
<ul class="layui-form">
<li class="layui-form-item">
<label class="layui-form-label">日期</label>
<div class="layui-input-inline">
8 years ago
<input required type="text" id="layui-laydate-input" onclick="layui.laydate({elem: this})" class="layui-input">
8 years ago
</div>
</li>
</ul>
<script src="../src/layui.js"></script>
<script>
layui.use('laydate', function(){
var laydate = layui.laydate
});
</script>
</body>
</html>