• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • public
  • hbs
  • product
  • seckill
  • statusClass.js
  • save
    34517994
    by 陈轩
    2016-10-19 10:24:48 +0800  
    Browse Files
statusClass.js 215 Bytes
Raw Blame History Permalink
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 '';
    }
};