• 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
  • service
  • chat
  • style.js
  • save
    5f0c1f44
    by 陈轩
    2016-12-08 17:44:04 +0800  
    Browse Files
style.js 257 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
module.exports = function(data) {
    var style = '';

    switch (data) {
        case 'customer': style = 'send-msg'; break;
        case 'employee':
        case 'rebot':
            style= 'recevied-msg';
            break;
    }

    return style; 
};