<span href="#" class="seeTip" style="color: blue;cursor: pointer;">提示提示</span>
var tips;
$('.seeTip').on({
mouseenter:function(){
var that = this;
tips = layer.tips("<span style='color:#000;'>我是提示tips"
+ "</span>",that,
{tips:[1,'#B1CDE3'],time:0,area: 'auto',offset: 'auto',maxWidth:500});
},mouseleave:function(){layer.close(tips);}
});