上图:
1.下载
https://download.csdn.net/download/ktucms/90436225
2.调用,解压后,放到根目录就行了。
js
js methds:
et_rlbox_clear:function () {var that=this;that.pdata.datestr_start="";that.pdata.datestr_end="";},et_chooseDate: function () {var that = this;that.rlbox.show = true;},et_rlbox_hide: function () {var that = this;that.rlbox.show = false;},et_ets_rlbox: function (et) {var that = this;switch (et.action) {case 'confirm':that.pdata.datestr_start = et.range.before;that.pdata.datestr_end = et.range.after;that.$nextTick(function () {that.rlbox.show = false;})that.$forceUpdate();break;case 'close':that.rlbox.show = false;that.$forceUpdate();break;}},
html代码: