mirror of https://github.com/layui/laydate
commit
d75885f420
|
@ -747,8 +747,8 @@ Dates.events = function(){
|
|||
//今天
|
||||
as.otoday = S('#laydate_today');
|
||||
Dates.on(as.otoday, 'click', function(){
|
||||
Dates.elem[as.elemv] = laydate.now(0, Dates.options.format);
|
||||
Dates.close();
|
||||
var now = new Date();
|
||||
Dates.creation([now.getFullYear(), now.getMonth() + 1, now.getDate()]);
|
||||
});
|
||||
|
||||
//确认
|
||||
|
@ -859,4 +859,4 @@ laydate.skin = function(lib){
|
|||
Dates.skinLink.href = Dates.getPath + as[4] + lib + as[5];
|
||||
};
|
||||
|
||||
}(window);
|
||||
}(window);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
**/
|
||||
|
||||
html{_background-image:url(about:blank); _background-attachment:fixed;}
|
||||
.laydate_body .laydate_box, .laydate_body .laydate_box *{margin:0; padding:0;}
|
||||
.laydate_body .laydate_box, .laydate_body .laydate_box *{margin:0; padding:0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box;}
|
||||
.laydate-icon,
|
||||
.laydate-icon-default,
|
||||
.laydate-icon-danlan,
|
||||
|
|
Loading…
Reference in New Issue