layer.tips定义弹出的宽度

layer.tips('xxx', '.onlinetest', {
    tips: [1, '#3595CC'],
    area: ['500px', 'auto'],
    time: 4000
});
原文地址:https://www.cnblogs.com/henuyuxiang/p/7889038.html