= Math.floor((diff-(diffYears*365+diffDays)*days-diffHours*hours)/minutes); var diffSeconds = Math.floor((diff-(diffYears*365+diffDays)*days-diffHours*hours-diffMinutes*minutes)/seconds); document.getElementById('showDays').innerHTML=""+diffYears+"年"+diffDays+"天"+diffHours+"小时"+diffMinutes+"分钟"+diffSeconds+"秒"; }, 1000); ; NexT.utils.getScript('//unpkg.com/valine/dist/Valine.min.js', () => { var GUEST = ['nick', 'mail', 'link']; var guest = 'nick,mail'; guest = guest.split(',').filter(item => { return GUEST.includes(item); }); new Valine({ el: '#comments', verify: true, notify: true, appId: 'TP3Cd0A5Mo39RIFwSq3B7ulU-MdYXbMMI', appKey: 'Vxha2LU2H4mUgiNgAncQoyT0', placeholder: "友善发言, 关爱你我身心健康 (悄悄告诉你,匿名也可以发言哦)", avatar: 'mm', meta: guest, pageSize: '10' || 10, visitor: false, lang: 'zh-cn' || 'zh-cn', path: location.pathname, recordIP: false, serverURLs: '' }); }, window.Valine);