From c5f6a7a9fbfda6c641ea32d247d84b23dd2714ca Mon Sep 17 00:00:00 2001 From: zouap Date: Fri, 18 Mar 2022 17:58:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- public/home/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/home/search.js b/public/home/search.js index 9d546f56b..ebebca9f7 100644 --- a/public/home/search.js +++ b/public/home/search.js @@ -729,10 +729,10 @@ function getYPosition(e){ function showTip(tip, type,left,top) { var $tip = $('#tipmsg'); var tipmsg = document.getElementById("tipmsg") - var style="z-index:10024;top:" + top + "px;left:" + left + "px;position:absolute;width:200px;height:30px"; + var style="z-index:10024;top:" + top + "px;left:" + left + "px;position:absolute;width:200px;height:60px;vertical-align:middle;"; console.log(style); tipmsg.style = style; - var html ="

" + tip + "

" + var html ="

" + tip + "

" $tip.stop(true).prop('class', 'alert alert-' + type).html(html).fadeIn(500).delay(2000).fadeOut(500); }