if ($body.hasClass('inverse') || $body.hasClass('color_bg') || $body.hasClass('gradient_bg')) {
initDaysLeft(itemImg, {
width: width / 2,
height: height / 2,
duration: 1000,
time: 0,
numberColor: 'rgba(0,0,0,1)',
numberFont: '30px Abel',
textColor: 'rgba(0,0,0,0.2)',
textFont: ' ',
data: "",
text: ' ',
lineColor: 'rgba(0, 0, 0, 0.5)'
});
} else {
initDaysLeft(itemImg, {
width: width / 2,
height: height / 2,
duration: 1000,
time: 0,
numberColor: 'rgba(255,255,255,1)',
numberFont: '30px Abel',
textColor: 'rgba(255,255,255,0.2)',
textFont: ' ',
data: "",
text: ' ',
lineColor: 'rgba(255, 255, 255, 0.5)'
});正计时修改functions.js
倒计时内容修改