layui-js/test/slide.html

31 lines
459 B
HTML
Raw Normal View History

2016-10-14 16:23:52 +08:00
<!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: 20px;}
</style>
</head>
<body>
<p>轮播图</p>
<ul>
<li></li>
</ul>
<script src="../src/layui.js"></script>
<script>
layui.use('slide', function(){
layui.slide();
});
</script>
</body>
</html>