时间插件
window.LCalendar = (function() { var MobileCalendar = function() { this.gearDate; this.minY = 1900; this.minM = 1; this.minD = 1; this.maxY = 2099; this.maxM = 12; this.maxD = 31; } MobileCalendar.prototype = { init: function(params) { this.type = params.type; this.trigger = document.querySelector(params.trigger); this.fixedDate = params.fixedDate; if (this.trigger.getAttribute("data-lcalendar") != null) { var arr = this.trigger.getAttribute("data-lcalendar").split(','); var minArr = arr[0].split('-'); this.minY = ~~minArr[0]; this.minM = ~~minArr[1]; this.minD = ~~minArr[2]; var maxArr =