layer.tips('可以发html代码哦', '依附在谁旁边', { tips: [1, '#F0F0F0'], time: 10000, area: ['auto', 'auto']//这个属性可以设置宽高 auto 表示自动 });