jquery-weui
Version:
46 lines (35 loc) • 1.33 kB
HTML
<html>
<head>
<title>jQuery WeUI</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
">
<link rel="stylesheet" href="../lib/weui.min.css">
<link rel="stylesheet" href="../css/jquery-weui.css">
<link rel="stylesheet" href="css/demos.css">
</head>
<body ontouchstart>
<header class='demos-header'>
<h1 class="demos-title">Picker</h1>
</header>
<div class="weui_cells weui_cells_form">
<div class="weui_cell">
<div class="weui_cell_hd"><label for="time" class="weui_label">时间</label></div>
<div class="weui_cell_bd weui_cell_primary">
<input class="weui_input" id="time" type="text" value="">
</div>
</div>
</div>
<script src="../lib/jquery-2.1.4.js"></script>
<script src="../js/jquery-weui.js"></script>
<script>
$("#time").datetimePicker({
min: "2012-12-12",
max: "2022-12-12 12:12"
});
</script>
</body>
</html>