Blame view

public/hbs/product/seckill/statusClass.js 215 Bytes
陈轩 authored
1 2 3 4 5 6 7 8 9 10 11
module.exports = function(nav) {
    if (nav.over) {
        return 'over';
    } else if (nav.now) {
        return 'now';
    } else if (nav.wait) {
        return 'wait';
    } else {
        return '';
    }
};