一、使用方法
<script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/jquery.syotimer.js"></script>二、Html结构<div id="simple_timer" class="timer"><div class="timer-head-block"></div><div class="timer-body-block"><div class="table-cell day"><div class="tab-val">1</div><div class="tab-metr">day</div></div><div class="table-cell hour"><div class="tab-val">1</div><div class="tab-metr">hour</div></div><div class="table-cell minute"><div class="tab-val">1</div><div class="tab-metr">minute</div></div><div class="table-cell second"><div class="tab-val">1</div><div class="tab-metr">second</div></div></div><div class="timer-foot-block"></div></div>三、CSS样式.timer{ text-align: center;margin: 30px auto 0;padding: 0 0 10px; border-bottom: 2px solid #80a3ca;}.timer.table-cell{ display: inline-block;Margin : 0 5px;Width : 79px;background: url(./images/timer.png) no-repeat 0 0;}.timer .table-cell .tab-val{ font-size: 35px;color: #80a3ca;height: 81px;line-height: 81px; margin: 0 0 5px;}.timer .table-cell .tab-metr{ font-family: Arial;font-size: 12px;text-transform: uppercase;} #simple_timer.timer .table-cell.day, #periodic_timer_days.timer .table-cell.hour{ width: 120px;background-image: url(./images/timer_long.png);} 四、初始化插件$('#simple_timer').syotimer({ year: 2020,month: 5,day: 9,hour: 20,minute: 30,}); KeyMob移动端广告平台应用开发者与广告主首先手机广告优化平台,是国内专注于应用开发展在与广告主发展的优化平台,致力于为应用开发者和广告主大大提高填充率。从而收入也收入更高。