<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link href="css/mui.min.css" rel="stylesheet" />
<link href="css/mui.picker.all.css" />
<link href="css/mui.picker.min.css"/>
<script src="js/mui.min.js"></script>
<script src="js/mui.picker.all.js"></script>
<script type="text/javascript" src="js/mui.picker.min.js" ></script>
</head>
<body>
<div>
<div onclick="xx()">123123</div>
</div>
<script type="text/javascript">
mui.init({
swipeBack: true //启用右滑关闭功能
});
function xx(){
var dtpicker = new mui.DtPicker({
type: "datetime",//设置日历初始视图模式
beginDate: new Date(2015, 04, 25),
endDate: new Date(2016, 04, 25)
});
dtpicker.show(function(e) {
console.log(e);
})
}
</script>
</body>
</html>
1***@qq.com
- 发布:2017-06-02 20:31
- 更新:2017-11-06 14:58
- 阅读:1189
4***@qq.com
找到了,css引入失败。。。。我少写了个rel属性。。。
2017-11-06 15:33