layui table table shows the mouse over the column display tips

Mouse over the Action column

// 鼠标滑过操作列
// var tip_index = 0;
$(document).on('mouseenter', '#proStatus', function(){
    tip_index = layer.tips('项目情况', '#proStatus', {time: 0});
}).on('mouseleave', '#proStatus', function(){
    layer.close(tip_index);
});

Guess you like

Origin blog.csdn.net/a5252145/article/details/95202442