摘要: 1.利用setInterval(function1,time) function1:要执行的函数 time:每隔多久执行一次 这个函数会在time的时间间隔下自动执行,除非程序关闭或者执行clearInterval();方法 2.计算出需要倒计时的时分秒 //userTime 需要倒计时的毫秒数 f 阅读全文
posted @ 2020-11-24 13:36 白色の月光 阅读(774) 评论(0) 推荐(0)
摘要: 1.bootstrap-datetimepicker.min 引入js/css <link rel="stylesheet" th:href="@{/plugin/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css}"/> <scrip 阅读全文
posted @ 2020-11-24 13:16 白色の月光 阅读(484) 评论(0) 推荐(0)