1. 很简单啦啦啦
function alertBox(alertBox_text) {
var alertBox = $(<div class="alertBOX" style="text-overflow:ellipsis;overflow:hidden;white-space:nowrap; 3rem;height: 0.6rem;line-height:0.6rem;text-align:center;top:38%;left:18%;background:rgba(0,0,0,0.5);color:rgb(255,255,255);font-size: 12px;position: absolute;z-index: 99">${alertBox_text}</div>
)
$(alertBox).appendTo($('.contentRightItem'));
setTimeout(function () {
$('.alertBOX').remove();
},1500)
}