js页面--年份自动增长

<script>if (new Date().getFullYear() > 2017) {
    document.write("-" + new Date().getFullYear());
}</script>
// 大于2017年自动加上 - 年份  
相关文章
相关标签/搜索