From 716d5f30f23be30f12875862ad40405b9a34667d Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Tue, 23 Apr 2024 16:07:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E7=9B=91=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/pages/video/videoAjax.js | 9 +++++---- plugin/toolTip/mTips.css | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/js/pages/video/videoAjax.js b/js/pages/video/videoAjax.js index 9944a0b..89ccd3f 100644 --- a/js/pages/video/videoAjax.js +++ b/js/pages/video/videoAjax.js @@ -15,7 +15,7 @@ function loadVideoTree() { loginout(1); } }, function (xhr, status, error) { - error(xhr, status, error) + errorFn(xhr, status, error) }, aqEnnable); function setData(data) { @@ -23,15 +23,16 @@ function loadVideoTree() { $.each(data, function (index, item) { if (item.id !== '0') { totalNum++; + let titleName = item.title; if(item.title.length>20){ - item.title = item.title.substr(0, 20) + '...'; + titleName = item.title.substr(0, 20) + '...'; } if (item.onLine === '1') { onlineNum++; - item.title = '' + item.title + '' + item.title = '' + titleName + '' } else { offLineNum++; - item.title = '' + item.title + '' + item.title = '' + titleName + '' } } }) diff --git a/plugin/toolTip/mTips.css b/plugin/toolTip/mTips.css index 52853cf..a7bb228 100644 --- a/plugin/toolTip/mTips.css +++ b/plugin/toolTip/mTips.css @@ -4,7 +4,7 @@ color: #fff; border-radius: 5px; font-family: "Alibaba PuHuiTi R"; - z-index: 999; + z-index: 999999999999 !important; display: inline; font-size: 14px; }